mirror of
https://github.com/byt3bl33d3r/MITMf.git
synced 2025-07-07 21:42:17 -07:00
fixed minor bug
This commit is contained in:
parent
cded43f0c6
commit
0d09934ae5
1 changed files with 6 additions and 2 deletions
|
@ -98,8 +98,12 @@ class ClientRequest(Request):
|
|||
client = self.getClientIP()
|
||||
path = self.getPathFromUri()
|
||||
|
||||
self.content.seek(0,0)
|
||||
postData = self.content.read()
|
||||
try:
|
||||
self.content.seek(0,0)
|
||||
postData = self.content.read()
|
||||
except:
|
||||
pass
|
||||
|
||||
url = 'http://' + host + path
|
||||
|
||||
self.dnsCache.cacheResolution(host, address)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue