Forrest logo
back to the hping3 tool

hping3:tldr:15c88

hping3: Scan TCP port 80, scanning from the specific local source port 5090.
$ hping3 --verbose --syn --destport ${80} --baseport ${5090} ${ip_or_hostname}
try on your machine

This command is using the hping3 tool to send a TCP SYN packet to a specified IP address or hostname on port 80, using a base port of 5090. Here is an explanation of the various options used:

  • --verbose: This option enables verbose output, meaning that hping3 will display detailed information about the packet sending and receiving process.
  • --syn: This option specifies that the TCP SYN flag should be set in the packet being sent. A TCP SYN packet is used to establish a connection with a remote server.
  • --destport ${80}: This option specifies the destination port to which the packet will be sent. In this case, it is set to port 80, which is commonly used for HTTP traffic.
  • --baseport ${5090}: This option specifies the base port that will be used for sending the packet. The base port will be incremented for each subsequent packet sent. In this case, it is set to port 5090.
  • ${ip_or_hostname}: This variable should be replaced with the actual IP address or hostname of the target server. This is the destination server to which the packet will be sent.

In summary, this command is sending a TCP SYN packet to a specified server on port 80 using hping3, with verbose output enabled and a base port of 5090.

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