NMAP – Traceroute with Geolocation

nmap --traceroute --script traceroute-geolocation {DOMAIN}

NOTE:
You need to run this with elevated privileges.

❯ sudo nmap --traceroute --script traceroute-geolocation cordero.me
Starting Nmap 7.94 ( https://nmap.org ) at 2023-07-09 12:54 EDT
Nmap scan report for cordero.me (74.207.230.63)
Host is up (0.025s latency).
Other addresses for cordero.me (not scanned): 2600:3c02::f03c:93ff:fe54:da8e
rDNS record for 74.207.230.63: 74-207-230-63.ip.linodeusercontent.com
Not shown: 995 filtered tcp ports (no-response)
PORT    STATE  SERVICE
22/tcp  open   ssh
80/tcp  open   http
110/tcp closed pop3
443/tcp open   https
587/tcp closed submission

Host script results:
| traceroute-geolocation: 
|   HOP  RTT    ADDRESS                                                 GEOLOCATION
|   1    0.25   10.0.4.1                                                - ,- 
|   2    4.95   47.198.0.1                                              28.141,-82.593 United States (Florida)
|   3    5.98   172.99.48.58                                            27.867,-82.350 United States (Florida)
|   4    ...
|   5    24.05  ae1---0.cbr05.mias.fl.frontiernet.net (45.52.201.155)   36.408,-109.634 United States (Arizona)
|   6    ...
|   7    11.11  be3087.ccr22.mia01.atlas.cogentco.com (154.54.88.233)   37.751,-97.822 United States ()
|   8    26.14  be3483.ccr42.atl01.atlas.cogentco.com (154.54.28.49)    37.751,-97.822 United States ()
|   9    25.15  be2847.ccr41.atl04.atlas.cogentco.com (154.54.6.102)    37.751,-97.822 United States ()
|   10   79.41  38.142.129.98                                           33.971,-84.325 United States (Georgia)
|   11   ...
|   12   ...
|   13   ...
|_  14   25.51  74-207-230-63.ip.linodeusercontent.com (74.207.230.63)  33.844,-84.478 United States (Georgia)

TRACEROUTE (using port 110/tcp)
HOP RTT      ADDRESS
1   0.25 ms  10.0.4.1
2   4.95 ms  47.198.0.1
3   5.98 ms  172.99.48.58
4   ...
5   24.05 ms ae1---0.cbr05.mias.fl.frontiernet.net (45.52.201.155)
6   ...
7   11.11 ms be3087.ccr22.mia01.atlas.cogentco.com (154.54.88.233)
8   26.14 ms be3483.ccr42.atl01.atlas.cogentco.com (154.54.28.49)
9   25.15 ms be2847.ccr41.atl04.atlas.cogentco.com (154.54.6.102)
10  79.41 ms 38.142.129.98
11  ... 13
14  25.51 ms 74-207-230-63.ip.linodeusercontent.com (74.207.230.63)

Nmap done: 1 IP address (1 host up) scanned in 10.18 seconds