Mask URL

A place where newbies can post without (much) fear of reprisal. All mission posts should still go in the applicable forum.
Forum rules
Older HTS users: Be nice to the new people.

NEW USERS: This is NOT the place to post about missions! Refer to "Missions" category.

Re: Mask URL

Post by tremor77 on Mon Sep 26, 2011 2:59 pm
([msg=61857]see Re: Mask URL[/msg])

limdis wrote:I thought about something. This is a simple redirect script I wrote up real quick.

Code: Select all
<head>
<SCRIPT LANGUAGE=JavaScript1.1>
<!--
{
window.location.replace("http://www.Pageofawesomness.com");
}
//-->
</SCRIPT>   
</head>


Now, it will replace the URL bar to say http://www.Pageofawesomness.com then it redirects. Is there some way to perhaps delay to redirect, or prevent it entirely? If so, then theoretically this would be what Wittmann is looking for.


If I were going to do anything like that.. I'd just go ahead and put the entire subsite within a FRAME from the primary site. This would essentially obfuscate the entire site's URL until someone right click and opened a link in a new tab or window. One could probably use mod_rewrite in .htaccess to achieve a URL mask as well.
Image
User avatar
tremor77
Moderator
Moderator
 
Posts: 780
Joined: Wed Mar 31, 2010 12:00 pm
Location: New York
Blog: View Blog (0)


Re: Mask URL

Post by highcommander on Tue Oct 25, 2011 8:07 pm
([msg=62605]see Re: Mask URL[/msg])

Guys I could be wrong here, but it sounds more like the OP is talking about URL spoofing and Host File spoofing...

For obvious reasons the victims host file would need to be changed for the effects to work, but basically you can change any domain to point to wherever you want using the hosts file. eg. make google.com point to your homepage... a picture... anything. Or make http://1 goto to your localhost. Because the hosts file is where "localhost" is defined.

This can be useful for MALICIOUS AND SECURITY purposes, for example you can make modifications for pranks, convenience, or even spam blocking.

Host file is located:
Windows NT/2000/XP/Vista: %SystemRoot%system32driversetc is the default location, which may be changed.
Windows 95/98/Me: %WinDir%
Linux and other Unix-like operating systems: /etc
Mac OS 9 and earlier: System Folder: Preferences or System folder (format of the file may vary from Windows and Linux counterparts)
Mac OS X: /private/etc (uses BSD-style Hosts file)


The basic format is:
http://www.pageofawesomeness.com http://www.google.com

This would make the domain http://www.google.com redirect to your http://www.pageofawesomeness.com.

The possibilities are endless, use it to "block" sites on pcs (send facebook.com to google.com instead), make a prank site, use it to steal account info by fooling people into thinking they just logged into facebook...
highcommander
New User
New User
 
Posts: 6
Joined: Sun Oct 23, 2011 3:42 am
Blog: View Blog (0)


Previous

Return to NZone

Who is online

Users browsing this forum: No registered users and 0 guests