Saturday, July 6, 2019

How to use traceroute in Termux.

Hello guys~~
This is IRISnoir. And I’ll be making this tutorial for yall.

This tutorial is about how to traceroute a remote IP through hops.

Hacking A Rise what-is-traceroute-tutorial-730x480
Now, how does this work? You may ask.
It traces the given IP by hopping from many devices/IP until it meets its target.

This tool is named ‘tracepath’. Located at the stable repository. You need to install it first then you can perform tracing.

$ pkg install tracepath

Then the commands are:

$ tracepath [IP or Domain name]

‘traceroute’ command can be a substitute or alias of the command tracepath. This does not differ from the procedure of the previous command.

Now, you can sit back and relax as it traces the given target.
Like this.

1: 192.168.1.2 (192.168.1.2) 0.550ms pmtu 1500
1: 192.168.1.1 (192.168.1.1) 1.694ms
1: 192.168.1.1 (192.168.1.1) 2.459ms
2: 192.168.1.1 (192.168.1.1) 1.927ms pmtu 1492
2: 100.101.0.2 (100.101.0.2) 4.615ms
3: 172.16.52.65 (172.16.52.65) 7.810ms
4: 172.16.70.1 (172.16.70.1) 7.465ms
5: no reply
6: 172.16.71.77 (172.16.71.77) 479.718ms
7: 10.255.10.25 (10.255.10.25) 12.859ms
8: localhost (27.68.237.133) 9.203ms asymm 9
9: localhost (27.68.236.162) 8.677ms asymm 8
10: 203.113.187.114 (203.113.187.114) 1017.228ms asymm 12
10: 203.113.187.114 (203.113.187.114) 32.727ms asymm 12
11: 202.78.225.162 (202.78.225.162) 222.114ms asymm 13
12: 120.72.117.90 (120.72.117.90) 11.963ms reached
Resume: pmtu 1492 hops 12 back 14

It shows the hops details, how many hops, name and IP, MTU, etc..

But there is no guaranteed success because when the IP/domain name is out of range or with other reasons, it will display no reply. It will then attempt to hop elsewhere. If it finds a place to continue, good for you. If it doesn’t, you can stop.

I hope you enjoy my tutorial and find this useful. If so, share it around. This is for educational purposes. Hackingarise is not responsible for your malicious acts. Thank you.

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.