formatting

This commit is contained in:
byt3bl33d3r 2014-07-14 16:24:12 +02:00
parent 1b6841f9c1
commit eedb48822a
4 changed files with 10 additions and 7 deletions

View file

@ -67,7 +67,7 @@ class ServerConnection(HTTPClient):
def sendPostData(self):
self.plugins.hook()
if ('clientprfl' or 'keylog') not in self.uri:
logging.warning("%s Data (%s):\n%s" % (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)
def connectionMade(self):