Would you like to inspect the original subtitles? These are the user uploaded subtitles that are being translated:
1
00:00:00,880 --> 00:00:07,010
Okay now we have the website downloaded and we have it installed on our web server and it looks good.
2
00:00:07,030 --> 00:00:08,590
There's nothing wrong with it.
3
00:00:08,800 --> 00:00:14,690
I just want to show you a few things that you might need to tweak before the Web site works well with
4
00:00:14,690 --> 00:00:16,210
the fake access point.
5
00:00:16,210 --> 00:00:22,300
Now you might not have to do any of this but in my example right here I actually have to do it because
6
00:00:22,300 --> 00:00:24,500
the website is just written that way.
7
00:00:24,730 --> 00:00:30,250
So I'm going to show you these things so that if you face them in a real life scenario you know how
8
00:00:30,250 --> 00:00:31,770
to deal with it.
9
00:00:31,780 --> 00:00:35,060
Now I'm actually running this attack against a real network.
10
00:00:35,110 --> 00:00:38,240
So this is not a fake network or a test network.
11
00:00:40,460 --> 00:00:46,940
So I have the Web site here and this is the there that hasty mail and like I said this is the file that
12
00:00:46,940 --> 00:00:54,040
contains the code for the website itself and it refers to stuff that's used that's stored in the welcome
13
00:00:54,050 --> 00:00:55,970
online directory.
14
00:00:55,970 --> 00:00:59,260
Now before I modify this file I'm going to use a text editor.
15
00:00:59,330 --> 00:01:03,260
That's nice for modifying code and it's really lightweight.
16
00:01:03,260 --> 00:01:08,570
So I'm going to show you how to install it first and I'm going to go on my Terminator and I'm just going
17
00:01:08,570 --> 00:01:18,930
to do apt get install Jeannie so apt get is Well we usually use to install applications we're told on
18
00:01:18,930 --> 00:01:25,500
it that we want to install and the program the text editor that I want to install is called GenY.
19
00:01:25,550 --> 00:01:28,090
Now I'm going to hit enter and I've already installed this.
20
00:01:28,100 --> 00:01:31,710
So as you can see it's already installed and it's the newest version.
21
00:01:31,910 --> 00:01:36,340
So there is no need for me to install it but for you it's going to ask you if you want to install it.
22
00:01:36,440 --> 00:01:40,550
Type why hit enter and it'll install it for you.
23
00:01:40,550 --> 00:01:45,500
Once it's installed we're going to come back to our page here that we want to modify which is indexed
24
00:01:45,500 --> 00:01:46,560
or hate him.
25
00:01:46,970 --> 00:01:51,330
I'm going to write click it and I'm going to open it with other application.
26
00:01:53,000 --> 00:01:54,820
I'm going to select Jeannie from here.
27
00:01:54,950 --> 00:02:01,210
If it's not showing up in here click on View all applications and find GenY then I'm going to click
28
00:02:01,210 --> 00:02:06,040
on select to open it with Jeanie now right here.
29
00:02:06,070 --> 00:02:11,820
I have the e-mail or the markup code for this Web site.
30
00:02:12,020 --> 00:02:19,500
So everything that's being displayed in here is actually coded in this particular file.
31
00:02:19,550 --> 00:02:26,660
So the things that I want to modify First of all the pictures here this picture and this picture are
32
00:02:26,660 --> 00:02:29,110
being referred to relatively.
33
00:02:29,500 --> 00:02:34,820
And this is a term that's used in web design and all that so I don't want to get into too much details
34
00:02:34,820 --> 00:02:35,480
into it.
35
00:02:35,570 --> 00:02:43,400
But basically the web page is referring to the location of these images relative to where we are right
36
00:02:43,400 --> 00:02:47,600
now relative to the L that we are in right now.
37
00:02:48,050 --> 00:02:53,900
So in the future when we're going to use this on a fake access point and then we're going to be redirected
38
00:02:53,900 --> 00:02:58,760
requests that the people make to this web page the web page will work.
39
00:02:58,940 --> 00:03:05,530
But the images will not load because the location that the page is referring to will be invalid.
40
00:03:05,900 --> 00:03:12,650
So what I want to do I want to modify the code in here that refers to these images and I want to make
41
00:03:12,650 --> 00:03:19,160
sure that it refers to the right location and I'm going to do that by use in a static location to these
42
00:03:19,160 --> 00:03:19,900
images.
43
00:03:21,120 --> 00:03:28,340
Now we know that these images are being stored in this directory the Wellcome online files.
44
00:03:28,410 --> 00:03:30,270
So I'm just going to go to the code.
45
00:03:30,540 --> 00:03:38,360
I'm going to go on search and I'm going to go on find and I'm going to look for well come on line and
46
00:03:38,360 --> 00:03:47,410
I'm just going to type in welcome I'm going to click on next and as you can see now the first will come
47
00:03:47,410 --> 00:03:49,070
on line is just a title.
48
00:03:49,100 --> 00:03:54,350
So I'm going to skip that the next one is a link.
49
00:03:54,500 --> 00:03:57,050
So that's what I'm looking for I'm going to close this.
50
00:03:57,500 --> 00:04:01,460
And as you can see it's a link to a file called base.
51
00:04:01,580 --> 00:04:02,150
Yes.
52
00:04:02,210 --> 00:04:04,060
So this is a style file.
53
00:04:04,220 --> 00:04:10,950
And if we come here on we'll come on line you'll see I have a file that's called Based she says.
54
00:04:11,180 --> 00:04:17,420
Now if we look at the URL in here you'll see that the R L starts with the name straight away so you
55
00:04:17,420 --> 00:04:19,860
see will come online directly.
56
00:04:20,000 --> 00:04:26,540
What this means it means that this year L is a relative you are also relative to the R L that's already
57
00:04:26,540 --> 00:04:28,170
loaded on the web browser.
58
00:04:28,370 --> 00:04:33,410
Therefore when we're going to be using DNS spoofing and we're going to be redirecting requests the web
59
00:04:33,410 --> 00:04:36,930
browser will not know where we'll come online is.
60
00:04:37,460 --> 00:04:43,040
So all we have to do is literally just add a forward slash in front of it.
61
00:04:43,040 --> 00:04:49,370
And this way the web browser will know that he has to go all the way back to the IP and then look for
62
00:04:49,370 --> 00:04:53,380
a directory called welcome online followed by the file name.
63
00:04:53,450 --> 00:04:59,780
So all we have to do is literally make sure after the hatred if after the source your L for whatever
64
00:04:59,780 --> 00:05:05,500
file that's being loaded we have to make sure that it starts with a forward slash.
65
00:05:05,510 --> 00:05:11,840
So again this is only happening to me because the way that this web page was written it was written
66
00:05:11,840 --> 00:05:18,410
to use relative your elves or in relative locations so the page that you clone might not be used in
67
00:05:18,410 --> 00:05:24,740
this and you may not need to do this anyway so I'm just showing you how to do it just in case your web
68
00:05:24,740 --> 00:05:28,740
page your web page is programmed the same way as mine.
69
00:05:28,760 --> 00:05:32,080
Now this is On the one file that's being used by this web page.
70
00:05:32,330 --> 00:05:37,650
And this web page uses a large number of files as we can see here we have a large number of files.
71
00:05:37,730 --> 00:05:44,330
So I'm not going to be doing this manually so I'm going to first delete this and then I'm just going
72
00:05:44,330 --> 00:05:48,300
to copy all this so harddrive equals welcome online files.
73
00:05:49,390 --> 00:05:54,910
When I right click copy then I'm going to go to the search menu again.
74
00:05:55,180 --> 00:05:59,470
I'm going to go to the right place this time so the first time I went on find.
75
00:05:59,590 --> 00:06:07,810
Now I'm going on Replace nican see it automatically has what I copied in here in the search for and
76
00:06:08,020 --> 00:06:09,000
replace with.
77
00:06:09,220 --> 00:06:11,540
I'm going to replace it with the exact same thing.
78
00:06:11,620 --> 00:06:18,070
So I'm going to paste it and all I want to do is literally just add a forward slash in here.
79
00:06:18,130 --> 00:06:19,800
Now I'm going to click on your place.
80
00:06:19,810 --> 00:06:21,380
All in here.
81
00:06:21,670 --> 00:06:28,120
And then I'm going to do and document so that anytime it sees this it's going to add a forward slash
82
00:06:28,120 --> 00:06:34,910
to it and it's going to fix all the locations that's used in this web page.
83
00:06:34,920 --> 00:06:41,130
Now if we go back here and do a refresh you won't really see any difference you won't see anything changed
84
00:06:41,400 --> 00:06:47,230
but if you are actually using this on a fake Web page you'll see that the images would not load.
85
00:06:47,250 --> 00:06:52,150
If you leave the or else without fixing them to use static or else.
9260
Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.