mirror of
https://github.com/byt3bl33d3r/MITMf.git
synced 2025-07-06 04:52:22 -07:00
Fix #230 HSTS bypass DNS problem when timeout occures
This commit is contained in:
parent
f8293c38c9
commit
96e0b5f0e0
1 changed files with 2 additions and 1 deletions
|
@ -366,7 +366,8 @@ class DNSHandler():
|
|||
#First proxy the request with the real domain
|
||||
q = DNSRecord.question(real_domain).pack()
|
||||
r = self.proxyrequest(q, *nameserver_tuple)
|
||||
|
||||
if r is None: return None
|
||||
|
||||
#Parse the answer
|
||||
dns_rr = DNSRecord.parse(r).rr
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue