Hping: Difference between revisions

From /i/nsurgency W/i/ki
Jump to navigationJump to search
>Azure
New page: A tool for custom-crafting packets. Can be used to flood almost any type of packet imaginable. = Installation = == Windows == If you're running Windows XP and it keeps crashing, set the...
>CrackRabbit
No edit summary
 
(10 intermediate revisions by 7 users not shown)
Line 19: Line 19:
Debian and Ubuntu users type
Debian and Ubuntu users type


  apt-get install hping3
  sudo apt-get install hping3
 
Mandriva users type as root
 
urpmi hping


= Usage =
= Usage =
Line 38: Line 42:
* -q to suppress output - might make it a little faster
* -q to suppress output - might make it a little faster
* -c [NUMBER] to limit to a certain number of packets
* -c [NUMBER] to limit to a certain number of packets
* the -i u30000 tells it to send packets 30 milliseconds apart - this is about as fast as windows XP can take it; unix/mac systems might be able to go lower.
* the -i u30000 tells it to send packets 30 milliseconds apart - this is about as fast as windows XP can take it; unix/mac systems might be able to go lower. (-flood niggers)
* -a [IP] to spoof your IP address: it goes without saying that this is important, although you obviously won't receive reply packets. A land attack uses the target IP address as the spoofed source IP address.
* -a [IP] to spoof your IP address: it goes without saying that this is important, although you obviously won't receive reply packets. A land attack uses the target IP address as the spoofed source IP address.
* --rand-source gives each packet you send a randomly generated spoof IP address.
* --rand-source gives each packet you send a randomly generated spoof IP address.
Line 54: Line 58:
== Tutorial ==
== Tutorial ==


http://www.darkc0de.com/tutorials/hpingtut.txt
http://www.darkc0de.com/tutorials/hpingtut.txt [currently down]


= External Links =
= External Links =
Line 60: Line 64:
[http://anonym.to/http://hping.org/ '''Hping''' Homepage]
[http://anonym.to/http://hping.org/ '''Hping''' Homepage]
[http://anonym.to/http://wiki.hping.org/ '''Hping''' Wiki] (Currently Down)
[http://anonym.to/http://wiki.hping.org/ '''Hping''' Wiki] (Currently Down)
[[Category:Tools]]

Latest revision as of 02:29, 24 April 2013

A tool for custom-crafting packets. Can be used to flood almost any type of packet imaginable.

Installation[edit]

Windows[edit]

If you're running Windows XP and it keeps crashing, set the "compatibility mode" for Windows 98.

Hping2 for Win32 (Includes source code and executable)

Mac[edit]

Hping2 MacOSX Binary

Linux[edit]

Hping3 Source Code

Debian and Ubuntu users type

sudo apt-get install hping3

Mandriva users type as root

urpmi hping

Usage[edit]

Regardless of which Hping you get, the command to flood a target is as follows:

hping[2 or 3] [TARGET] -p [PORT] -i u30000 [PACKET TYPE] [OTHER OPTIONS]

[TARGET] can be a URL or IP address [PORT] is the target port [PACKET TYPE] can be

  • -S for SYN
  • -A for ACK
  • -S -A for SYN/ACK

OTHER OPTIONS:

  • --udp to send UDP packets
  • -q to suppress output - might make it a little faster
  • -c [NUMBER] to limit to a certain number of packets
  • the -i u30000 tells it to send packets 30 milliseconds apart - this is about as fast as windows XP can take it; unix/mac systems might be able to go lower. (-flood niggers)
  • -a [IP] to spoof your IP address: it goes without saying that this is important, although you obviously won't receive reply packets. A land attack uses the target IP address as the spoofed source IP address.
  • --rand-source gives each packet you send a randomly generated spoof IP address.

Examples[edit]

SYN flood google.com's port 80

hping2 google.com -p 80 -i u30000 -S

UDP flood google.com:

hping3 google.com -p 80 -i u30000 --udp

Tutorial[edit]

http://www.darkc0de.com/tutorials/hpingtut.txt [currently down]

External Links[edit]

Hping Homepage Hping Wiki (Currently Down)