(English) Portquiz.net : how it works 2015-10-27 20:11 Désolé, cet article est seulement disponible en English. 2015-10-27 20:11
Funny, did you know we’re still using it at Smile ? :)
So, it’s not a secret anymore !
Nice !
you read port number from http host header?
when I try:
curl http://portquiz.net:9999/ -H “Host: portquiz.net:7777”
Port 7777 test successful!
…
Hello,
Good catch. The script is just reading the $_SERVER[“SERVER_PORT”] variable in PHP.
Apache has no easy way of knowing the real destination port, as it is natted.
Marc
Pingback: Detect outgoing port blocking with nmap and portquiz.net - Michael Altfield's Tech Blog