diff --git a/Bluto/bluto b/Bluto/bluto index 70d084c..6fb08b6 100755 --- a/Bluto/bluto +++ b/Bluto/bluto @@ -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) @@ -330,3 +333,5 @@ if __name__ == "__main__": print '\n\nRage Quit!..' info('Keyboard Interrupt From User\n') sys.exit() + except Exception,e: + print e diff --git a/Bluto/modules/data_mine.py b/Bluto/modules/data_mine.py index 366aafe..f4b016b 100644 --- a/Bluto/modules/data_mine.py +++ b/Bluto/modules/data_mine.py @@ -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)) @@ -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) diff --git a/Bluto/modules/search.py b/Bluto/modules/search.py index 5a99c0e..ae5773c 100644 --- a/Bluto/modules/search.py +++ b/Bluto/modules/search.py @@ -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: