import json,colorama,requests from colorama import * from colorama import Fore,Back,init colorama.init() # coded by mister spy # IP RANGER + REVERSE IP UNLIMITED # MODIFIED BY WONG GALEK JATIM4U RED = '\033[31m' CYAN = "\033[36m" GREEN = "\033[32m" WHITE = "\033[m" def scan(site): ch = site.split('\n')[0].split('.') ip1 = ch[0] ip2 = ch[1] ip3 = ch[2] taz = str(ip1) + '.' + str(ip2) + '.' +str(ip3) + '.' i = 0 while i <= 254: i += 1 jembot = str(taz) + str(i) jembots = GREEN + str(taz) + CYAN + str(i) + WHITE ngecek = requests.get("https://sonar.omnisint.io/reverse/"+jembot+"", headers={'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Firefox/102.0'}, timeout=20) if 'null' in ngecek.text or '{"error":' in ngecek.text: print WHITE + "Ranging ==> " + jembots + " => NO" else: result = json.loads(ngecek.text) total = len(result) print WHITE + "Ranging ==> " + jembots + " => " + str(total) + " DOMAINS" for domain in result: open('Resultz.txt', 'a').write(domain + "\n") input = raw_input('IP LIST :') with open(input) as f: for site in f: scan(site)