Comments (7)
You meant to comment here? Or a different repo?
from machine_learning_security.
i received this issue from anonymous using e-mail.
so posted this issue at this instead of anonymous.
from machine_learning_security.
I am having a similar experience in Kali after training.
[*] Port scanning: ###.###.###.###
[*] Executing keep_alive..
[!] type:<class 'AttributeError'>
[!] args:("'NoneType' object has no attribute 'decode'",)
[!] 'NoneType' object has no attribute 'decode'
[!] Failed: version
from machine_learning_security.
Hi,
I have some troubles about the DeepExploit.
- For the same target server,the trained model is different.I do not change the parameters about the network,and the target server is metasploitable2-Linux,referred in your GitHub. I want to know how to solve the problem because the different models make the exploit unstable,which can not meet our demands.Perhaps,does the instability of RL lead to the problem?
- Every time I use the tool to exploit the same target server,I will get different results.The model sorts the action(payload) by the probability.According to common sense,the same payload should be selected every time for the same port when the model is trained.But the situation is not like that.
- I can not use the tool to exploit the other servers.It always failed to exploit.So I just train and test the model in the same server.
Test result .docx
from machine_learning_security.
I have tried your DeepExploit system and finished the configuration.
After training, I used the system to exploit one machine, it show some failed message below.[!] type:<class 'AttributeError'> [!] args:("'int' object has no attribute 'decode'",) [!] 'int' object has no attribute 'decode' [!] Failed: module.info
Is there something i missed or ?
I encountered this problem too. Some version of Kali gives rank as 600, 500, ..., but not 'excellent', 'great',...
I modify some code as following and could work:
#rank = module_info[b'rank'].decode('utf-8')
#if rank in {'excellent', 'great', 'good'}:
modify as ==>
rank = module_info[b'rank']
if rank in {600, 500, 400}:
from machine_learning_security.
Hi,
I have some troubles about the DeepExploit.1. For the same target server,the trained model is different.I do not change the parameters about the network,and the target server is metasploitable2-Linux,referred in your GitHub. I want to know how to solve the problem because the different models make the exploit unstable,which can not meet our demands.Perhaps,does the instability of RL lead to the problem? 2. Every time I use the tool to exploit the same target server,I will get different results.The model sorts the action(payload) by the probability.According to common sense,the same payload should be selected every time for the same port when the model is trained.But the situation is not like that. 3. I can not use the tool to exploit the other servers.It always failed to exploit.So I just train and test the model in the same server. [Test result .docx](https://github.com/13o-bbr-bbq/machine_learning_security/files/3381708/Test.result.docx)
To answer your first two questions, which are pretty much the same thing, you have to understand how machine learning works. The weights are initialized randomly. I'm not sure if that is the case here but it seems like it. Because they are initialized randomly, when the weights are updated they probably fall inside a local minimum. This is why you get different results each time. If you were to initialized the weights with 0 every time then the model wouldn't be as effective and you would end up with the same data each time.
from machine_learning_security.
@hustzhm
Hi, I try to run this project! But there are some problems and bugs that I can't solve! Could you show me your sucessful project?
one problem like this:
[] 311/2006 Loaded exploit: linux/samba/trans2open
[!] 312/2006 linux/smtp/apache_james_exec module is danger (rank: normal). Can't load.
[] 313/2006 Loaded exploit: linux/smtp/exim4_dovecot_exec
[*] 314/2006 Loaded exploit: linux/smtp/exim_gethostbyname_bof
[!] type:<class 'KeyError'>
[!] args:(b'rank',)
[!] b'rank'
[!] Failed: module.info
from machine_learning_security.
Related Issues (20)
- DeepExploit issues HOT 1
- pip3 install tensorflow error & auto killed HOT 1
- Could not find a version that satisfies the requirement tensorflow>=1.8.0 HOT 1
- python3 DeepExploit.py -h & SyntaxError: invalid syntax
- Problem with string matching HOT 1
- range of targets and modules
- Retry "auth.login" call. reason: [Errno 60] Operation timed out HOT 1
- Illegal instruction HOT 1
- int is not allowed for map key? HOT 3
- DeepExploit issue HOT 2
- Lots Of Bug HOT 3
- Msf5 exploitation
- Starting a Business
- how to s solve this question? HOT 4
- No ports found in host that has opened ports HOT 1
- Retry "auth.login" call. reason: [Errno 111] Connection refused HOT 3
- Installation Environment
- 'utf-8' codec can't decode byte 0xb5 in position 182: invalid start byte
- Retry "auth.login" call. reason: [Errno 110] Connection timed out HOT 1
- can only concatenate str (not "bytes") to str Failed: console.read type:<class 'TypeError'>
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from machine_learning_security.