Waraxe IT Security Portal
Login or Register
August 30, 2026
Menu
Home
Logout
Discussions
Forums
Members List
IRC chat
Tools
Base64 coder
MD5 hash
CRC32 checksum
ROT13 coder
SHA-1 hash
URL-decoder
Sql Char Encoder
Affiliates
y3dips ITsec
Md5 Cracker
User Manuals
AlbumNow
Content
Content
Sections
FAQ
Top
Info
Feedback
Recommend Us
Search
Journal
Your Account
User Info
Welcome, Anonymous
Nickname
Password
(Register)

Membership:
Latest: MichaelSnaRe
New Today: 0
New Yesterday: 0
Overall: 9144

People Online:
Visitors: 501
Members: 0
Total: 501
Full disclosure
CyberDanube Security Research 20260611-0 | Multiple Denial of Service Vulnerabilities in Dahua IPC/SD/NVR/XVR/EVS/VTO/VT H/ASI/TPC Camera Series
Multiple Integer Overflows in U-Boot Filesystem Parsing(CVE-2025-70290 through CVE-2025-70293)
[ADVISORY] Multiple Integer Overflows in U-Boot FilesystemParsing (CVE-2025-70290 through CVE-2025-70293)
JSON Deserialiser Unconstrained Resource Consumption Proof ofConcept
Dovecot Security Advisory 3/2026
FD - Half-click unauthenticated remote code execution on Horde Groupware IMP (from a stored XSS)
[NotCVE-2026-0013] CHIRP Kenwood ITM Driver Eval Injection Allows Arbitrary Code Execution via Crafted Radio File
[NotCVE-2026-0012] EmpManageX Hardcoded Administrative Credentials in Login API Allow Full Access to Employee Records
[NotCVE-2026-0011] Nmap 7.99 and Earlier nselib/packet.lua Zero-Length TCP Option Infinite Loop Allows Remote Denial of Service
[NotCVE-2026-0010] Barrier 2.4.0 for Windows Unauthenticated IPC Command Execution Allows Local Privilege Escalation to SYSTEM
[NotCVE-2026-0009] NitroShare Desktop 0.3.4 Path Traversal Allows LAN-Adjacent Arbitrary File Write
Escargot v4.3.0-214-gfaee4437 Unauthenticated Remote Debugger Allows Arbitrary JavaScript Evaluation and Local File Disclosure
Escargot v4.3.0-214-gfaee4437 OS Command Injection in Crash Handler via Unsanitized Executable Path
Escargot v4.3.0-214-gfaee4437 Debugger WebSocket Off-by-One Stack Buffer Overflow
UltraJSON v5.13.0-6-g733f9e1 Length-Boundary Violation Causes Out-of-Bounds Read During Incomplete JSON Parsing
Log in Register Forum FAQ Memberlist Search
IT Security and Insecurity Portal

www.waraxe.us Forum Index -> PHP script decode requests -> Help me again to decode this
Post new topicReply to topic View previous topic :: View next topic
Help me again to decode this
PostPosted: Wed Apr 13, 2011 5:07 pm Reply with quote
mamamia
Regular user
Regular user
Joined: Apr 13, 2011
Posts: 5




Thx


Last edited by mamamia on Thu Apr 14, 2011 3:11 am; edited 1 time in total
View user's profile Send private message
PostPosted: Wed Apr 13, 2011 5:44 pm Reply with quote
johnburn
Advanced user
Advanced user
Joined: Jan 14, 2011
Posts: 199
Location: Malaysia




Code:
<?php

include("dbconnect.php");

function disguise_curl($url)

{

$curl = curl_init();





$header[0] = "Accept: text/xml,application/xml,application/xhtml+xml,";

$header[0] .= "text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5";

$header[] = "Cache-Control: max-age=0";

$header[] = "Connection: keep-alive";

$header[] = "Keep-Alive: 300";

$header[] = "Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7";

$header[] = "Accept-Language: en-us,en;q=0.5";

$header[] = "Pragma: "; // browsers keep this blank.



curl_setopt($curl, CURLOPT_URL, $url);

curl_setopt($curl, CURLOPT_USERAGENT, 'Googlebot/2.1 (+http://www.google.com/bot.html)');

curl_setopt($curl, CURLOPT_HTTPHEADER, $header);

curl_setopt($curl, CURLOPT_REFERER, 'http://www.google.com');

curl_setopt($curl, CURLOPT_ENCODING, '');

curl_setopt($curl, CURLOPT_AUTOREFERER, true);

curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1);

curl_setopt($curl, CURLOPT_TIMEOUT, 1000);



$html = curl_exec($curl);

curl_close($curl);



return $html;

}



// function for showing an admin error message in a table

function errormess2($hiba){
?>
<div id="status_msg">
<h3>The following error(s) were found</h3>
<p><?php echo $hiba;?></p>
</div>
<!-- <table width=80% align=center bgcolor=#CCCCCC cellspacing=1 cellpadding=3>

<tr><td bgcolor=darkred><b><font color=white>A következõ hibá(k) fordultak elõ:</font></b></td></tr>

<tr><td bgcolor=#FFFFFF align=center><?php //echo $hiba;?></td></tr></table>-->
<?php
}
// function for showing an error message in a table
function errormess($hiba){
?>
<div id="status_msg">
<h3>The following error(s) were found</h3>
<p><?php echo $hiba;?></p>
</div>
<?php
}



// function for showing a success message

function successmess($hiba){
?>
<div id="status_msg">
<h3>Your submission has been received successfully</h3>
<p><?php echo $hiba;?></p>
</div>
<?php
}



// shows referral credit earnings from a user



function getearnbylevel($did,$level){

$szint = "refpc".$level;

$var = mysql_query("SELECT $szint FROM setupinfo") or die(mysql_error());

$sor=mysql_fetch_array($var);

$earn = getsurfedcredits($did);

$res = ($earn/100)*$sor[$szint];

return $res;

}



// shows total referral credit earnings by level

function gettotalbylevel($uid,$level){

$o = "referrer".$level;

$var = mysql_query("SELECT username FROM users WHERE $o='$uid' AND status='active'") or die(mysql_error());

$res = 0;

while ($sor=@mysql_fetch_array($var)){

@extract($sor);

$res = $res + getearnbylevel($username,$level);

}

return $res;

}



// shows total referral credit earnings

function gettotalrefcredits($uid){

$i=1; $total = 0;

$var = mysql_query("SELECT rlevels FROM setupinfo") or die(mysql_error());

extract(mysql_fetch_array($var));

while ($i<=$rlevels){

$total = $total + gettotalbylevel($uid,$i);

$i=$i+1;

}

return $total;

}



function showlink($lid){

$var = mysql_query("SELECT * FROM textlinks WHERE linkid=$lid");

@extract(@mysql_fetch_array($var));

$var = mysql_query("UPDATE textlinks SET limpress=limpress+1 WHERE linkid=$lid") or die(mysql_error());

print("<a href=textout.php?url=$lurl target=_blank>$ltitle</a>");

}



function showeverylink($divider){

$var = mysql_query("SELECT linkid FROM textlinks WHERE lexpire>lhits ORDER BY rand()");

while($sor=@mysql_fetch_array($var)){

@extract($sor); showlink($linkid); print($divider);

}

}



function showrandomlink(){

$var = mysql_query("SELECT * FROM textlinks WHERE lexpire>lhits ORDER BY rand()");

$sor = @mysql_fetch_array($var);

$lid = $sor["linkid"]; showlink($lid);

}



function error_mess($errmess){

print("<center><font color=darkred>$errmess</font></center>");

}



function showbanner(){

$sql=mysql_query("SELECT * FROM banner WHERE remain>0 order by rand()");

$sor=@mysql_fetch_array($sql);

$flink=$sor["linkurl"]; $furl=$sor["imageurl"]; $fnum=$sor["banid"];

echo"<a href=out.php?bannerid=$fnum target=blank><img src='$furl' border=0></a>";

mysql_query("UPDATE banner SET remain=remain-1 WHERE banid=$fnum");



}



function total_members(){

$var = mysql_query("SELECT username FROM users WHERE status='active'") or die(mysql_error());

return (mysql_num_rows($var));

}



function total_sites(){

$var = mysql_query("SELECT s_id FROM sites") or die(mysql_error());

return (mysql_num_rows($var));

}



function total_active_sites(){

$var = mysql_query("SELECT s_id FROM sites WHERE s_status='A'") or die(mysql_error());

return (mysql_num_rows($var));

}



function total_banners(){

$var = mysql_query("SELECT * FROM banner") or die(mysql_error());

return (mysql_num_rows($var));

}





function getsurfedcredits($uid){

$var = mysql_query("SELECT earned FROM users WHERE username='$uid'") or die(mysql_error());

extract(mysql_fetch_array($var));

return $earned;

}





function getdirectcredits($uid){

$var = mysql_query("SELECT earned FROM users WHERE username='$uid'") or die(mysql_error());

@extract(@mysql_fetch_array($var));

$var = mysql_query("SELECT s_amount FROM debits WHERE s_user='$uid' AND s_type=0") or die(mysql_error());

while ($sor=@mysql_fetch_array($var)){

@extract($sor);

$earned = $earned-$s_amount;

}

$var = mysql_query("SELECT s_amount FROM credits WHERE s_user='$uid' AND s_type=0") or die(mysql_error());

while ($sor=@mysql_fetch_array($var)){

@extract($sor);

$earned = $earned+$s_amount;

}

return $earned;

}

function isIDexists($tablename,$id){

$query = "SELECT * FROM ".$tablename." WHERE ".$id[0]."=".$id[1];

$result = mysql_query($query);

if($result){

if(mysql_num_rows($result) > 0){

return true;

}

}

return false;

}





function getbanners($uid){

$total = getdirectbanners($uid) + gettotalrefbanners($uid);

return $total;

}



function getcredits($uid){

$total = getdirectcredits($uid) + gettotalrefcredits($uid);

return $total;

}



function pds_footer() {

$content = 'Powered by <a href="http://www.phpdirsubmit.com">PHP Dir Submit</a>';

echo $content;

}



// site variables

$var = mysql_query('SELECT * FROM config') or die(mysql_error());

if (mysql_num_rows($var)>0){

while($sor=mysql_fetch_array($var)){

extract($sor);



$sitetitle = "$title";

$site_url = "$site_url";

$adminmail = "$admin_email";

$signup_bonus = "$s_bonus";

$credit_cost = "$credit_cost";

$admin_paypal = "$pp_email";

$packworth_20 = "$pack_20";

$packworth_50 = "$pack_50";

$packworth_100 = "$pack_100";

$monthly_fee = "$monthly_cost";

$pp_pdtkey="$pdtkey";

$pp_subscribebid="$subscribebid";

$free_unlimited = "$unlimiteduse";

$hp_title = "$hptitle";

$hp_description = "$hpdescription";

$hp_keywords = "$hpkeywords";

}

}
?>
View user's profile Send private message
Help me again to decode this
www.waraxe.us Forum Index -> PHP script decode requests
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT
Page 1 of 1

Post new topicReply to topic


Powered by phpBB © 2001-2008 phpBB Group



PCWizardHub - Helping you fix, build, and optimize your PC life
All logos and trademarks in this site are property of their respective owner. The comments and posts are property of their posters, all the rest (c) 2004-2024 Janek Vind "waraxe"
Page Generation: 0.041 Seconds