mirror of
https://github.com/byt3bl33d3r/MITMf.git
synced 2025-07-08 05:51:48 -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()
|
client = self.getClientIP()
|
||||||
path = self.getPathFromUri()
|
path = self.getPathFromUri()
|
||||||
|
|
||||||
self.content.seek(0,0)
|
try:
|
||||||
postData = self.content.read()
|
self.content.seek(0,0)
|
||||||
|
postData = self.content.read()
|
||||||
|
except:
|
||||||
|
pass
|
||||||
|
|
||||||
url = 'http://' + host + path
|
url = 'http://' + host + path
|
||||||
|
|
||||||
self.dnsCache.cacheResolution(host, address)
|
self.dnsCache.cacheResolution(host, address)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue