13o-bbr-bbq / machine_learning_security

Source code about machine learning and security.
1.98k stars 657 forks source link

DeepExploit Running error #8

Closed ghost closed 6 years ago

ghost commented 6 years ago

After solving the problems that I can solve, I have encountered some other problems. That's the way he is.

[] 95/1148 exploit:linux/http/pandora_fms_exec, targets:1 [] 96/1148 exploit:linux/http/pandora_fms_sqli, targets:1 [] 97/1148 exploit:linux/http/pineapp_ldapsyncnow_exec, targets:1 [] 98/1148 exploit:linux/http/pineapp_livelog_exec, targets:1 Traceback (most recent call last): File "DeepExploit.py", line 1599, in exploit_tree = get_exploit_tree(env) File "DeepExploit.py", line 1293, in get_exploit_tree print('[*} Timeout: {0}'.format(show_cmd)) ValueError: Single '}' encountered in format string

The error is random and does not repeat at one point. In addition, for some beginners, or for the first installation, I strongly recommend that the author's script download the environment dependency package required for the tool automatically when it first runs in order to ensure that the error is reduced. For example, the following:

pip install --upgrade pip python3 -m pip install docopt python3 -m pip install theano; python3 -m pip install tensorflow; python3 -m pip install keras;

python3 -m pip install h5py==2.8.0rc1 python3 -m pip install keepdims

In addition, there is an abandoned parameter in the 928934 row of deep-exploit. I replaced it with this keepdims I don't know what the consequences will be, but I have been trying to solve these problems. If you come across this problem, I hope you can communicate with you more. Please forgive me, I'm not good at English.

ghost commented 6 years ago

After solving the problem, I encountered new problems.

[+] Get port list. Traceback (most recent call last): File "DeepExploit.py", line 1593, in com_port_list, proto_list, info_list = env.get_port_list() # Get port list. File "DeepExploit.py", line 394, in get_port_list nmap_result += ret.get(b'data').decode('utf-8') AttributeError: 'NoneType' object has no attribute 'decode'

ghost commented 6 years ago

All of these errors occurred immediately, and I had no idea where to change them.

13o-bbr-bbq commented 6 years ago

Thanks for your advice. I'll prepare the installer that easy set up the Deep Exploit.

And, I'm checking it your error. Please just a moment.

ghost commented 6 years ago

You can add a setup script to configure the environment needed by the program automatically.

13o-bbr-bbq commented 6 years ago

I've created requirement.txt. Thanks.