Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/usr/bin/python
- import shodan
- import requests
- shodan_veri=shodan.Shodan("a4d3s2yLQLxizwsKtkBALj1dUPxMB2bh")
- for i in shodan_veri.search("apache")["matches"]:
- print i['ip_str']
- header={"x-apikey":"f7d363d02c874b3f504865a76d668a4650b9ca9a9dc98b070090174bf930dbb5"}
- url="https://www.virustotal.com/api/v3/ip_addresses/"+str(i['ip_str'])
- sonuc=requests.get(url=url,headers=header,verify=False)
- print sonuc.content
- print "="*30
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement