-
Notifications
You must be signed in to change notification settings - Fork 657
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
int is not allowed for map key? #60
Comments
Check the msgpack version using pip3 freeze | grep msgpack On my one system it is 0.6.2 and it is not giving error but on my other system msgpack version is 1.0.0 and it gives error. Downgrading to 0.6.2 should remove this error. |
Thanks for your answer. I resolved about the problem! But, an other problem is happened.
|
How did you solve this problem, because I also encountered it; I look forward to your reply |
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:
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()
#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...
The text was updated successfully, but these errors were encountered: