handleStatus() is now hooked through serverResponseStatus, were now able to modify the server response code and message

added the SMBTrap plugin
This commit is contained in:
byt3bl33d3r 2015-05-22 20:16:47 +02:00
commit 840e202e5b
6 changed files with 36 additions and 2 deletions

View file

@ -120,6 +120,7 @@ class ServerConnection(HTTPClient):
self.sendPostData()
def handleStatus(self, version, code, message):
version, code, message = self.plugins.hook()
mitmf_logger.debug("[ServerConnection] Server response: {} {} {}".format(version, code, message))
self.client.setResponseCode(int(code), message)