Skip to content

Instantly share code, notes, and snippets.

@avar
Last active September 9, 2022 16:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save avar/429233d2d903915faa3d3d33716aef48 to your computer and use it in GitHub Desktop.
Save avar/429233d2d903915faa3d3d33716aef48 to your computer and use it in GitHub Desktop.
KLM WiFi probing
$ sudo nmap -sS 172.19.131.2
Starting Nmap 7.92 ( https://nmap.org ) at 2022-09-09 18:23 CEST
Nmap scan report for 172.19.131.2
Host is up (0.0019s latency).
Not shown: 996 filtered tcp ports (no-response)
PORT STATE SERVICE
80/tcp open http
1000/tcp open cadlock
1443/tcp open ies-lm
3128/tcp open squid-http
MAC Address: 00:13:95:37:64:D5 (congatec AG)
$ ping -c 10 -i 0.1 provider.dsg.to
PING provider.dsg.is (153.92.159.205) 56(84) bytes of data.
64 bytes from nova-153-092-159-205.cpe.novanet.is (153.92.159.205): icmp_seq=1 ttl=48 time=777 ms
64 bytes from nova-153-092-159-205.cpe.novanet.is (153.92.159.205): icmp_seq=2 ttl=48 time=775 ms
64 bytes from nova-153-092-159-205.cpe.novanet.is (153.92.159.205): icmp_seq=3 ttl=48 time=770 ms
64 bytes from nova-153-092-159-205.cpe.novanet.is (153.92.159.205): icmp_seq=4 ttl=48 time=786 ms
64 bytes from nova-153-092-159-205.cpe.novanet.is (153.92.159.205): icmp_seq=5 ttl=48 time=763 ms
64 bytes from nova-153-092-159-205.cpe.novanet.is (153.92.159.205): icmp_seq=6 ttl=48 time=783 ms
64 bytes from nova-153-092-159-205.cpe.novanet.is (153.92.159.205): icmp_seq=7 ttl=48 time=883 ms
64 bytes from nova-153-092-159-205.cpe.novanet.is (153.92.159.205): icmp_seq=8 ttl=48 time=779 ms
64 bytes from nova-153-092-159-205.cpe.novanet.is (153.92.159.205): icmp_seq=9 ttl=48 time=780 ms
64 bytes from nova-153-092-159-205.cpe.novanet.is (153.92.159.205): icmp_seq=10 ttl=48 time=749 ms
--- provider.dsg.is ping statistics ---
10 packets transmitted, 10 received, 0% packet loss, time 926ms
rtt min/avg/max/mdev = 749.060/784.461/883.086/34.436 ms, pipe 8
$ sudo ip route get 8.8.8.8
8.8.8.8 via 172.19.131.2 dev wlp2s0 src 172.19.130.162 uid 0
cache
$ http_proxy=http://172.19.131.2:3128 curl -vvv google.com
* Uses proxy env variable http_proxy == 'http://172.19.131.2:3128'
* Trying 172.19.131.2:3128...
* Connected to 172.19.131.2 (172.19.131.2) port 3128 (#0)
> GET http://google.com/ HTTP/1.1
> Host: google.com
> User-Agent: curl/7.85.0
> Accept: */*
> Proxy-Connection: Keep-Alive
>
* Mark bundle as not supporting multiuse
< HTTP/1.1 301 Moved Permanently
< Location: http://www.google.com/
< Content-Type: text/html; charset=UTF-8
< Date: Sun, 28 Aug 2022 19:48:23 GMT
< Expires: Tue, 27 Sep 2022 19:48:23 GMT
< Cache-Control: public, max-age=2592000
< Server: gws
< Content-Length: 219
< X-XSS-Protection: 0
< X-Frame-Options: SAMEORIGIN
< Age: 1024583
< Warning: 113 172.19.134.2 (squid/3.5.23) This cache hit is still fresh and more than 1 day old
< X-Cache: HIT from 172.19.134.2
< X-Cache-Lookup: HIT from 172.19.134.2:3128
< Via: 1.1 172.19.134.2 (squid/3.5.23)
< Connection: keep-alive
<
<HTML><HEAD><meta http-equiv="content-type" content="text/html;charset=utf-8">
<TITLE>301 Moved</TITLE></HEAD><BODY>
<H1>301 Moved</H1>
The document has moved
<A HREF="http://www.google.com/">here</A>.
</BODY></HTML>
* Connection #0 to host 172.19.131.2 left intact
$ sudo traceroute -I provider.dsg.to
traceroute to provider.dsg.to (153.92.159.205), 30 hops max, 60 byte packets
1 _gateway (172.19.131.2) 1.700 ms 1.667 ms 2.019 ms
2 * * *
3 * * *
4 * * *
5 * * *
6 * * *
7 * * *
8 * * *
9 * * *
10 * * *
11 * * *
12 * * *
13 * * *
14 * * *
15 * * *
16 * * *
17 * * *
18 * * *
19 * * *
20 * * *
21 * * *
22 nova-153-092-159-205.cpe.novanet.is (153.92.159.205) 867.439 ms * *
$ sudo traceroute -T provider.dsg.to
traceroute to provider.dsg.to (153.92.159.205), 30 hops max, 60 byte packets
1 nova-153-092-159-205.cpe.novanet.is (153.92.159.205) 2.167 ms 2.433 ms 3.624 ms
$ traceroute -U provider.dsg.to
traceroute to provider.dsg.to (153.92.159.205), 30 hops max, 60 byte packets
1 _gateway (172.19.131.2) 1.724 ms 2.059 ms 2.170 ms
2 * * *
3 * * *
4 * * *
5 * * *
6 * * *
7 * * *
8 * * *
9 * * *
10 * * *
11 * * *
12 * * *
13 * * *
14 * * *
15 * * *
16 * * *
17 * * *
18 * * *
19 * * *
20 * * *
21 * * *
22 * * *
23 * * *
24 * * *
25 * * *
26 * * *
27 * * *
28 * * *
29 * * *
30 * * *
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment