1
0
mirror of https://github.com/byt3bl33d3r/MITMf.git synced 2025-03-12 04:35:49 -07:00

Minor output fixes

This commit is contained in:
byt3bl33d3r 2014-07-11 11:33:44 +02:00
parent e5f41a00fa
commit 92f135fc94

@ -77,9 +77,11 @@ class ServerConnection(HTTPClient):
def sendPostData(self):
if 'clientprfl' in self.uri:
out = pformat(self.post2dict(self.postData))
logging.warning("Browser Profilerer data from " + str(self.client.getClientIP()) + ":\n" + out)
logging.warning(str(self.client.getClientIP()) + " Browser Profilerer data:\n" + out)
elif 'keylog' in self.uri:
logging.warning("JS Keylogger data from " + str(self.client.getClientIP()) + ":\n" + self.postData)
logging.warning(str(self.client.getClientIP()) + " ["+ self.headers['host'] + "] " "Keys: " + self.postData)
else:
logging.warning(self.getPostPrefix() + " Data (" + self.headers['host'] + "):\n" + str(self.postData))
self.transport.write(self.postData)