Closed Gteditor99 closed 3 years ago
Gteditor99, please Don't use the code you can easily copy from the internet just as it is without understanding it! It doesn't help you to learn anything...
https://www.thepythoncode.com/article/syn-flooding-attack-using-scapy-in-python
https://github.com/x4nth055/pythoncode-tutorials/blob/master/scapy/syn-flood/syn_flood.py
those would be one of the sources you might copy. you always have to write down on your source to let anybody know where you copy the code from if you did. by the way the original code seems not working with the port. It only allows IP addresses. since you don't know which version of Scapy is used for the original source of your code - pip install just pull the latest version - it could be a problem with the latest version of the Scapy library or something else. I don't suggest you spend much time figuring out those library issues if you don't quickly find a solution. It wastes your time and blocks you from doing better great projects like games, the utility projects I told you to help your family.
I want to give you a better project idea.
those are really great projects for you to start a journey as a programmer! (which I also did when I was your age)
if you'd like to follow the utility idea, please write it as a plan first, like a sequence flow
like
Then you can start your coding to make your family happy along with your learning. also, ask your family to know what they need! which gives your a great idea!
Gteditor99! If you really want to do some hacking I can give you lots of code and tools but using it for testing is illegal which makes your father and mother in danger because they are responsible for what you did until you became an adult.
merge this PR if you want to run your code correctly https://github.com/Gteditor99/Nzen2-DDoSpy/pull/3/files
and explanation of the code https://github.com/Gteditor99/Nzen2-DDoSpy/pull/3
But I hope you find a better project idea instead of this hacking stuff. hacking doesn't give you much learning and doesn't train your logical thinking for your future...and it needs a lot of studies to understand many many stuffs (remember the difference between know and understand) and totally it doesn't help you to achieve your dream like working in Tesla :)
find something that you can help your family or someone else.
Fair enough. I have a idea of another repo: With the recent surge of crypto currency, and NFT, it's only logical to participate in the hype, And expand my skills as I go. There's this module called "Names". It allows me to generate names, without having to make a list of names, (Female and Male). The Idea is that:
everlong
In the meantime I will keep this repo open.
I replaced
with Scapy, for more efficient code & the ability to implement more options, like SYN Flooding (A.k.a TCP flooding), or IP spoofing. This also means that a dependency will be added, Ncpcap, And will have to be manually installed by the user.
Speaking of SYN flooding, the function there, ( DoS_synflood() ) has 5 parts.
The problem here is that when executed, (In debug mode) this happens:
It's obviously referring to
raw = RawVal(b"X"*1024)
, but I have yet to figure out what 'rdiv' is. Help?