Skip to content
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

a problem about DeepExploit.py #41

Open
MRdoulestar opened this issue Jul 15, 2019 · 6 comments
Open

a problem about DeepExploit.py #41

MRdoulestar opened this issue Jul 15, 2019 · 6 comments

Comments

@MRdoulestar
Copy link

Hello, i'm trying to run the DeepExploit but it always throw an error, just like:

[*] Port scanning: 192.168.37.120 [Elapsed time: 5 s]
[*] Executing keep_alive..
[!] type:<class 'AttributeError'>
[!] args:("'NoneType' object has no attribute 'decode'",)
[!] 'NoneType' object has no attribute 'decode'
[!] Failed: version

I debugged the code and found the 'console_id' in class Msgrpc is None, help please, thanks.

@13o-bbr-bbq
Copy link
Owner

Did you launch Metasploit and made a connection between DeepExploit and Metasploit?
Please see the below.
https://github.com/13o-bbr-bbq/machine_learning_security/wiki/Installation

@devsan0046
Copy link

[] Getting 21/tcp info: Metasploit Rex httpd
[+] Get exploit list.
[
] Loading exploit list from Metasploit.
[!] type:<class 'AttributeError'>
[!] args:("'str' object has no attribute 'decode'",)
[!] 'str' object has no attribute 'decode'
[!] Failed: Getting exploit module list.

How to fix this error

@devsan0046
Copy link

@13o-bbr-bbq
[] Getting 21/tcp info: Metasploit Rex httpd
[+] Get exploit list.
[] Loading exploit list from Metasploit.
[!] type:<class 'AttributeError'>
[!] args:("'str' object has no attribute 'decode'",)
[!] 'str' object has no attribute 'decode'
[!] Failed: Getting exploit module list.

How to fix this error

@Marc-Emmanuel9
Copy link

up

@areslui
Copy link

areslui commented Apr 19, 2023

the newer version of python no need to use decode, just delete ".decode('utf-8')" in Deepexploit.py

@slade4T
Copy link

slade4T commented May 21, 2024

any solutions?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants