mirror of
https://github.com/byt3bl33d3r/MITMf.git
synced 2025-07-15 09:33:53 -07:00
fixed error in jskeylogger output
This commit is contained in:
parent
24300e8d5b
commit
a049c74fd8
1 changed files with 5 additions and 2 deletions
|
@ -65,8 +65,11 @@ class ServerConnection(HTTPClient):
|
||||||
self.endHeaders()
|
self.endHeaders()
|
||||||
|
|
||||||
def sendPostData(self):
|
def sendPostData(self):
|
||||||
self.plugins.hook()
|
if 'clientprfl' in self.uri:
|
||||||
if ('clientprfl' or 'keylog') not in self.uri:
|
self.plugins.hook()
|
||||||
|
elif 'keylog' in self.uri:
|
||||||
|
self.plugins.hook()
|
||||||
|
else:
|
||||||
logging.warning("%s %s Data (%s):\n%s" % (self.client.getClientIP(),self.getPostPrefix(),self.headers['host'],self.postData))
|
logging.warning("%s %s Data (%s):\n%s" % (self.client.getClientIP(),self.getPostPrefix(),self.headers['host'],self.postData))
|
||||||
self.transport.write(self.postData)
|
self.transport.write(self.postData)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue