mirror of
https://github.com/byt3bl33d3r/MITMf.git
synced 2025-07-07 21:42:17 -07:00
The new changes caused an exception when unpacking the tuple, fixed it
This commit is contained in:
parent
840e202e5b
commit
e985d42a8a
3 changed files with 12 additions and 2 deletions
|
@ -120,7 +120,11 @@ class ServerConnection(HTTPClient):
|
|||
self.sendPostData()
|
||||
|
||||
def handleStatus(self, version, code, message):
|
||||
version, code, message = self.plugins.hook()
|
||||
try:
|
||||
version, code, message = self.plugins.hook()
|
||||
except ValueError:
|
||||
pass
|
||||
|
||||
mitmf_logger.debug("[ServerConnection] Server response: {} {} {}".format(version, code, message))
|
||||
self.client.setResponseCode(int(code), message)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue