1
00:00:00,720 --> 00:00:06,690
All right, guys, now we are going to write a simple tool that were brute force, this battle like

2
00:00:06,690 --> 00:00:14,030
we did in the Western global story, has persuaded Europe and the world and it has found this territory.

3
00:00:14,060 --> 00:00:17,160
So we are going to find this using this pattern.

4
00:00:17,550 --> 00:00:23,490
So before that, first, I want to I want to introduce you to the Quest module.

5
00:00:25,950 --> 00:00:30,360
So this request module is used to send the request and the responses.

6
00:00:30,360 --> 00:00:36,040
And you can, uh, see the response status codes and also the output.

7
00:00:36,240 --> 00:00:38,060
So it's like a python grant.

8
00:00:38,070 --> 00:00:42,850
You can send the request and you can modify the request and you can change those.

9
00:00:44,010 --> 00:00:45,220
A changed voodoo's.

10
00:00:45,390 --> 00:00:51,060
Uh, the question is, uh, what do you want to do is you need to say requests.

11
00:00:52,160 --> 00:00:52,830
Uh.

12
00:00:59,290 --> 00:01:06,110
Request that get so this is a function, this will basically get any upset.

13
00:01:06,130 --> 00:01:13,080
There is no use that's etc. devious Google dot com.

14
00:01:14,560 --> 00:01:22,570
So this returns the response status, corporate response, the authority response object.

15
00:01:22,780 --> 00:01:25,960
And you can print this response.

16
00:01:27,850 --> 00:01:30,190
So we have got this request.

17
00:01:30,310 --> 00:01:36,180
That is we have requested the next page at Excluder and we got this response object.

18
00:01:36,430 --> 00:01:38,320
So let's go ahead and put this response.

19
00:01:43,940 --> 00:01:49,790
And it just responds to no universal response, not status quo.

20
00:01:52,000 --> 00:01:59,210
So response status and underscore code, which gives the aura the status, no, so it's just too.

21
00:01:59,490 --> 00:02:06,460
That means we got us in the a.m. fight, even though she got, uh, for not for that or not for its

22
00:02:06,470 --> 00:02:07,220
search team.

23
00:02:07,550 --> 00:02:07,780
Right.

24
00:02:08,080 --> 00:02:13,070
So you you can view that source code using this a responsible text.

25
00:02:16,270 --> 00:02:23,020
Can see there is a lot of color going on, and this is the extremist group, that is the guru.com expect

26
00:02:23,320 --> 00:02:24,760
the extremist group.

27
00:02:25,630 --> 00:02:32,770
So for this tutorial, you want to say only we can just go with this Kruskal.

28
00:02:33,100 --> 00:02:34,530
If you print this one, you do.

29
00:02:34,540 --> 00:02:35,230
Such as called.

30
00:02:39,620 --> 00:02:45,500
So we got to know that certainly so there is no dirt on this weekend, so we will get the four, not

31
00:02:45,500 --> 00:02:46,420
four or not four.

32
00:02:47,690 --> 00:02:52,610
So this is the basic foundation for writing the proposal.

33
00:02:53,690 --> 00:02:55,790
So you can see the charter schools here.

34
00:02:57,950 --> 00:03:03,710
And what we want to do is, um, I created a sample woolshed.

35
00:03:04,130 --> 00:03:11,450
This is one page from my Know Nicolazzi so I could just create a sample test to test out to see how

36
00:03:11,660 --> 00:03:14,720
to run this conversion to find the common directress.

37
00:03:15,140 --> 00:03:18,680
And I have written in a text to just prior to.

38
00:03:19,580 --> 00:03:22,820
So what we're going to do is we want to read the text from this file.

39
00:03:23,360 --> 00:03:30,020
Uh, you can take this as a whole list and for each word you need to appended to this, uh, main domain.

40
00:03:30,050 --> 00:03:34,250
There is guru.com and we need to send that request.

41
00:03:34,250 --> 00:03:40,430
If you got the two hundred response, what that means that there are other ways to get funding for that.

42
00:03:40,430 --> 00:03:41,830
That does not exist.

43
00:03:42,230 --> 00:03:46,160
So let's go ahead and, uh, write this code first.

44
00:03:46,160 --> 00:03:48,200
We need to get the contents of this file.

45
00:03:48,200 --> 00:03:48,590
Right.

46
00:03:50,690 --> 00:03:53,840
Uh, let's, uh, let's ask the user for the input.

47
00:03:53,840 --> 00:03:54,200
Right.

48
00:03:55,650 --> 00:03:56,240
Uh.

49
00:04:00,330 --> 00:04:05,310
And so far, the scooter is staying put off and were just full.

50
00:04:16,340 --> 00:04:19,370
So no usable under the the system.

51
00:04:20,210 --> 00:04:28,640
And it will be stored in a letter file, not just for easy reference and the final contours of the sample,

52
00:04:28,710 --> 00:04:36,140
that we are going to open this physical to open off file filename.

53
00:04:38,360 --> 00:04:46,450
And it's not really what we don't what is enough, because we are not going to write any candidate distasteful,

54
00:04:46,910 --> 00:04:50,630
so there is a method called a red line.

55
00:04:51,000 --> 00:04:57,270
So let me say some bicycles, too, if not so true.

56
00:04:58,340 --> 00:05:02,510
So this method will read the first line from the picture that is required.

57
00:05:03,320 --> 00:05:06,290
Let me go ahead and print this content of camp.

58
00:05:13,160 --> 00:05:15,770
And lastly, I am going to close this fight.

59
00:05:18,460 --> 00:05:29,500
So this one so read the script and we see and refer it to sound politics and you can see the FastLane,

60
00:05:29,680 --> 00:05:35,140
we have got the version that is used for admin and no official lines.

61
00:05:43,530 --> 00:05:45,060
So we have got this list.

62
00:05:45,480 --> 00:05:47,260
So in each of these reached.

63
00:05:50,300 --> 00:05:51,960
We can trade all this for.

64
00:05:52,220 --> 00:05:57,780
So let me go ahead and write this Farrukh for IHI in that region.

65
00:06:03,960 --> 00:06:08,060
So I'm going to separate tough, I not called.

66
00:06:12,880 --> 00:06:14,050
So let me run this one.

67
00:06:22,480 --> 00:06:31,540
So it's already there's no need to worry about this record, so I now that let me comment on this one.

68
00:06:32,020 --> 00:06:34,630
Let me comment on this one for now.

69
00:06:34,870 --> 00:06:35,650
At the ending.

70
00:06:35,680 --> 00:06:38,220
We uncovered this one last December

71
00:06:41,590 --> 00:06:45,460
when testing each time giving input is very Panglossian task.

72
00:06:48,180 --> 00:06:55,440
So we have got these are the lines which might be down a bit, so no water and we want to take it when

73
00:06:55,440 --> 00:07:04,380
they say guru.com and we need to appended it to this last page, we might be able to actually construct

74
00:07:04,950 --> 00:07:06,610
and we need to send the request.

75
00:07:07,080 --> 00:07:13,010
So now what we're going to do is let our our metastable do is running up.

76
00:07:13,020 --> 00:07:16,460
And it's like this is 192 Durban's 010.

77
00:07:16,710 --> 00:07:18,360
So let's perform on this machine.

78
00:07:23,720 --> 00:07:34,610
So this is the actual the when the when the when recopied is so so now we are getting each and every

79
00:07:34,610 --> 00:07:37,100
word and it is coordinated.

80
00:07:37,110 --> 00:07:47,300
So what we want to say is you are going to let me push this Mendooran here and that's a plus I.

81
00:07:50,550 --> 00:07:52,700
So let me go ahead and run this year.

82
00:07:52,990 --> 00:07:56,310
So just to make sure that we are getting correctly, you are not.

83
00:08:00,020 --> 00:08:03,830
So we have got this this is all based right now.

84
00:08:05,480 --> 00:08:11,480
So now we need to send a request that is that request.

85
00:08:16,020 --> 00:08:18,900
So let's response is equal to.

86
00:08:22,770 --> 00:08:25,480
Of the tough you are.

87
00:08:30,330 --> 00:08:32,630
Now we need to bring dewater.

88
00:08:40,480 --> 00:08:45,090
I water press.

89
00:08:47,440 --> 00:08:49,210
Good to me format this one.

90
00:08:57,650 --> 00:09:01,840
Farmer of water order, karma response.

91
00:09:04,890 --> 00:09:12,940
Response, not status on the right, so we are just printing the order and respecting the status quo.

92
00:09:12,960 --> 00:09:14,550
So let me go and run this one.

93
00:09:19,870 --> 00:09:23,330
So we have got this for not for for everything.

94
00:09:30,930 --> 00:09:39,930
We are not trying to score here and let me see whether there is so index for its story on this index,

95
00:09:39,950 --> 00:09:40,890
BHP for.

96
00:09:48,220 --> 00:09:49,780
So let me run this group again.

97
00:09:53,470 --> 00:09:57,010
So we got the four, not four only, so I don't know where it is.

98
00:09:57,760 --> 00:09:58,990
So far it's been four.

99
00:09:59,010 --> 00:10:00,650
We got the 200 responsable.

100
00:10:03,790 --> 00:10:05,850
I think there is a new line over here.

101
00:10:08,960 --> 00:10:11,250
So that's what maybe it's going wrong.

102
00:10:13,190 --> 00:10:17,750
So let me go ahead and say whites business.

103
00:10:39,540 --> 00:10:41,700
All right, now let's say you order.

104
00:10:50,940 --> 00:10:52,800
Now, let me go ahead and run this.

105
00:10:56,280 --> 00:11:05,290
So you got only to wonder where it's been for so you said this one is in BHP, right?

106
00:11:06,330 --> 00:11:09,180
So let me turn this to index for BHP.

107
00:11:31,660 --> 00:11:34,720
Right now, I'm understanding this one.

108
00:11:34,750 --> 00:11:41,350
Let me just comment on these rights and let me bring everything to fight.

109
00:11:59,730 --> 00:12:07,700
So it on the screen, I'm just putting everything in a list, and as you can see, there is the final

110
00:12:07,890 --> 00:12:11,360
stretch at the end of this things.

111
00:12:11,360 --> 00:12:17,330
So that's why we are getting the floor, not forever, because it's asking for discretion.

112
00:12:17,370 --> 00:12:20,250
Also, so far at the end, it's been full.

113
00:12:20,490 --> 00:12:21,930
We do not have the session.

114
00:12:21,940 --> 00:12:26,010
That's why we got the quo to submit this.

115
00:12:29,010 --> 00:12:38,920
Now, let me I just do this, so now we need to remove these last two elements from the touchscreen

116
00:12:38,930 --> 00:12:47,820
right now, let's say Geto is to Lentulov I minus two now.

117
00:12:47,870 --> 00:12:54,560
I think we will get the correct response because we are removing the last two characters or four for

118
00:12:54,590 --> 00:12:55,810
the last one page.

119
00:12:55,820 --> 00:12:59,930
Gwynfor, we will get the we will ask for PSP.

120
00:12:59,930 --> 00:13:00,470
Right to.

121
00:13:02,340 --> 00:13:04,380
All right, now, let's just with this one.

122
00:13:10,420 --> 00:13:14,110
So we need to see minus one, sorry for that.

123
00:13:21,710 --> 00:13:32,770
All right, so let me say let me add some Dampierre so that this will get Fanaa for our we don't care,

124
00:13:32,780 --> 00:13:34,220
but this will get the 200.

125
00:13:34,250 --> 00:13:36,190
So let me run this again.

126
00:13:38,640 --> 00:13:47,040
So as you can see from what we've got, 200, 200 nikil, there is no nikil for Nafo Sijia when we got

127
00:13:47,040 --> 00:13:47,630
four not four.

128
00:13:47,640 --> 00:13:48,990
Let me take a look at this.

129
00:13:49,320 --> 00:13:59,040
We're not four, not three so it's kind of, it's not a problem but we only look for 200 quads next

130
00:13:59,080 --> 00:14:02,450
for BHP and BHP Billiton, BHP in four is two hundred.

131
00:14:03,630 --> 00:14:08,130
So this is a basically territory that we can trade.

132
00:14:08,460 --> 00:14:10,970
We can also check for that BHP also.

133
00:14:11,820 --> 00:14:14,340
So this is ticking for normal.

134
00:14:15,140 --> 00:14:23,800
Their rate slash BHP might also spend of press, not BHP, not.

135
00:14:24,210 --> 00:14:26,460
You can also write this BHP first.

136
00:14:30,490 --> 00:14:39,420
Again, do you get only these few options, so this started before.

137
00:14:39,460 --> 00:14:43,990
So let me just say next on the transcript again.

138
00:14:46,950 --> 00:14:50,140
So as you can see, bigger and bigger, which we face for the.

139
00:14:52,350 --> 00:14:54,790
And these are territories, these are not paid for.

140
00:14:54,820 --> 00:14:56,950
That's why we got the phone out for us.

141
00:14:57,690 --> 00:15:01,400
So in this case, this is a basic database.

142
00:15:01,420 --> 00:15:03,970
So we can also modify this to her tomorrow.

143
00:15:03,990 --> 00:15:07,040
So I think we don't get any more.

144
00:15:07,050 --> 00:15:08,480
But that's distrait.

145
00:15:12,080 --> 00:15:14,090
So you got everything as a rule.

146
00:15:15,410 --> 00:15:21,890
So let me also let us also write some more scrip to find this back page.

147
00:15:22,250 --> 00:15:25,020
So we got this are here.

148
00:15:27,520 --> 00:15:28,930
And this one.

149
00:15:33,400 --> 00:15:36,610
All right, what we're going to receive response not.

150
00:15:39,640 --> 00:15:44,720
That is equal to 200 to not equal parental.

151
00:15:50,590 --> 00:15:52,240
So let's go ahead and roll this.

152
00:15:57,510 --> 00:16:05,880
So there is a wide window next on page four, so this is very some final put earlier than previous one

153
00:16:05,880 --> 00:16:07,310
because we are going to start quo.

154
00:16:08,310 --> 00:16:10,200
You can also bring this to the schools here.

155
00:16:10,560 --> 00:16:14,730
But let me just try for a peace conference also.

156
00:16:16,260 --> 00:16:22,200
You can also just copy this one and copy and paste it in here.

157
00:16:23,070 --> 00:16:31,770
Let's say that BHP so if there are any BHP fires, you would also get the BHP first.

158
00:16:34,890 --> 00:16:41,020
So as you can see, we have got the territories and we've got also the beach, so you can also this

159
00:16:41,030 --> 00:16:43,970
discord and also took for us.

160
00:16:45,660 --> 00:16:48,330
So, OK, no, let's go and add the user input.

161
00:16:48,600 --> 00:16:55,410
Let's fight them into the village file and we are going to change the texture to finding it.

162
00:16:57,540 --> 00:16:59,260
So the Vietnamese added here.

163
00:16:59,460 --> 00:17:05,250
Now, you also asked for what the IP address, how they're doing.

164
00:17:05,520 --> 00:17:05,880
Right?

165
00:17:05,910 --> 00:17:09,600
So that's a domain is equal to.

166
00:17:13,630 --> 00:17:17,630
In tough and there are going to be.

167
00:17:27,920 --> 00:17:35,570
So we need to make sure that we have given the backslash at the end of the string, so we ask the win

168
00:17:35,720 --> 00:17:45,340
and then you can promote this IP address and put the domain for me, Gurinder, on this group.

169
00:17:49,210 --> 00:17:55,000
So it's asking come for brute force research to DP IP address.

170
00:18:00,040 --> 00:18:01,330
And then woolshed file.

171
00:18:06,750 --> 00:18:15,480
So you can also give the command line arguments like a python fight in space and then fight namespace

172
00:18:15,810 --> 00:18:18,210
argument one as the right argument was abolished.

173
00:18:18,620 --> 00:18:21,100
You can also apply to like that.

174
00:18:21,120 --> 00:18:29,290
But it's just this is very nice to have when you are learning, it will be nice to ask the user input

175
00:18:29,290 --> 00:18:29,580
directly.

176
00:18:29,590 --> 00:18:36,870
So if you don't know how to get this directress, which know the status quo, you can also put in this

177
00:18:36,870 --> 00:18:37,630
dress code here.

178
00:18:37,650 --> 00:18:39,300
So it will be very nice to put in the shirt.

179
00:18:57,390 --> 00:19:02,560
So let me run this clip again so they could be just covid.

180
00:19:11,750 --> 00:19:19,070
So we got this response to that, so you can just take this print statement here also, then you the

181
00:19:19,130 --> 00:19:19,550
tornado.

182
00:19:19,820 --> 00:19:21,000
So that's all for this video.

183
00:19:21,020 --> 00:19:22,040
I hope you understood.

184
00:19:22,280 --> 00:19:26,320
And this way, you can also check for that page also.

185
00:19:26,660 --> 00:19:28,850
So this Globalstar also have the options.

186
00:19:28,850 --> 00:19:37,460
You can specify these extensions using the option I, I have I think I have to distinguish the two are

187
00:19:37,470 --> 00:19:37,900
anywhere.

188
00:19:38,360 --> 00:19:44,270
No, you can run this so you can also just copy paste this whole code and take the extension to the

189
00:19:44,300 --> 00:19:45,890
original text first.

190
00:19:46,400 --> 00:19:52,720
So this is uh, the basic crawler are brute force.

191
00:19:53,270 --> 00:19:56,120
Just find the territories and the first of the website.

