mirror of
https://github.com/rapid7/metasploit-payloads
synced 2025-04-24 10:09:49 +02:00
Handle missing command ids
This commit is contained in:
parent
7554290691
commit
9a06fb9ff8
@ -1613,6 +1613,9 @@ class PythonMeterpreter(object):
|
||||
else:
|
||||
if result != ERROR_SUCCESS:
|
||||
debug_print('[-] method ' + handler_name + ' resulted in error: #' + str(result))
|
||||
else:
|
||||
if handler_name is None:
|
||||
debug_print('[-] command id ' + str(commd_id_tlv['value']) + ' was requested but does not exist')
|
||||
else:
|
||||
debug_print('[-] method ' + handler_name + ' was requested but does not exist')
|
||||
result = error_result(NotImplementedError)
|
||||
|
Loading…
x
Reference in New Issue
Block a user