From a97e7fd4190afb64ed82885612f7efed3d69d944 Mon Sep 17 00:00:00 2001 From: Stuart Gray <42702437+m00tiny@users.noreply.github.com> Date: Fri, 22 Jul 2022 04:39:17 -0400 Subject: [PATCH] fixed a line break in requester.py and findsubdomains.py ... changed findsubdomains.py to point at a host that still exists.. but, unfortunately that host does not find sub domains.. i have to take my lady to the airport and just wanted to get the thing running real quick.. i will update it with soem more appropriate dns toolkit website.. right now it uses viewdns.info simply because the request and response was similar to what the script already expected --- core/requester.py | 3 +-- modules/findsubdomains.py | 5 ++--- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/core/requester.py b/core/requester.py index d9a69ed..10685dd 100644 --- a/core/requester.py +++ b/core/requester.py @@ -18,8 +18,7 @@ def requester(url, data=None, GET=True): if 'User-Agent' not in headers: headers['User-Agent'] = random.choice(user_agents) if GET: - response = requests.get( - url, params=data, headers=headers, verify=False) + response = requests.get(url, params=data, headers=headers, verify=False) else: response = requests.post(url, data=data, headers=headers, verify=False) return response diff --git a/modules/findsubdomains.py b/modules/findsubdomains.py index d51b388..866cded 100644 --- a/modules/findsubdomains.py +++ b/modules/findsubdomains.py @@ -3,7 +3,6 @@ from core.requester import requester def findsubdomains(host): - response = requester('https://findsubdomains.com/subdomains-of/' + - host).text - matches = re.finditer(r'(?s)