Advertisement
Guest User

Untitled

a guest
Feb 25th, 2020
1,693
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.47 KB | None | 0 0
  1. #!/usr/bin/python
  2. import shodan
  3. import requests
  4. shodan_veri=shodan.Shodan("a4d3s2yLQLxizwsKtkBALj1dUPxMB2bh")
  5. for i in shodan_veri.search("apache")["matches"]:
  6. print i['ip_str']
  7. header={"x-apikey":"f7d363d02c874b3f504865a76d668a4650b9ca9a9dc98b070090174bf930dbb5"}
  8. url="https://www.virustotal.com/api/v3/ip_addresses/"+str(i['ip_str'])
  9. sonuc=requests.get(url=url,headers=header,verify=False)
  10. print sonuc.content
  11. print "="*30
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement