Forrest logo
back to the hping3 tool

hping3:tldr:2bdb5

hping3: Perform a TCP ACK scan to check if a given host is alive.
$ hping3 --count ${2} --verbose --destport ${80} --ack ${ip_or_hostname}
try on your machine

This command is using the hping3 tool to send a TCP ACK packet to a specified destination IP address or hostname on port 80, with a specified count and in verbose mode.

Let's break down the command further:

  • hping3: This is the command for hping3 tool, a popular network scanning and testing utility.

  • --count ${2}: This option specifies the number of packets to send. The value of ${2} is a variable that should be replaced with a numerical value representing the desired packet count.

  • --verbose: This option enables verbose output, providing detailed information about the packet sending and receiving process.

  • --destport ${80}: This option specifies the destination port number. The value of ${80} is a variable that should be replaced with the desired port number (in this case, 80).

  • --ack ${ip_or_hostname}: This option specifies that the packets sent should be TCP ACK packets. The value of ${ip_or_hostname} is a variable that should be replaced with the IP address or hostname of the destination machine.

To summarize, this command uses hping3 to send a specified number of TCP ACK packets to a destination IP address or hostname on port 80, while providing verbose output.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the hping3 tool