-
Notifications
You must be signed in to change notification settings - Fork 675
Description
Hi.
Running in training mode, the following error occurs:
Can you think of any reasons?
==============================
Traceback (most recent call last):
File "DeepExploit.py", line 2340, in
com_exploit_list = env.get_exploit_list()
File "DeepExploit.py", line 1084, in get_exploit_list
module_info = self.client.get_module_info('exploit', exploit)
File "DeepExploit.py", line 240, in get_module_info
return self.call('module.info', [module_type, module_name])
File "DeepExploit.py", line 113, in call
return msgpack.unpackb(resp.read())
File "msgpack/_unpacker.pyx", line 195, in msgpack._cmsgpack.unpackb
ValueError: int is not allowed for map key
===============================
[condition]
I had some errors, so I modified the code:
- Followed this answer,「nmap result」read from xml.:
No open port report in Deepexploit and scan show all ports open #42 (comment)
#nmap_result = '' #it's original: original row number = 888
#after modify.
nmap_result = open(nmap_result_file, 'rb').read()
- 「nmup_result」 is decoded after concat ret.get(b'data').
#nmap_result += ret.get(b'data').decode('utf-8') #it's original: original row number = 902
#after modify.
nmap_result += ret.get(b'data') #
nmap_result = nmap_result.decode('utf-8') #modify
Plese help...