1
00:00:00,000 --> 00:00:12,560
So, IP route show is where I'm going to start, and we need a custom route, right?

2
00:00:12,560 --> 00:00:17,000
So IP route add, and what do I want to do?

3
00:00:17,000 --> 00:00:28,760
I want to add 10.0.0.0.8 via 192.168.29.142.

4
00:00:28,760 --> 00:00:34,959
I'm using an existing IP address, even if it does not provide any routing functionality.

5
00:00:34,959 --> 00:00:39,160
So IP route show is showing that the 10 route has been added.

6
00:00:39,160 --> 00:00:45,799
So if I'm going to ping 10.0.0.3, then I am getting what?

7
00:00:45,799 --> 00:00:47,160
Now, this is a funny one.

8
00:00:47,160 --> 00:00:48,740
I'm getting a redirect.

9
00:00:48,740 --> 00:00:50,919
So what is this smart router doing?

10
00:00:50,919 --> 00:00:54,919
This router is answering, hey, I'm not a router.

11
00:00:54,919 --> 00:01:03,160
So check this out with 192.168.29.2, but in the end, the redirect is an error.

12
00:01:03,160 --> 00:01:06,160
And for that reason, I've received nothing.

13
00:01:06,160 --> 00:01:08,239
That is expected behavior.

14
00:01:08,239 --> 00:01:19,800
We needed to discover IP addresses on this network, well, nmap-sn for scan network, 192.168.29.0.24.

15
00:01:19,800 --> 00:01:26,480
Give it a few seconds, and you will see all the IP addresses that are available.

16
00:01:26,480 --> 00:01:28,559
And final thing, the stealth scan.

17
00:01:28,559 --> 00:01:37,599
So nmap-ss on 192.168.29.147, which is showing what?

18
00:01:37,599 --> 00:01:43,639
Well, once it is done, it should show all the ports that it has found open.

19
00:01:43,639 --> 00:01:44,839
And look at that.

20
00:01:44,839 --> 00:01:48,040
We have port 22, but also port 9090.

21
00:01:48,720 --> 00:01:51,519
Well, at least that is something else.

22
00:01:51,519 --> 00:01:54,000
Stealth scan allows you to go deeper.

23
00:01:54,000 --> 00:01:58,680
And best thing about stealth scan, it allows you to be undetected.

24
00:01:58,680 --> 00:02:02,080
And in case you are wondering, why would I want to be undetected?

25
00:02:02,080 --> 00:02:03,400
Well, I don't know.

26
00:02:03,400 --> 00:02:06,480
That depends on what you want to do on the network.

27
00:02:06,480 --> 00:02:13,279
But please do remember, you should never use nmap on networks where you don't have permission.

28
00:02:13,279 --> 00:02:15,600
It's generally considered a hacking tool.

