13o-bbr-bbq / machine_learning_security

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

Invalid IP address error??? #6

Closed mother2110 closed 6 years ago

mother2110 commented 6 years ago

[root:...arning_security/DeepExploit]# python DeepExploit.py -t 192.168.32.144 -m train (master✱) Using TensorFlow backend. [*] Invalid IP address: 192.168.32.144 [root:...arning_security/DeepExploit]#

Any idea? This is running on Kali 2018.1

13o-bbr-bbq commented 6 years ago

Hi, @mother2110 This error doesn't cause in my environment. Could you teach your python environment? And, are other error messages?

bmbmikeg commented 6 years ago

Same issue here.

bmbmikeg commented 6 years ago

Got this fixed. I was using python 2.7, python 3 is required. Second issue I had was with my tensorflow version. Had to downgrade from 1.7.0 to 1.5.0.

pip3 install astor gast numpy six protobuf tensorboard termcolor absl-py pip3 install --upgrade https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-1.5.0-cp36-cp36m-linux_x86_64.whl python3 DeepExploit.py [args]