1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-09-10 16:53:10 +02:00

ping.py, ping6.py, impacket-{ping, ping6}: add page (#16177)

* ping.py, ping6.py, impacket-{ping, ping6}: add page

* Update pages/common/ping.py.md

Co-authored-by: Wiktor Perskawiec <git@spageektti.cc>

* Update pages/common/ping6.py.md

Co-authored-by: Wiktor Perskawiec <git@spageektti.cc>

* Update pages/common/impacket-ping.md

Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com>

* Update pages/common/impacket-ping6.md

Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com>

* Update ping.py.md

* Update ping6.py.md

* Update ping.py.md

* Update ping6.py.md

---------

Co-authored-by: Wiktor Perskawiec <git@spageektti.cc>
Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com>
This commit is contained in:
Machiavelli 2025-04-22 10:57:38 +02:00 committed by GitHub
parent 6363617b94
commit 7d03c125a2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 40 additions and 0 deletions

View file

@ -0,0 +1,7 @@
# impacket-ping
> This command is an alias of `ping.py`.
- View documentation for the original command:
`tldr ping.py`

View file

@ -0,0 +1,7 @@
# impacket-ping6
> This command is an alias of `ping6.py`.
- View documentation for the original command:
`tldr ping6.py`

13
pages/common/ping.py.md Normal file
View file

@ -0,0 +1,13 @@
# ping.py
> Simple ICMP ping using Impacket to check if an IPv4 host is reachable.
> Sends ICMP echo requests and listens for echo replies. Requires root privileges for raw socket access (e.g., run with `sudo`).
> More information: <https://github.com/fortra/impacket>.
- Ping a host from a specified source IPv4 address:
`ping.py {{source_ipv4}} {{destination_ipv4}}`
- Ping 192.168.1.100 from 192.168.1.10:
`ping.py 192.168.1.10 192.168.1.100`

13
pages/common/ping6.py.md Normal file
View file

@ -0,0 +1,13 @@
# ping6.py
> Simple ICMPv6 ping using Impacket to check if an IPv6 host is reachable.
> Sends ICMPv6 echo requests and listens for echo replies. Requires root privileges for raw socket access (e.g., run with `sudo`).
> More information: <https://github.com/fortra/impacket>.
- Ping an IPv6 host from a specified source IPv6 address:
`ping6.py {{source_ipv6}} {{destination_ipv6}}`
- Ping 2001:db8::2 from 2001:db8::1:
`ping6.py 2001:db8::1 2001:db8::2`