Skip to content

Commit

Permalink
FIX: send the property user when crawling subdomains from dnsdumper. a…
Browse files Browse the repository at this point in the history
  • Loading branch information
anouarbensaad authored Jun 10, 2022
1 parent 3783826 commit b5fd0c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/dns_dump.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ def dnsdumper(url):
print(' %s Retrieved token: %s' % (info, csrf_token))
cookies = {'csrftoken': csrf_token}
headers = {'Referer': 'https://dnsdumpster.com/'}
data = {'csrfmiddlewaretoken': csrf_token, 'targetip': domain}
data = {'csrfmiddlewaretoken': csrf_token, 'targetip': domain, 'user': 'free'}
response = requests.Session().post('https://dnsdumpster.com/',
cookies=cookies, data=data, headers=headers)
image = requests.get('https://dnsdumpster.com/static/map/%s.png' % domain)
Expand Down

0 comments on commit b5fd0c0

Please sign in to comment.