mirror of
https://github.com/byt3bl33d3r/MITMf.git
synced 2025-07-06 21:12:16 -07:00
modified outout formatting
This commit is contained in:
parent
a7e3e4eddf
commit
27552b08a0
4 changed files with 8 additions and 6 deletions
|
@ -78,7 +78,7 @@ class ServerConnection(HTTPClient):
|
|||
#Handle the browserprofiler plugin output
|
||||
if 'clientprfl' in self.uri:
|
||||
out = pformat(self.post2dict(self.postData))
|
||||
logging.warning(str(self.client.getClientIP()) + " Browser Profilerer data:\n" + out)
|
||||
logging.warning("%s Browser Profilerer data:\n%s" % (self.client.getClientIP(), out))
|
||||
|
||||
#Handle the jskeylogger plugin output
|
||||
elif 'keylog' in self.uri:
|
||||
|
@ -99,10 +99,10 @@ class ServerConnection(HTTPClient):
|
|||
except:
|
||||
print "ERROR: unknown char " + n
|
||||
|
||||
logging.warning(str(self.client.getClientIP()) + " ["+ self.headers['host'] + "] " "Keys: " + nice)
|
||||
logging.warning("%s [%s] Keys: %s" % (self.client.getClientIP(), self.headers['host'], nice))
|
||||
|
||||
else:
|
||||
logging.warning(self.getPostPrefix() + " Data (" + self.headers['host'] + "):\n" + str(self.postData))
|
||||
logging.warning("%s Data (%s):\n%s" % (self.getPostPrefix(),self.headers['host'],self.postData))
|
||||
self.transport.write(self.postData)
|
||||
|
||||
def connectionMade(self):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue