Fix search_engine copy paste error

This commit is contained in:
mmayank 2019-10-16 14:19:36 +05:30
parent 5fa55a8c91
commit feca9e79c9

View file

@ -103,7 +103,7 @@ def store(search_engine: Any, source: str, process_param: Any = None, store_host
all_ip.extend(ips_list)
db_stash.store_all(word, ips, 'ip', source)
if store_data:
data = filter(crtsh_search.get_data())
data = filter(search_engine.get_data())
all_hosts.extend(data)
db.store_all(word, all_hosts, 'host', source)
if store_results:
@ -125,7 +125,7 @@ def store(search_engine: Any, source: str, process_param: Any = None, store_host
for usr in sorted(list(set(people_list))):
print(usr)
if store_links:
links = linkedin_links_search.get_links()
links = search_engine.get_links()
db.store_all(word, links, 'name', 'linkedin')
if len(links) == 0:
print('\n[*] No links found Linkedin.\n\n')