Open marounilabuni opened 4 years ago
What's the error? In which script does the error occur? Which Python Version do you use? (type 'python --version' in command line)
The error in file: ip_spoofing/dos_attack.py
Link: https://github.com/pankajmore/ip_spoofing/blob/master/dos_attack.py
On line 30, you have to put a small "b" in front of the string A.
Like this:
icmp.contains(ImpactPacket.Data(b"A"*156))
If you're using Python2 this should be everything you have to add to get it to work. BUT, I dont know what you're trying to do but it won't be possible to run the ip-spoofing dos attack from your mobile phone.
Let me know if you need any more help.
I did it and got this error
In line 36
Line 36 is: s = socket.socket(socket.AF_INET, socket.SOCK_RAW, socket.IPPROTO_ICMP)
You need to run the script with root privileges, you either need to root your phone (not recommended) or you try to run it from a computer. If you just need a second device in the network to test it, you can just run both your scripts on the same machine.
You are great
I have an error on line 30 Can u help me please