13o-bbr-bbq / machine_learning_security

Source code about machine learning and security.
1.96k stars 648 forks source link

Error at the end of Nmap_Scan #27

Closed brandybrice closed 5 years ago

brandybrice commented 5 years ago

Hi Sorry to disturb you. I would love to test this app and installed it on server. When it try to launch in test mode or train, i have this error :

Traceback (most recent call last): File "DeepExploit.py", line 2229, in com_port_list, proto_list, info_list = env.get_port_list(nmap_result, env.rh ost) File "DeepExploit.py", line 937, in get_port_list info_list[idx])) IndexError: list index out of range

I suppose, i can modify the DeepExploit.py to correct it but how?

Thank you

mahajani123 commented 5 years ago

Hello, Issue is in the parsing of the nmap_result file which is generated on running nmap scan command. I am seeing into this issue. For a temporary resolution , change this in the config file : in place of " -p0-65535" in nmap command --> use this "-p0-9999"

13o-bbr-bbq commented 5 years ago

@brandybrice Now, I examine this issue. Please just a moment.

@mahajani123 Thanks for your support!!

brandybrice commented 5 years ago

Thank you for all your work. Its good.

harshccfis commented 4 years ago

I am also facing the same issue.