Skip to content

Commit

Permalink
BugFix #14
Browse files Browse the repository at this point in the history
  • Loading branch information
darryllane committed Sep 23, 2017
1 parent ddda078 commit 3a0dc02
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
5 changes: 5 additions & 0 deletions Bluto/bluto
Original file line number Diff line number Diff line change
Expand Up @@ -256,10 +256,13 @@ if __name__ == "__main__":
start_download_time = time.time()
t5.start()
t5.join()

time_spent_download = time.time() - start_download_time
google_true_results = q1.get()
bing_true_results = q2.get()
linkedin_results = q3.get()
if q5.empty():
q5.put(None)
data_mine = q5.get()
start_time_brute = time.time()
targets = action_brute_start(subs, myResolver)
Expand Down Expand Up @@ -330,3 +333,5 @@ if __name__ == "__main__":
print '\n\nRage Quit!..'
info('Keyboard Interrupt From User\n')
sys.exit()
except Exception,e:
print e
4 changes: 3 additions & 1 deletion Bluto/modules/data_mine.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ def action_download(doc_list, docs):
info(str(doc).replace('%20', ' '))
pass
if i < 1:
sys.exit()
return download_list
data_size = get_size(docs)
print '\tData Downloaded: {}MB'.format(str(math.floor(data_size)))
info('Documents Downloaded: {}'.format(initial_count))
Expand Down Expand Up @@ -267,3 +267,5 @@ def doc_start(domain, USERAGENT_F, prox, q):
software_list = []
info('The Hunt Ended')
q.put((user_names, software_list, download_count, download_list))
elif (user_names_t and software_list) is None:
q.put(None)
3 changes: 2 additions & 1 deletion Bluto/modules/search.py
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,8 @@ def action_emailHunter(domain, api, user_agents, q, prox):
q.put(None)
return None
else:
raise ValueError('No Response From Hunter')
info('No Response From Hunter')
q.put(None)
except UnboundLocalError,e:
print e
except KeyError:
Expand Down

0 comments on commit 3a0dc02

Please sign in to comment.