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

can only concatenate str (not "bytes") to str Failed: console.read type:<class 'TypeError'> #87

Open
slade4T opened this issue Apr 26, 2024 · 0 comments

Comments

@slade4T
Copy link

slade4T commented Apr 26, 2024

im trying to train the DeepExploit with the following command: python3 DeepExploit.py -t 192.168.220.144 -m train

Can somebody help me with this problem?.

...snip...
[] Port scanning: 192.168.220.144 [Elapsed time: 85 s]
[
] Executing keep_alive..
[] Port scanning: 192.168.220.144 [Elapsed time: 90 s]
[
] Executing keep_alive..
[] End time : 2024/04/26 12:20:40
[+] Get port list from /root/machine_learning_security/DeepExploit/nmap_result_192.168.220.144.xml.
[!] type:<class 'TypeError'>
[!] args:('can only concatenate str (not "bytes") to str',)
[!] can only concatenate str (not "bytes") to str
[!] Failed: console.read
[!] type:<class 'TypeError'>
[!] args:('can only concatenate str (not "bytes") to str',)
[!] can only concatenate str (not "bytes") to str
[!] Failed: console.read
[!] type:<class 'TypeError'>
[!] args:('can only concatenate str (not "bytes") to str',)
[!] can only concatenate str (not "bytes") to str
[!] Failed: console.read
[!] type:<class 'TypeError'>
[!] args:('can only concatenate str (not "bytes") to str',)
[!] can only concatenate str (not "bytes") to str
[!] Failed: console.read
[!] type:<class 'TypeError'>
[!] args:('can only concatenate str (not "bytes") to str',)
[!] can only concatenate str (not "bytes") to str
[!] Failed: console.read
[!] type:<class 'TypeError'>
[!] args:('can only concatenate str (not "bytes") to str',)
[!] can only concatenate str (not "bytes") to str
[!] Failed: console.read
[!] type:<class 'TypeError'>
[!] args:('can only concatenate str (not "bytes") to str',)
[!] can only concatenate str (not "bytes") to str
[!] Failed: console.read
[!] type:<class 'TypeError'>
[!] args:('can only concatenate str (not "bytes") to str',)
[!] can only concatenate str (not "bytes") to str
[!] Failed: console.read
[!] type:<class 'TypeError'>
[!] args:('can only concatenate str (not "bytes") to str',)
[!] can only concatenate str (not "bytes") to str
[!] Failed: console.read
[!] type:<class 'TypeError'>
[!] args:('can only concatenate str (not "bytes") to str',)
[!] can only concatenate str (not "bytes") to str
[!] Failed: console.read
[
] Timeout: "cat /root/machine_learning_security/DeepExploit/nmap_result_192.168.220.144.xml
"
/root/machine_learning_security/DeepExploit/DeepExploit.py:916: XMLParsedAsHTMLWarning: It looks like you're parsing an XML document using an HTML parser. If this really is an HTML document (maybe it's XHTML?), you can ignore or filter this warning. If it's XML, you should know that using an XML parser will be more reliable. To parse this document as XML, make sure you have the lxml package installed, and pass the keyword argument features="xml" into the BeautifulSoup constructor.
bs = BeautifulSoup(nmap_result, 'lxml')
[!] No open port.
[!] Shutdown Deep Exploit...
[-] MsfRPC: Not Authenticated.

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

1 participant