- Unnamed
- Saturday, July 1st, 2006 at 10:18:21am MDT
- @@==============================ORIGINAL==================================
- <?php
- require 'PHProxy.class.php';
- $config = array
- (
- 'url_var_name' => 'q',
- 'flags_var_name' => 'hl',
- 'get_form_name' => '__script_get_form',
- 'proxy_url_form_name' => 'poxy_url_form',
- 'proxy_settings_form_name' => 'poxy_settings_form',
- 'max_file_size' => -1
- );
- $flags = 'prev';
- {
- $flags = $_GET[$config['flags_var_name']];
- }
- $PHProxy = & new PHProxy($config, $flags);
- {
- $url = decode_url($_GET[$PHProxy->config['get_form_name']]);
- {
- }
- $PHProxy->start_transfer(encode_url($url));
- }
- {
- $PHProxy->start_transfer($_GET[$PHProxy->config['url_var_name']]);
- }
- {
- $PHProxy->delete_cookies($_GET['delete']);
- }
- if (isset($_POST['username'], $_POST['password'], $_POST['server'], $_POST['realm'], $_POST['auth_url']))
- {
- $PHProxy->request_method = 'GET';
- $PHProxy->url_segments['host'] = decode_url($_POST['server']);
- $PHProxy->set_authorization($_POST['username'], $_POST['password']);
- $PHProxy->start_transfer($_POST['auth_url']);
- }
- ?>
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml" lang="en-US" xml:lang="en-US">
- <head>
- <title>VIP SURFIN! - Free online proxy! Get past filters at school, at the
- office, and at home!</title>
- <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
- <META name="keywords" content="mobile,internet,filter,games,loans">
- <meta name="ROBOTS" content="all">
- <meta name="robots" content="index,follow">
- <meta name="revisit-after" content="7 days">
- <meta name="description" content="A free online web proxy. Get past filters in school, at the office, and at home!">
- <meta name="author" content="VIP SURFIN">
- <link rel="stylesheet" type="text/css" href="style.css" media="all" />
- <script src="http://www.google-analytics.com/urchin.js" type="text/javascript">
- </script>
- <script type="text/javascript">
- _uacct = "UA-165248-2";
- urchinTracker();
- </script>
- <script src="javascript.js" type="text/javascript"></script>
- <script type="text/javascript">
- var enablepersist="on" //Enable saving state of content structure using session cookies? (on/off)
- var collapseprevious="no" //Collapse previously open content when opening present? (yes/no)
- var contractsymbol='' //HTML for contract symbol. For image, use: <img src="whatever.gif">
- var expandsymbol='' //HTML for expand symbol.
- if (document.getElementById){
- document.write('<style type="text/css">')
- document.write('.switchcontent{display:none;}')
- document.write('</style>')
- }
- function getElementbyClass(rootobj, classname){
- var inc=0
- var rootlength=rootobj.length
- for (i=0; i<rootlength; i++){
- if (rootobj[i].className==classname)
- temparray[inc++]=rootobj[i]
- }
- return temparray
- }
- function sweeptoggle(ec){
- var thestate=(ec=="expand")? "block" : "none"
- var inc=0
- while (ccollect[inc]){
- ccollect[inc].style.display=thestate
- inc++
- }
- revivestatus()
- }
- function contractcontent(omit){
- var inc=0
- while (ccollect[inc]){
- if (ccollect[inc].id!=omit)
- ccollect[inc].style.display="none"
- inc++
- }
- }
- function expandcontent(curobj, cid){
- var spantags=curobj.getElementsByTagName("SPAN")
- var showstateobj=getElementbyClass(spantags, "showstate")
- if (ccollect.length>0){
- if (collapseprevious=="yes")
- contractcontent(cid)
- document.getElementById(cid).style.display=(document.getElementById(cid).style.display!="block")? "block" : "none"
- if (showstateobj.length>0){ //if "showstate" span exists in header
- if (collapseprevious=="no")
- showstateobj[0].innerHTML=(document.getElementById(cid).style.display=="block")? contractsymbol : expandsymbol
- else
- revivestatus()
- }
- }
- }
- function revivecontent(){
- contractcontent("omitnothing")
- selectedItem=getselectedItem()
- for (i=0; i<selectedComponents.length-1; i++)
- document.getElementById(selectedComponents[i]).style.display="block"
- }
- function revivestatus(){
- var inc=0
- while (statecollect[inc]){
- if (ccollect[inc].style.display=="block")
- statecollect[inc].innerHTML=contractsymbol
- else
- statecollect[inc].innerHTML=expandsymbol
- inc++
- }
- }
- function get_cookie(Name) {
- var search = Name + "="
- var returnvalue = "";
- if (document.cookie.length > 0) {
- offset = document.cookie.indexOf(search)
- if (offset != -1) {
- offset += search.length
- }
- }
- return returnvalue;
- }
- function getselectedItem(){
- if (get_cookie(window.location.pathname) != ""){
- selectedItem=get_cookie(window.location.pathname)
- return selectedItem
- }
- else
- return ""
- }
- function saveswitchstate(){
- var inc=0, selectedItem=""
- while (ccollect[inc]){
- if (ccollect[inc].style.display=="block")
- selectedItem+=ccollect[inc].id+"|"
- inc++
- }
- document.cookie=window.location.pathname+"="+selectedItem
- }
- function do_onload(){
- uniqueidn=window.location.pathname+"firsttimeload"
- var alltags=document.all? document.all : document.getElementsByTagName("*")
- ccollect=getElementbyClass(alltags, "switchcontent")
- statecollect=getElementbyClass(alltags, "showstate")
- if (enablepersist=="on" && ccollect.length>0){
- document.cookie=(get_cookie(uniqueidn)=="")? uniqueidn+"=1" : uniqueidn+"=0"
- firsttimeload=(get_cookie(uniqueidn)==1)? 1 : 0 //check if this is 1st page load
- if (!firsttimeload)
- revivecontent()
- }
- if (ccollect.length>0 && statecollect.length>0)
- revivestatus()
- }
- if (window.addEventListener)
- window.addEventListener("load", do_onload, false)
- else if (window.attachEvent)
- window.attachEvent("onload", do_onload)
- else if (document.getElementById)
- window.onload=do_onload
- if (enablepersist=="on" && document.getElementById)
- window.onunload=saveswitchstate
- </script>
- </head>
- <body>
- <div id="container">
- <div id="menu">
- <a href="<?php echo $_SERVER['PHP_SELF'] ?>">URL Form</a> |
- <a href="?action=cookies">Manage Cookies</a>
- </div>
- <div class="title"><img src="logo.jpg"><br>
- </div>
- <noscript><div class="error"><big>You have Javascript disabled. Please enable it to use the proxy</big></div></noscript>
- <?php
- {
- {
- echo '<div class="error"><a href="'. $PHProxy->proxify_url(decode_url($_GET['retry'])) .'">Retry</a></div>';
- }
- }
- {
- if ($_GET['action'] == 'cookies')
- {
- $cookies = $PHProxy->get_cookies('COOKIE', false);
- {
- echo '<table style="width: 100%">';
- echo '<tr><td class="option" colspan="5"><a href="?action=cookies&delete=all">Clear All Cookies</a></td></tr>';
- echo '<tr><td class="head">Name</td><td class="head">Domain</td><td class="head">Path</td><td class="head">Value</td><td class="head">Action</td></tr>';
- {
- $j = $i&1 ? ' class="shade"' : '';
- echo "<tr><td$j>{$cookies[$i][0]}</td><td$j>{$cookies[$i][1]}</td><td$j>{$cookies[$i][2]}</td>"
- }
- echo '</table>';
- }
- else
- {
- echo '<div class="error">No cookies available.</div>';
- }
- }
- {
- echo '<table style="width: 100%">';
- echo '<tr><td colspan="2" class="option">Enter user name and password for <b>' . decode_url($_GET['realm']) . '</b> at <i>' . decode_url($_GET['server']) . '</i></td></tr>';
- echo '<tr><td width="30%" class="option">User name</td><td class="option"><input type="text" name="username" value="" /></td></tr>';
- echo '<tr><td width="30%" class="option">Password</td><td class="option"><input type="password" name="password" value="" /></td></tr>';
- echo '<tr><td colspan="2" style="text-align: center"><input type="submit" value="OK" /></td></tr>';
- echo '</table>';
- echo '</form>';
- }
- }
- else
- {
- ?>
- <form name="<?php echo $PHProxy->config['proxy_url_form_name'] ?>" method="get" action="<?php echo $_SERVER['PHP_SELF'] ?>">
- <input type="hidden" name="<?php echo $PHProxy->config['url_var_name'] ?>" value="" id="url_input" />
- <input type="hidden" name="<?php echo $PHProxy->config['flags_var_name'] ?>" value="" />
- </form>
- <form name="<?php echo $PHProxy->config['proxy_settings_form_name'] ?>" method="get" action="" onsubmit="return submit_form();">
- <table align="center" cellpadding="0" cellspacing="0">
- <tr>
- <td >
- <input type="text" name="url" size="60" value="http://" "/>
- <span style="text-align: center"><input type="submit" name="browse" value="Browse" onclick="return submit_form();" />
- </span></td>
- </tr>
- <tr><td>
- </td></tr>
- <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td><input type="checkbox" name="new_window" />
- Open in a new window</td>
- <td><h3 align="right" style="cursor:hand; cursor:pointer" onClick="expandcontent(this, 'options')"><strong>
- More Options</strong></h3></td>
- </tr>
- </table>
- </td>
- </tr>
- <tr><td>
- <div id="options" class="switchcontent"> <table><?php echo $PHProxy->options_list(true, true) ?></table></div></td>
- </tr>
- </table>
- </form>
- <?php
- }
- echo '</div>';
- echo '<center><iframe name="Ads" marginwidth="1" marginheight="1" scrolling="no" border="0" frameborder="0" height="150" width="730" src="0.inc">
- Your browser does not support inline frames or is currently configured not to display inline frames.
- </iframe></center>';
- echo "<center>By using our services, you are agreeing to our <a href=\"tos.html\">TOS</a>.</center></body></html>";
- ?>
- @@==============================NEW=========================================
- <?php
- require 'PHProxy.class.php';
- $config = array
- (
- 'url_var_name' => 'q',
- 'flags_var_name' => 'hl',
- 'get_form_name' => '__script_get_form',
- 'proxy_url_form_name' => 'poxy_url_form',
- 'proxy_settings_form_name' => 'poxy_settings_form',
- 'max_file_size' => -1
- );
- $flags = 'prev';
- {
- $flags = $_GET[$config['flags_var_name']];
- }
- $PHProxy = & new PHProxy($config, $flags);
- {
- $url = decode_url($_GET[$PHProxy->config['get_form_name']]);
- {
- }
- $PHProxy->start_transfer(encode_url($url));
- }
- {
- $PHProxy->start_transfer($_GET[$PHProxy->config['url_var_name']]);
- }
- {
- $PHProxy->delete_cookies($_GET['delete']);
- }
- if (isset($_POST['username'], $_POST['password'], $_POST['server'], $_POST['realm'], $_POST['auth_url']))
- {
- $PHProxy->request_method = 'GET';
- $PHProxy->url_segments['host'] = decode_url($_POST['server']);
- $PHProxy->set_authorization($_POST['username'], $_POST['password']);
- $PHProxy->start_transfer($_POST['auth_url']);
- }
- ?>
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
- <head>
- <title>andreas08: ignore the trends</title>
- <meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
- <meta name="description" content="Your website description goes here" />
- <meta name="keywords" content="your,keywords,goes,here" />
- <link rel="stylesheet" href="andreas08.css" type="text/css" media="screen,projection" />
- <script src="javascript.js" type="text/javascript"></script>
- </head>
- <body>
- <div id="container" >
- <div id="header">
- <h1>V I P S U R F I N</h1>
- <h2>Free online web proxy</h2>
- </div>
- <div id="navigation">
- <ul>
- <li class="selected"><a href="#">Home</a></li>
- <li><a href="#">Proxy</a></li>
- <li><a href="#">Top stories</a></li>
- <li><a href="#">Make us your home page</a></li>
- <li><a href="#">Terms of service</a></li>
- </ul>
- </div>
- <div id="content">
- <h2>Normal browsing</h2>
- <noscript>You have Javascript disabled. Please enable it to use the proxy</noscript>
- <!-- <form method="POST" action="--WEBBOT-SELF--">
- <p><input type="text" name="normal" size="55" value="http://">
- <input type="submit" value="Browse" name="browse"><br>
- This tool will take you to the URL entered through your connection normally.</p>
- </form> --><br>
- <?php
- {
- {
- echo '<div class="error"><a href="'. $PHProxy->proxify_url(decode_url($_GET['retry'])) .'">Retry</a></div>';
- }
- }
- {
- if ($_GET['action'] == 'cookies')
- {
- $cookies = $PHProxy->get_cookies('COOKIE', false);
- {
- echo '<table style="width: 100%">';
- echo '<tr><td class="option" colspan="5"><a href="?action=cookies&delete=all">Clear All Cookies</a></td></tr>';
- echo '<tr><td class="head">Name</td><td class="head">Domain</td><td class="head">Path</td><td class="head">Value</td><td class="head">Action</td></tr>';
- {
- $j = $i&1 ? ' class="shade"' : '';
- echo "<tr><td$j>{$cookies[$i][0]}</td><td$j>{$cookies[$i][1]}</td><td$j>{$cookies[$i][2]}</td>"
- }
- echo '</table>';
- }
- else
- {
- echo '<div class="error">No cookies available.</div>';
- }
- }
- {
- echo '<table style="width: 100%">';
- echo '<tr><td colspan="2" class="option">Enter user name and password for <b>' . decode_url($_GET['realm']) . '</b> at <i>' . decode_url($_GET['server']) . '</i></td></tr>';
- echo '<tr><td width="30%" class="option">User name</td><td class="option"><input type="text" name="username" value="" /></td></tr>';
- echo '<tr><td width="30%" class="option">Password</td><td class="option"><input type="password" name="password" value="" /></td></tr>';
- echo '<tr><td colspan="2" style="text-align: center"><input type="submit" value="OK" /></td></tr>';
- echo '</table>';
- echo '</form>';
- }
- } else {
- ?>
- <h2>Anonymous Browsing</h2>
- <form name="<?php echo $PHProxy->config['proxy_url_form_name'] ?>" method="get" action="<?php echo $_SERVER['PHP_SELF'] ?>">
- <input type="hidden" name="<?php echo $PHProxy->config['url_var_name'] ?>" value="" id="url_input" />
- <input type="hidden" name="<?php echo $PHProxy->config['flags_var_name'] ?>" value="" />
- </form>
- <form name="<?php echo $PHProxy->config['proxy_settings_form_name'] ?>" method="get" action="" onsubmit="return submit_form();">
- <input type="text" name="url" size="55" value="http://" "/>
- <input type="submit" name="browse" value="Browse" onclick="return submit_form();" />
- <table><?php echo $PHProxy->options_list(true, true) ?></table></form>
- <p> </p>
- </div>
- <div id="subcontent">
- <div id="searchbar"><h2>Search The News</h2>
- <!-- <form action="#" method="get"><fieldset>
- <input value="" name="s" id="s" />
- <input type="submit" value="Go!" id="searchbuttons" name="searchbutton" />
- </fieldset></form> -->
- </div>
- </div>
- <div id="footer">
- <p>© 2006 VIP SURFIN. All rights reserved.</p>
- </div>
- <?php }
- echo '
- </div>
- </body>
- </html>
- ';
- ?>
advertising
Update the Post
Either update this post and resubmit it with changes, or make a new post.
You may also comment on this post.
Please note that information posted here will expire by default in one month. If you do not want it to expire, please set the expiry time above. If it is set to expire, web search engines will not be allowed to index it prior to it expiring. Items that are not marked to expire will be indexable by search engines. Be careful with your passwords. All illegal activities will be reported and any information will be handed over to the authorities, so be good.