Fraudulant URLs !!!

M

Marts

Regular Member
Messages
638
Likes
0
My Satellite Setup
90 cm dish + two LNB 13/19 E
90 cm dish + one LNB 30 W
Humax 5400 .. Oh and cable for Mrs Marts (smilie here)
My Location
Gozo - Malta
#1
If you feel sometimes you have been misdirected to a fraudulent web address and you want to check whether the website you are viewing is actually the one you intended to browse to and especially if you are making online purchases or accessing your bank details, then while you are on a particular website copy and paste the line below into the Address bar in your browser. Then press Enter. It will immediately show you the actual URL in a separate window. If the URL doesn't tally with the one you thought you had browsed to then exit immediately.



javascript:alert("Real web adress:" + location.protocol + "//" + location.hostname + "/");

Reprinted with kind permission - Satdudez
 
gameboy

gameboy

Ding Dang Doo
Messages
4,305
Likes
5
My Satellite Setup
DreamBox 7000s - Nokia Freeview - Several GameBoys - DS Lite - ZX81 - SNES - N64 - Saturn - Dreamcast - PlayStation - PS2 - Gamecube - PSP - iPod - iPhone - XBox - PS3 - Wii - iPad - No Life!
My Location
Scotland
#2
Nice one...

Very useful.

thanks
 
Topper

Topper

Amo Amas Amant Admin
Staff member
Messages
21,893
Likes
3,340
My Satellite Setup
IDD CI24 ECONO MM Penta 1.20 Galaxy II
1.2Mtr Polar MTG yes it has been on the arc for 25 years and is now fixed on 13 East using two pairs of rusty molegrips. Unlike me they never groan but always perform.
My Location
Blackburn, Lancashire
#3
How can we be sure this command is not fraudulent since address is spelt how I have done it not how it is spelt in the command. :-doh! I am not aware of Java having spelling mistakes in it
 
mhku

mhku

Super Moderator
Staff member
Messages
4,712
Likes
20
My Satellite Setup
TM Nano ~ sg2100
My Location
Midlands
#4
???

the Javascript is the key:

location.hostname
But only use sites you trust and use https on payment pages....
 
M

Marts

Regular Member
Messages
638
Likes
0
My Satellite Setup
90 cm dish + two LNB 13/19 E
90 cm dish + one LNB 30 W
Humax 5400 .. Oh and cable for Mrs Marts (smilie here)
My Location
Gozo - Malta
#5
Yep. I'm most certainly in the right place ;)
 

Attachments

Topper

Topper

Amo Amas Amant Admin
Staff member
Messages
21,893
Likes
3,340
My Satellite Setup
IDD CI24 ECONO MM Penta 1.20 Galaxy II
1.2Mtr Polar MTG yes it has been on the arc for 25 years and is now fixed on 13 East using two pairs of rusty molegrips. Unlike me they never groan but always perform.
My Location
Blackburn, Lancashire
#6
I think I could be too, it probably is a nice utility but would love to test it on a spoof site anyone know any???
 

Attachments

mhku

mhku

Super Moderator
Staff member
Messages
4,712
Likes
20
My Satellite Setup
TM Nano ~ sg2100
My Location
Midlands
#7
It shows the host URL. I tried it on a domain that points to mine (forwarding) and it shows my URL not the one in the address bar.
 
gameboy

gameboy

Ding Dang Doo
Messages
4,305
Likes
5
My Satellite Setup
DreamBox 7000s - Nokia Freeview - Several GameBoys - DS Lite - ZX81 - SNES - N64 - Saturn - Dreamcast - PlayStation - PS2 - Gamecube - PSP - iPod - iPhone - XBox - PS3 - Wii - iPad - No Life!
My Location
Scotland
#8
toppervte33h said:
since address is spelt
It's just uses this text to display the message in the window that opens.

You can change the spelling and it has no effect on the Java.

try this...

javascript:alert("Did you connect to here?:" + location.protocol + "//" + location.hostname + "/");

Just someone who can't spell - I know the feeling :(
 
M

Marts

Regular Member
Messages
638
Likes
0
My Satellite Setup
90 cm dish + two LNB 13/19 E
90 cm dish + one LNB 30 W
Humax 5400 .. Oh and cable for Mrs Marts (smilie here)
My Location
Gozo - Malta
#9
toppervte33h said:
would love to test it on a spoof site anyone know any???
h**p://xxx.o2.cz/xxx-spoof-1.html

OK there's only tracking cookies in there :D
 
mhku

mhku

Super Moderator
Staff member
Messages
4,712
Likes
20
My Satellite Setup
TM Nano ~ sg2100
My Location
Midlands
#10
OK, I get you now ;)

BUT

It is NOT Java- it's Javascript :p
 
T_G

T_G

The Consumate Dreamer
Staff member
Messages
6,651
Likes
215
My Satellite Setup
1 GigaBlue Quad plus, 1 Dreambox 5620, MOTECK SG2100A DISEqC Motor, 120 cm noname offset dish, Humax 95 cm offset dish and a few UK digiboxes.
My Location
Somewhere where the Sauer is Kraut and the Wurst is Brat
#11
You can go even better:
Take a favourite in your browser that you don't need anymore or just make a new one in an empty page and replace the URl with the line of the java, and call the favourite "Web Check" or something. When you are going to save it it will warn you that it is not a web site, just ignore and say yes. Then whenever you are in a site you want to check just go to favourites and click on the "web check" and bingo - the lettle window pops up. ;-)
 
rolfw

rolfw

Believe it when I see it Admin.
Staff member
Messages
37,726
Likes
1,291
My Satellite Setup
Technomate 5402 HD M2 Ci, DM7000s, Transparent 80cm Dish, Moteck SG2100 DiseqC motor, lots of legacy gear. Meters: Satlook Digital NIT, Promax HD Ranger+ spectrum analyser.
My Location
Berkshire
#12
Good idea T_G, have just done exactly that. :)
 
Top