Skip to content

Commit

Permalink
#39 the culprit was burp proxy check
Browse files Browse the repository at this point in the history
  • Loading branch information
gingeleski committed Mar 21, 2019
1 parent ff38202 commit db6e1c8
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 14 deletions.
20 changes: 10 additions & 10 deletions conspiracy.py
Original file line number Diff line number Diff line change
Expand Up @@ -176,18 +176,18 @@ def main():
# TODO bunch of code left out here to parse stuff
# If we have a hitlist then...
if len(hitlist) > 0:
###logger.info('Checking if Burp Suite proxy ' + BURP_SUITE_PROXY + ' is running...')
logger.info('Checking if Burp Suite proxy ' + BURP_SUITE_PROXY + ' is running...')
###burp_proxy_is_up = check_if_proxy_up(BURP_SUITE_PROXY)
###if burp_proxy_is_up:
### logger.info('Burp Suite proxy appears to be running, will use this for headless Chrome')
###else: # Burp Suite proxy is down
### logger.warning('Found Burp Suite proxy @ ' + BURP_SUITE_PROXY + ' to be down')
### logger.warning('Will not use proxy for headless Chrome')
###logger.info('Starting asynchronous processing of hitlist now...')
burp_proxy_is_up = False
if burp_proxy_is_up:
logger.info('Burp Suite proxy appears to be running, will use this for headless Chrome')
else: # Burp Suite proxy is down
logger.warning('Found Burp Suite proxy @ ' + BURP_SUITE_PROXY + ' to be down')
logger.warning('Will not use proxy for headless Chrome')
logger.info('Starting asynchronous processing of hitlist now...')
loop = asyncio.get_event_loop()
###result = loop.run_until_complete(run_processing_on_hitlist(burp_proxy_is_up))
result = loop.run_until_complete(run_processing_on_hitlist(False))
###logger.info('Done processing hitlist')
result = loop.run_until_complete(run_processing_on_hitlist(burp_proxy_is_up))
logger.info('Done processing hitlist')
logger.info('Starting broader processing of in-scope URLs...')
# For each of our in-scope URLs ...
for inscope_url, _ in inscope_urls.items():
Expand Down
6 changes: 2 additions & 4 deletions conspiracy0.1.py
Original file line number Diff line number Diff line change
Expand Up @@ -213,13 +213,11 @@ def main():
add_to_inscope_urls(this_root_url)
else:
logger.error('Hitlist path was specified but appears invalid: ' + args.hitlist)
# DEBUG OVERRIDE START
hitlist = ['https://play.google.com/store', 'https://play.google.com/store/movies/details/Once_Upon_a_Deadpool?id=jvPJNemagGg', 'https://play.google.com/store/apps/developer?id=Google+LLC']
# DEBUG OVERRIDE END
# If we have a hitlist then...
if len(hitlist) > 0:
logger.info('Checking if Burp Suite proxy ' + BURP_SUITE_PROXY + ' is running...')
burp_proxy_is_up = check_if_proxy_up(BURP_SUITE_PROXY)
#burp_proxy_is_up = check_if_proxy_up(BURP_SUITE_PROXY)
burp_proxy_is_up = False
if burp_proxy_is_up:
logger.info('Burp Suite proxy appears to be running, will use this for headless Chrome')
else: # Burp Suite proxy is down
Expand Down

0 comments on commit db6e1c8

Please sign in to comment.