Grab Site From IP by:hackertarget.com
ToKeiChun Mar 22nd, 2019 (edited) 21 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- import requests, sys
- import time
- def grab():
- Files = open(sys.argv)
- for i in Files.readlines():
- site = i.strip()
- site = site.strip()
- ch = requests.get('http://api.hackertarget.com/reverseiplookup/?q='+site)
- if '.' in ch.content:
- print ch.content
- open('sites.txt', 'a').write(ch.content)
- print "[!] => "+site+' Not Work '
RAW Paste Data