Closed Tren closed 6 years ago
Hi, @Tren DeepExploit can not operate on the Python2.x. Maybe, your python version is Python2.7. Could you run DeepExploit on the Python3.6?
try running using python3
[+] Execute Nmap.
[] Executing...
[] Start time: 2018-04-28 23:55:22
[] End time : 2018-04-28 23:55:49
[+] Get port list.
[+] Get exploit list.
[] Loading exploit list from local file: /root/machine_learning_security/DeepExploit/data/exploit_list.csv
[+] Get payload list.
[] Loading payload list from local file: /root/machine_learning_security/DeepExploit/data/payload_list.csv
[+] Get exploit tree.
[] Loading exploit tree from local file: /root/machine_learning_security/DeepExploit/data/exploit_tree.json.
Traceback (most recent call last):
File "DeepExploit.py", line 1541, in
Hi, @Tren It is bug following code. I fixed a bug, please try it.
local_file = os.path.join(env.data_path, 'exploit_tree.json')
Please refer to issue #5
python3 DeepExploit.py -t 192.168.0.100 -m train Using TensorFlow backend.
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
██████╗ ███████╗███████╗██████╗
██╔══██╗██╔════╝██╔════╝██╔══██╗
██║ ██║█████╗ █████╗ ██████╔╝
██║ ██║██╔══╝ ██╔══╝ ██╔═══╝
██████╔╝███████╗███████╗██║
╚═════╝ ╚══════╝╚══════╝╚═╝
███████╗██╗ ██╗██████╗ ██╗ ██████╗ ██╗████████╗
██╔════╝╚██╗██╔╝██╔══██╗██║ ██╔═══██╗██║╚══██╔══╝
█████╗ ╚███╔╝ ██████╔╝██║ ██║ ██║██║ ██║
██╔══╝ ██╔██╗ ██╔═══╝ ██║ ██║ ██║██║ ██║
███████╗██╔╝ ██╗██║ ███████╗╚██████╔╝██║ ██║
╚══════╝╚═╝ ╚═╝╚═╝ ╚══════╝ ╚═════╝ ╚═╝ ╚═╝ (beta)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Traceback (most recent call last):
File "DeepExploit.py", line 1532, in
Hi, @Tren Could you check follwing.
python DeepExploit.py -t 192.168.147.135 -m train /usr/local/lib/python2.7/dist-packages/h5py/init.py:36: FutureWarning: Conversion of the second argument of issubdtype from
float
tonp.floating
is deprecated. In future, it will be treated asnp.float64 == np.dtype(float).type
. from ._conv import register_converters as _register_converters Using TensorFlow backend. [*] Invalid IP address: 192.168.147.135