Update localhost ping example in README

Updated example in README to use 'PayloadsAllTheThings.localhost' instead of 'ghahgahhah.localhost'.
This commit is contained in:
Swissky
2026-07-23 17:07:09 +02:00
committed by GitHub
parent d4cb6556e5
commit 12e5d82ca6
+3 -3
View File
@@ -298,11 +298,11 @@ In PHP 7.0.25, `filter_var()` function with the parameter `FILTER_VALIDATE_URL`
There was a reserved tld called `.localhost`, it can accept arbiratry domains and resolves to the localhost ip, here is an example There was a reserved tld called `.localhost`, it can accept arbiratry domains and resolves to the localhost ip, here is an example
```powershell ```powershell
$ ping ghahgahhah.localhost -c 1 $ ping PayloadsAllTheThings.localhost -c 1
PING ghahgahhah.localhost (::1) 56 data bytes PING PayloadsAllTheThings.localhost (::1) 56 data bytes
64 bytes from ip6-localhost (::1): icmp_seq=1 ttl=64 time=0.070 ms 64 bytes from ip6-localhost (::1): icmp_seq=1 ttl=64 time=0.070 ms
--- ghahgahhah.localhost ping statistics --- --- PayloadsAllTheThings.localhost ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms 1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 0.070/0.070/0.070/0.000 ms rtt min/avg/max/mdev = 0.070/0.070/0.070/0.000 ms
``` ```