Skip to content
Permalink
Browse files

Fixed DNSdumpster engine

  • Loading branch information...
aboul3la committed Oct 22, 2019
1 parent 466988e commit 5d33d9f25a92cc3f91eb351cff2d7007c198fb44
Showing with 1 addition and 1 deletion.
  1. +1 −1 sublist3r.py
@@ -636,7 +636,7 @@ def req(self, req_method, url, params=None):
return self.get_response(resp)

def get_csrftoken(self, resp):
csrf_regex = re.compile("<input type='hidden' name='csrfmiddlewaretoken' value='(.*?)' />", re.S)
csrf_regex = re.compile('<input type="hidden" name="csrfmiddlewaretoken" value="(.*?)">', re.S)
token = csrf_regex.findall(resp)[0]
return token.strip()

0 comments on commit 5d33d9f

Please sign in to comment.
You can’t perform that action at this time.