Bypass Detail

[insert_php]

session_start();
include_once ‘/home/wtsave32/public_html/check-gsp.php’;
include_once ‘/home/wtsave32/public_html/dbo.php’;

echo ‘

Verify Bypasses

‘;

$uid = $_SESSION[‘user’];
$res=mysql_query(“SELECT * FROM gspusers WHERE uid=’$uid'”);
$userRow=mysql_fetch_array($res);

$prop = mysql_real_escape_string($_GET[‘prop’]);

//get map for prop
$res=mysql_query(“SELECT * FROM gspproperties WHERE propuid=’$prop'”);
$row=mysql_fetch_array($res);

echo ‘

Bypass details for ‘ . $row[‘propname’] . ‘:

‘;

//curl to main to process
$curl = curl_init();
curl_setopt ($curl, CURLOPT_URL, “http://secure.westechs.net/hg-gsp-2/?prop=dim2339malk23320psdk39d8”);
curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1);
$result = curl_exec ($curl);
curl_close ($curl);
print $result;

[/insert_php]