Skip to content

Commit

Permalink
thanks joseska - shodan api had update, now fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
Dan McInerney committed Oct 16, 2014
1 parent e66d851 commit c1d449e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion device-pharmer.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ def shodan_search(search, apikey, pages, ipfile):
results = api.search(search, page=i)
print '[*] Page %d...' % i
for r in results['matches']:
ips_found.append(r['ip'])
ips_found.append(r['ip_str'])
i += 1

return ips_found
Expand Down

0 comments on commit c1d449e

Please sign in to comment.