Files
tldr/pages.fr/common/hping.md

26 lines
656 B
Markdown
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# hping
> Outil en ligne de commande permettant d'assembler ou analyser des paquets TCP/IP.
> Inspirer par la commande `ping`.
> Plus d'informations : <http://www.hping.org>.
- Ping localhost via TCP :
`hping3 {{localhost}}`
- Ping une adresse IP, via TCP, sur un port spécifique :
`hping3 -p {{80}} -S {{192.168.1.1}}`
- Ping une adresse IP, via UDP, sur le port 80 :
`hping3 --udp -p {{80}} -S {{192.168.1.1}}`
- Scanner un ensemble de ports TCP, sur une adresse IP spécifique :
`hping3 --scan {{80,3000,9000}} -S {{192.168.1.1}}`
- Effectuer un test de montée en charge sur le port 80 :
`hping3 --flood -p {{80}} -S {{192.168.1.1}}`