Title: Anonymous User Marked Cool (Review this resource) Author: GameGuy Posted On: 2004-11-28 Category: Home > PHP Applications
Popularity:
Description: This script is really nice! What it does is, It let's you browse any site with a diffrent IP address. Let's say if your banned of some site you love, well, Use this script to see the site again.
Page Navigation: [1]
Anonymous User (change your IP)
This script will change your IP address and make fool to all those sites which uses your IP address
for their further processing. Like: It lets you browse all those sites, where you are banned by your
IP address.
You must upload this to your webserver or somewhere, or execute it from your computer somehow.
Although, The images are disabled for security reasons :(. Sorry. Enjoy and have fun!
Script is:
<?php
/**************************************************
* Get around your proxy with this redirect! *
* *
* Author: Nick Horvath *
* Filename: redirect.php *
* Created: June, 2002 *
* Last Edited: March 2, 2003 *
* Website: http://mooserve.myftp.org:89/ *
* PHP Vers Used: 4.31 (but should work with 4.x) *
* *
* No MySQL-Based authentication in this *
* get the other file if you want it *
* *
* Consider the image access as beta only *
* *
* Version 2.0 has vast improvements over 1.0 *
* (it was a complete rewrite) *
* *
**************************************************/
$extlist = "/\.html\?|\.html\Z|\.php\?|\.php\Z|\.py\?|\.py\Z|\.htm\?|\.htm\Z|\.phps\?|
\.phps\Z|\.asp\?|\.asp\Z|\.cgi\?|\.cgi\Z|\.pl\?|\.pl\Z|\.xml\?|\.xml\Z|\.jsp\?|\.jsp\Z|
\.php3\?|\.php3\Z|\.cfg\?|\.cfg\Z|\"\Z/";
//url input box
echo "<table bgcolor=#ffffff width=100% cellpadding=0 cellspacing=0 border=0><tr>
<td align=left width=40%><form method=post action=\"$PHP_SELF\"><b>URL: </b>
<input type=text name=url value=$url><input type=submit value=Go!></form></td>
<td align=center width=20%><b>Redirect Script </b> by GameGuy</td>
<td align=right width=40%><form method=post action=\"$PHP_SELF\"><b>eBay Search:
</b><input type=text name=url> T&D:<input type=checkbox name=td value=1>
<input type=submit value=Go!><INPUT type=hidden name=ebay value=1></form></td></tr>
<tr><td align=left width=40%><form method=post action=\"#\"><b>Image URL: </b>
<input type=button name=pic>
<input type=submit value=DISABLED></form></td><td width=60% colspan=2> </td></tr>
</table><br>";
//eBay Search thingy
if(isset($ebay))
{
$url = str_replace(' ', '+', $url);
if($td == 1)
$url= "http://search-desc.ebay.com/search/search.dll?MfcISAPICommand=GetResult
&query=$url&cgiurl=http%3A%2F%2Fcgi.ebay.com%2Fws%2F&ht=1&from=R10&currdisp=2
&itemtimedisp=1&st=2&SortProperty=MetaEndSort&srchdesc=y&BasicSearch=";
else
$url = 'http://search.ebay.com/search/search.dll?cgiurl=http%3A%2F%2Fcgi.ebay.com%2Fws%2F
&krd=1&from=R8&MfcISAPICommand=GetResult&ht=1&SortProperty=MetaEndSort&query='.$url;
$page = @implode("", (@file($url))) or die("Broken");
}
else
{
//fix url so file() doesn't puke
if (!preg_match("/http:\/\//", $url))
$url = 'http://'.$url;
//add trailing slash if it should be there
if(!preg_match($extlist, $url))
$url .= '/';
$url = preg_replace("/([^:])\/\//", "$1/", $url);
//$url = preg_replace("/(\.\w*)\//", "$1", $url);
//$url = preg_replace("/(\.com\Z|\.org\Z|\.edu\Z)/", "$1/", $url);
preg_match("/^(.*:\/\/)?([^:\/]+):?([0-9]+)?(.*)?[\/]/", $url, $match);
list(,$proto,$host,$port,$dir) = $match;
$base=$proto.$host.$port.$dir;
//Strip trailing "/" that we added
if(!preg_match($extlist, $url))
$url = substr($url, 0, -1);
$errormsg = "Is something wrong?";
//read page into an array for editing
$page = @implode("", (@file($url))) or die($errormsg);
//fix images
if($do_pics == 1)
$page = preg_replace("/src([\040]?)=([\040,\",\']*)/i",
"src$1=$2http://$HTTP_HOST/redirect/#?pic=$base/", $page);
else
$page = preg_replace("/src([\040]?)=([\040,\",\']*)/i",
"src$1=$2$base/", $page);
//fix links
$page = preg_replace("/href([\040]?)=([\040,\",\']*)/i",
"href$1=$2http://$HTTP_HOST$PHP_SELF?url=$base/", $page);
//fix stuff
$page = str_replace("$base/http", "http", $page);
$page = str_replace("$base///", "http://", $page);
//fix double slash problems
$page = str_replace('//', '/', $page);
$page = preg_replace("/http(s?):\//", "http$1://", $page);
}
echo $page;
?>
Page Navigation: [1]
|