Would you like to inspect the original subtitles? These are the user uploaded subtitles that are being translated:
1
00:00:01,020 --> 00:00:08,430
During the section we will be talking about some tools in Linux that is very very useful in penetration
2
00:00:08,430 --> 00:00:17,880
testing not just Android penetration testing but any platform penetration windows Android clinics anything.
3
00:00:17,880 --> 00:00:24,390
And one of the best tools that I'm going to start to is it's called the netcat and netcat.
4
00:00:24,630 --> 00:00:32,610
We usually we usually refer to a hacker Swiss Army because of the amount of function and task it can
5
00:00:32,700 --> 00:00:33,940
execute.
6
00:00:34,110 --> 00:00:41,010
So we're going to see how to utilize netcat and do not trash the result I mean later on you're going
7
00:00:41,010 --> 00:00:45,910
to see how you can utilize this knowledge in different attack.
8
00:00:45,960 --> 00:00:52,270
So netcat it's a tool belt in Linux that can do many many feature.
9
00:00:52,290 --> 00:00:59,790
It can open a port it can connect to a port it can scan it can transfer files between different machines
10
00:00:59,790 --> 00:01:08,030
so if you'd know how to utilize the tools it will really facilitate your penetration testing Pask.
11
00:01:08,060 --> 00:01:09,630
So let's see how to use that.
12
00:01:09,630 --> 00:01:11,760
Let's start with the Linux machine.
13
00:01:11,760 --> 00:01:13,190
I have it to machine.
14
00:01:13,520 --> 00:01:16,290
I have a Windows machine and a linux machine.
15
00:01:16,390 --> 00:01:22,230
One that could be Windows 7 Windows 8 Wonderstone whatever and windows just this Uzodinma that I have
16
00:01:22,230 --> 00:01:28,020
in front of me but it doesn't matter what operating system you are using in Linux and that that is built
17
00:01:28,020 --> 00:01:29,070
in well in Windows.
18
00:01:29,070 --> 00:01:31,510
It's an external tool.
19
00:01:31,890 --> 00:01:40,920
So let's open a terminal and let's see how to use that get netcat can be used by typing and see OK.
20
00:01:41,220 --> 00:01:48,090
And if you need to know the difference which allow you to use netcat how to scan how to open a prototype
21
00:01:48,420 --> 00:01:59,010
netcat minus help sorry and it will show you all the steps around sort of all the switches that can
22
00:01:59,010 --> 00:01:59,500
be used.
23
00:01:59,520 --> 00:02:04,820
Users of netcat and each switches doing what and so on.
24
00:02:06,450 --> 00:02:09,620
So let's take a small example about that.
25
00:02:09,630 --> 00:02:13,620
First I want to show you that I already have a Windows netcat.
26
00:02:13,620 --> 00:02:17,580
This is an external tool I mean it's not built in in windows in Linux it's already built in.
27
00:02:17,580 --> 00:02:23,340
But in Linux I download it from the internet and I put it inside a folder here.
28
00:02:24,570 --> 00:02:26,140
Which was.
29
00:02:26,280 --> 00:02:31,730
This is netcat but to be able to use the net get from any place from any command line.
30
00:02:31,740 --> 00:02:38,160
I'm going to copy this netcat and put it inside the windows folder and by doing that I can open a command
31
00:02:38,160 --> 00:02:40,430
prompt and use it right away.
32
00:02:40,770 --> 00:02:45,290
So will take first a small example of using netcat.
33
00:02:45,300 --> 00:02:48,440
Then we're going to see how to utilize that in a different way.
34
00:02:48,450 --> 00:02:50,080
This is a Windows folder.
35
00:02:50,310 --> 00:02:58,660
Let me co-presented get here just to be able to use it from the command prompt and then let's see.
36
00:02:58,890 --> 00:03:08,070
So here we have two different computer the Linux computer IPs 1 9 2 1 6 8 2 2 1 2 1 0 9 and the windows
37
00:03:08,070 --> 00:03:14,020
computer as a Windows computer is 1 0 9 1 0 in his computer.
38
00:03:14,040 --> 00:03:17,860
I think once you reach the config.
39
00:03:19,360 --> 00:03:24,450
And as you can see it is 1 0 8.
40
00:03:24,450 --> 00:03:29,850
So let's do a small example on how to utilize netcat.
41
00:03:29,850 --> 00:03:37,740
So from the windows machine I'm going to type and see netcat minus N..
42
00:03:37,800 --> 00:03:39,000
This is for listening.
43
00:03:39,000 --> 00:03:39,830
So I'm asking.
44
00:03:39,970 --> 00:03:43,590
Then cat to listen from a port then VI.
45
00:03:43,830 --> 00:03:49,700
This is verbose so everything will be clear while it's executing and then p.
46
00:03:49,740 --> 00:03:57,860
Which is the port number and I can choose any port in my case I'm going to choose port 5 5 5 5 for instance.
47
00:03:58,680 --> 00:04:11,190
And as you can see the open port 5 5 5 and start listening and waiting for the connection and from my
48
00:04:11,190 --> 00:04:16,670
Linux machine let me just clear the screen.
49
00:04:17,740 --> 00:04:27,170
I can type and see and then the computer IP 1 9 2 2 1 6 8 8.
50
00:04:27,280 --> 00:04:45,250
Sorry netcat and 1 9 2 1 6 8 200 1 0 9 and support number from where it will be connected because what's
51
00:04:45,250 --> 00:04:46,480
going on here.
52
00:04:47,740 --> 00:04:56,920
Is a Windows machine open a port which is 5 5 5 and this machine will connect to the sport and one two
53
00:04:57,100 --> 00:04:58,630
three four.
54
00:04:59,500 --> 00:05:02,240
And let's see what will happen.
55
00:05:02,240 --> 00:05:04,950
It will take a few seconds and here we go.
56
00:05:04,960 --> 00:05:07,750
We have a connection between those two machine.
57
00:05:08,080 --> 00:05:12,320
Now just to test that we can just type anything here.
58
00:05:12,380 --> 00:05:17,770
I and it will shows that and you can reply from here as well.
59
00:05:20,780 --> 00:05:21,870
And it will.
60
00:05:22,110 --> 00:05:22,970
It's not about that.
61
00:05:22,990 --> 00:05:25,730
You are doing that to Type-I and high.
62
00:05:26,110 --> 00:05:32,950
But the thing is that you are able to create a connection between those two computer later on you can
63
00:05:32,950 --> 00:05:35,570
see how can you change files between them.
64
00:05:35,650 --> 00:05:36,730
How can you execute.
65
00:05:36,730 --> 00:05:38,090
Comment and so on.
66
00:05:38,200 --> 00:05:45,930
And as a way for testing the if the connectivity are there or not if you open another terminal and you
67
00:05:45,930 --> 00:05:57,600
type net state net the minus in and verifies that the connection took place you should find the port
68
00:05:57,600 --> 00:06:01,230
which is 5 5 5 5.
69
00:06:08,190 --> 00:06:15,410
So you should find a connection between the two machine one and two and six it to and 0 8
70
00:06:27,560 --> 00:06:29,380
it's just small.
71
00:06:29,390 --> 00:06:40,890
So it's not easy to check but it should be easier especially trigs establish to an established connection.
72
00:06:41,330 --> 00:06:45,020
So should be one of those.
73
00:06:45,220 --> 00:06:45,490
Yes.
74
00:06:45,490 --> 00:06:46,370
Here you go.
75
00:06:46,700 --> 00:06:51,830
So this is on new.
76
00:06:52,630 --> 00:06:59,230
Now what I'm saying is because this is going so it shows that there is a connection between those two
77
00:06:59,230 --> 00:07:02,350
computer Supai it's sort of part 5:5.
78
00:07:02,350 --> 00:07:08,410
Now how can we utilize that that can be utilized in different ways that we're going to see in different
79
00:07:08,410 --> 00:07:10,380
examples in the upcoming video.
80
00:07:10,390 --> 00:07:16,060
I can use that get to know some program what program are running on different part or what protocol
81
00:07:16,220 --> 00:07:21,400
ironical different people I can use that get to change find between the two computer.
82
00:07:21,400 --> 00:07:28,090
I mean if I can upload in NC five netcat fine to any victim machine I can use that to connect to his
83
00:07:28,090 --> 00:07:32,630
machine and transfer between those two devices transfer files.
84
00:07:32,830 --> 00:07:37,500
I can use netcat to execute comment on remotely on different machine.
85
00:07:37,690 --> 00:07:48,220
So what I wanted to know so far is how to use the basic command of netcat and Gooding's upcoming lessons.
86
00:07:48,490 --> 00:07:51,530
You'll learn how to utilize that in a better way.
8524
Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.