Waraxe IT Security Portal
Login or Register
October 7, 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: 3336
Members: 0
Total: 3336
Full disclosure
[0day-rubbish] StreamSets Transformer 3.17.0 auth-mode none fallback and un-sandboxed ScalaDTransform execution to container root (8.1 primary)
[0day-rubbish] RCDevs WebADM 2.4.14 authenticated log viewer sid command injection to webadm uid 999 code execution (7.2)
[0day-rubbish] Maian Cart 3.8 addBanners unrestricted banner upload to PHP webshell and administrator command execution (7.2 primary, PR:H)
[0day-rubbish] IPConfigure Orchid VMS 26.3.0 authenticated DNF repository GPG-key property command injection to root (7.2)
[0day-rubbish] Circutor LineEds 24.11.14-r0 unauthenticated pwrstudio events.xml shellExecute command injection (9.8)
[0day-rubbish] Asustor ADM 3.5.9.RWM1 (AS602T) music.cgi act=live stored-filename command injection reaching system() (8.8 primary, PR:L)
[0day-rubbish] Advantech WebAccess Node 9.2.3 unauthenticated CrystalRpt.aspx file upload and path traversal to code execution in w3wp.exe (9.8)
SEC Consult Research 20261001 :: Arbitrary Email sender spoofing in Apple iCloud mail
SEC Consult SA-20260924-0 :: Multiple Vulnerabilities in Paessler PRTG Network Monitor #CVE-2026-4637 #CVE-2026-4638
[NotCVE-2026-0019] game-music-emu through 0.6.5 VGM Command Interpreter Missing Operand Length Check Allows Heap Out-of-Bounds Read
[NotCVE-2026-0018] game-music-emu (libgme) through 0.6.5 Unbounded GYM Command Loop Allows Heap Out-of-Bounds Read
[NotCVE-2026-0017] game-music-emu (libgme) 0.6.5 and Earlier AY Loader NULL Pointer Dereference Allows Denial of Service
[NotCVE-2026-0016] game-music-emu VGM Command Interpreter Unvalidated 0xE0 PCM Seek Offset Allows Out-of-Bounds Read and Denial of Service
APPLE-SA-09-28-2026-3 macOS Sequoia 15.8.1
APPLE-SA-09-28-2026-2 macOS Tahoe 26.7.1
Log in Register Forum FAQ Memberlist Search
IT Security and Insecurity Portal

www.waraxe.us Forum Index -> PHP script decode requests -> help on decoding this strange php
Post new topicReply to topic View previous topic :: View next topic
help on decoding this strange php
PostPosted: Tue Feb 22, 2011 1:59 pm Reply with quote
boris123
Beginner
Beginner
Joined: Feb 22, 2011
Posts: 4




Hi all,

I'm no script kiddie, but donno how to decode this, so any help would be appreciated:)
First, it was encoded in Zend, but no probs there:) , now, it's obfuscated as well, and I don't know how to deobfuscate it.
If anyone knows how to do it, I'd love to get the deobf. script, cause there are many more files, where this one came from.
Thx in advance:)

Code:
<?php

class channel

{



var $channel_id;

var $name;

var $campaign_type_code;

var $description;

var $exclusive = false;

var $admin_only = false;

var $minimum_cpc = 0;

var $is_advertiser_default_selection = false;

var $advertiser_availability = true;

var $publisher_availability = true;

var $minimum_bid_increment = 0.01;



function initializefromdatabaserow( $_obfuscate_vP48y7gTWnAO1s )

{

$this->channel_id = $_obfuscate_vP48y7gTWnAO1s->zone_id;

$this->name = $_obfuscate_vP48y7gTWnAO1s->zone_name;

$this->campaign_type_code = $_obfuscate_vP48y7gTWnAO1s->zone_camp_type;

$this->description = html_entity_decode( $_obfuscate_vP48y7gTWnAO1s->zone_desc );

$this->minimum_cpc = $_obfuscate_vP48y7gTWnAO1s->zone_min_cpc;

$this->minimum_bid_increment = $_obfuscate_vP48y7gTWnAO1s->zone_min_bid_increment;

if ( $_obfuscate_vP48y7gTWnAO1s->zone_exclusive == 1 )

{

$this->exclusive = true;

}

if ( $_obfuscate_vP48y7gTWnAO1s->zone_admin == 1 )

{

$this->admin_only = true;

}

if ( $_obfuscate_vP48y7gTWnAO1s->zone_advertiser_default_selection_flag == 1 )

{

$this->is_advertiser_default_selection = true;

}

if ( $_obfuscate_vP48y7gTWnAO1s->zone_advertiser_availability_flag == 0 )

{

$this->advertiser_availability = false;

}

if ( $_obfuscate_vP48y7gTWnAO1s->zone_publisher_availability_flag == 0 )

{

$this->publisher_availability = false;

}

}



function getchannelid( )

{

return $this->channel_id;

}



function getname( )

{

return $this->name;

}



function setname( $_obfuscate_j8NssJYk8SA )

{

$this->name = $_obfuscate_j8NssJYk8SA;

}



function getcampaigntypecode( )

{

return $this->campaign_type_code;

}



function setcampaigntypecode( $_obfuscate_j8NssJYk8SA )

{

$this->campaign_type_code = $_obfuscate_j8NssJYk8SA;

}



function getdescription( )

{

return $this->description;

}



function setdescription( $_obfuscate_j8NssJYk8SA )

{

$this->description = $_obfuscate_j8NssJYk8SA;

}



function isexclusive( )

{

return $this->exclusive;

}



function getisexclusive( )

{

return $this->exclusive;

}



function setisexclusive( $_obfuscate_j8NssJYk8SA )

{

$this->exclusive = $_obfuscate_j8NssJYk8SA;

}



function isadminonly( )

{

return $this->admin_only;

}



function getisadminonly( )

{

return $this->admin_only;

}



function setisadminonly( $_obfuscate_j8NssJYk8SA )

{

$this->admin_only = $_obfuscate_j8NssJYk8SA;

}



function getisadvertiserdefaultselection( )

{

return $this->is_advertiser_default_selection;

}



function setisadvertiserdefaultselection( $_obfuscate_j8NssJYk8SA )

{

$this->is_advertiser_default_selection = $_obfuscate_j8NssJYk8SA;

}



function getadvertiseravailability( )

{

return $this->advertiser_availability;

}



function setadvertiseravailability( $_obfuscate_j8NssJYk8SA )

{

$this->advertiser_availability = $_obfuscate_j8NssJYk8SA;

}



function getpublisheravailability( )

{

return $this->publisher_availability;

}



function setpublisheravailability( $_obfuscate_j8NssJYk8SA )

{

$this->publisher_availability = $_obfuscate_j8NssJYk8SA;

}



function getminimumcpc( )

{

return $this->minimum_cpc;

}



function setminimumcpc( $_obfuscate_j8NssJYk8SA )

{

$this->minimum_cpc = $_obfuscate_j8NssJYk8SA;

}



function getminimumbidincrement( )

{

return $this->minimum_bid_increment;

}



function setminimumbidincrement( $_obfuscate_j8NssJYk8SA )

{

$this->minimum_bid_increment = $_obfuscate_j8NssJYk8SA;

}



}



class channelmanager

{



var $error_handler;

var $user_id;



function channelmanager( $_obfuscate_ZzARptPPwSUfUQ, $_obfuscate_553ZRyYlYJs3SlbQltegdg )

{

$this->error_handler = $_obfuscate_553ZRyYlYJs3SlbQltegdg;

$this->user_id = $_obfuscate_ZzARptPPwSUfUQ;

}



function getchannellistforpublisher( $_obfuscate_b6Q71WAFyypgLCvtwmSVKmig = "cpc", $_obfuscate_wZGctGGamHY = false )

{

return $this->getchannellist( $_obfuscate_b6Q71WAFyypgLCvtwmSVKmig, $_obfuscate_wZGctGGamHY, false, true );

}



function getchannellistforadvertiser( $_obfuscate_b6Q71WAFyypgLCvtwmSVKmig = "cpc", $_obfuscate_wZGctGGamHY = true )

{

return $this->getchannellist( $_obfuscate_b6Q71WAFyypgLCvtwmSVKmig, $_obfuscate_wZGctGGamHY, true, false );

}



function getchannellist( $_obfuscate_b6Q71WAFyypgLCvtwmSVKmig = "cpc", $_obfuscate_wZGctGGamHY = true, $_obfuscate_J1POlMxLHrxlTCaLw5c = false, $_obfuscate_94vVIL8NgVysdTOhSg = false )

{

$_obfuscate_bn7PHkUdOTLWMYbvPCDcwg = array( );

$_obfuscate_PvJCXxo9VOY2RFapqlT04Tb2RA = new databasecontroller( $this->error_handler );

$_obfuscate_mdxpG2nm1T6LevICspyIdQ = $_obfuscate_PvJCXxo9VOY2RFapqlT04Tb2RA->getconnection( $_obfuscate_PvJCXxo9VOY2RFapqlT04Tb2RA->CONNECTION_TYPE_ADVERTISER, false, "channel_manager" );

$_obfuscate_R710rzhnPwPLUJ61 = "";

$_obfuscate_MtAz_La6mccmMGjsC8aafifM = "SELECT * FROM ".$_obfuscate_mdxpG2nm1T6LevICspyIdQ->gettablename( "zones" );

if ( $_obfuscate_b6Q71WAFyypgLCvtwmSVKmig != false )

{

$_obfuscate_R710rzhnPwPLUJ61 .= " WHERE zone_camp_type='".$_obfuscate_b6Q71WAFyypgLCvtwmSVKmig."'";

}

if ( $_obfuscate_wZGctGGamHY )

{

if ( $_obfuscate_J1POlMxLHrxlTCaLw5c )

{

if ( $_obfuscate_R710rzhnPwPLUJ61 == "" )

{

$_obfuscate_R710rzhnPwPLUJ61 .= " WHERE ";

}

else

{

$_obfuscate_R710rzhnPwPLUJ61 .= " AND ";

}

$_obfuscate_R710rzhnPwPLUJ61 .= " zone_advertiser_availability_flag = 1";

}

if ( $_obfuscate_94vVIL8NgVysdTOhSg )

{

if ( $_obfuscate_R710rzhnPwPLUJ61 == "" )

{

$_obfuscate_R710rzhnPwPLUJ61 .= " WHERE ";

}

else

{

$_obfuscate_R710rzhnPwPLUJ61 .= " AND ";

}

$_obfuscate_R710rzhnPwPLUJ61 .= " zone_publisher_availability_flag = 1";

}

}

$_obfuscate_MtAz_La6mccmMGjsC8aafifM .= $_obfuscate_R710rzhnPwPLUJ61." ORDER BY zone_name";

if ( $_obfuscate_JiuF4_bz016jkcNBNSyiA3 = $_obfuscate_mdxpG2nm1T6LevICspyIdQ->executequery( $_obfuscate_MtAz_La6mccmMGjsC8aafifM, "get channel list", $this->error_handler ) )

{

return false;

}

while ( $_obfuscate_rEwrkaxvDnc7QYZj = $_obfuscate_mdxpG2nm1T6LevICspyIdQ->fetchnextrowasobject( $_obfuscate_JiuF4_bz016jkcNBNSyiA3 ) )

{

$_obfuscate_eRAoDybn9bliFMXWk96P = new channel( );

$_obfuscate_eRAoDybn9bliFMXWk96P->initializefromdatabaserow( $_obfuscate_rEwrkaxvDnc7QYZj );

array_push( &$_obfuscate_bn7PHkUdOTLWMYbvPCDcwg, $_obfuscate_eRAoDybn9bliFMXWk96P );

}

return $_obfuscate_bn7PHkUdOTLWMYbvPCDcwg;

}



function getchannelbyid( $_obfuscate_b6Q71WAFyypgLCvtwmSVKmig, $_obfuscate_EYMN6w80Zz_Lkw )

{

static $channel_campaign_type_map = array( );

static $full_channel_list = array( );

$_obfuscate_acqsPQEM8pIKN_sB = false;

if ( $_obfuscate_b6Q71WAFyypgLCvtwmSVKmig )

{

if ( array_key_exists( $_obfuscate_b6Q71WAFyypgLCvtwmSVKmig, $channel_campaign_type_map ) )

{

$_obfuscate_acqsPQEM8pIKN_sB = ( $_obfuscate_b6Q71WAFyypgLCvtwmSVKmig, true );

$channel_campaign_type_map[$_obfuscate_b6Q71WAFyypgLCvtwmSVKmig] = $_obfuscate_acqsPQEM8pIKN_sB;

}

else

{

$_obfuscate_acqsPQEM8pIKN_sB = $channel_campaign_type_map[$_obfuscate_b6Q71WAFyypgLCvtwmSVKmig];

}

}

else

{

if ( sizeof( $full_channel_list ) == 0 )

{

$full_channel_list = ( false, true );

}

$_obfuscate_acqsPQEM8pIKN_sB = $full_channel_list;

}

$_obfuscate_5Q = 0;

for ( ; $_obfuscate_5Q < sizeof( $_obfuscate_acqsPQEM8pIKN_sB ); ++$_obfuscate_5Q )

{

if ( $_obfuscate_acqsPQEM8pIKN_sB[$_obfuscate_5Q]->channel_id == $_obfuscate_EYMN6w80Zz_Lkw )

{

return $_obfuscate_acqsPQEM8pIKN_sB[$_obfuscate_5Q];

}

}

return false;

}



function deletechannelbyid( $_obfuscate_EYMN6w80Zz_Lkw )

{

if ( is_numeric( $_obfuscate_EYMN6w80Zz_Lkw ) )

{

return false;

}

$_obfuscate_PvJCXxo9VOY2RFapqlT04Tb2RA = new databasecontroller( $this->error_handler );

$_obfuscate_P5KViV9tCC1WtEL7Gy84TCQ = $_obfuscate_PvJCXxo9VOY2RFapqlT04Tb2RA->getconnection( $_obfuscate_PvJCXxo9VOY2RFapqlT04Tb2RA->CONNECTION_TYPE_ADMIN, true, "channel_manager" );

$_obfuscate_fnKa98o8K4Rrsa1j4hDBnQ = "DELETE FROM ".$_obfuscate_P5KViV9tCC1WtEL7Gy84TCQ->gettablename( "zones" );

$_obfuscate_fnKa98o8K4Rrsa1j4hDBnQ .= " WHERE zone_id = ".$_obfuscate_EYMN6w80Zz_Lkw;

if ( $_obfuscate_P5KViV9tCC1WtEL7Gy84TCQ->executequery( $_obfuscate_fnKa98o8K4Rrsa1j4hDBnQ, "Delete the specified channel", $this->error_handler ) )

{

return false;

}

return true;

}



function createchannel( $_obfuscate_YOgrrfxzVpZmg )

{

$this->_internal_updatechannel( $_obfuscate_YOgrrfxzVpZmg, true );

}



function updatechannel( $_obfuscate_YOgrrfxzVpZmg )

{

$this->_internal_updatechannel( $_obfuscate_YOgrrfxzVpZmg, false );

}



function _internal_updatechannel( $_obfuscate_YOgrrfxzVpZmg, $_obfuscate_TMoT )

{

$_obfuscate_PvJCXxo9VOY2RFapqlT04Tb2RA = new databasecontroller( $this->error_handler );

$_obfuscate_P5KViV9tCC1WtEL7Gy84TCQ = $_obfuscate_PvJCXxo9VOY2RFapqlT04Tb2RA->getconnection( $_obfuscate_PvJCXxo9VOY2RFapqlT04Tb2RA->CONNECTION_TYPE_ADMIN, true, "channel_manager" );

$_obfuscate_QzZM3h7JftVoAXN_4Q = $_obfuscate_P5KViV9tCC1WtEL7Gy84TCQ->gettablename( "zones" );

$_obfuscate_MCARl7N52QcTeSME = $_obfuscate_P5KViV9tCC1WtEL7Gy84TCQ->cleanforsql( $_obfuscate_YOgrrfxzVpZmg->getname( ) );

$_obfuscate_k7C7Rhub3q0jPWIuBZWYja_so1gQodGdJDk = $_obfuscate_P5KViV9tCC1WtEL7Gy84TCQ->cleanforsql( $_obfuscate_YOgrrfxzVpZmg->getcampaigntypecode( ) );

$_obfuscate_dlS8K8VhbFWnMpVzcJTG2HxTsw = $_obfuscate_P5KViV9tCC1WtEL7Gy84TCQ->cleanforsql( $_obfuscate_YOgrrfxzVpZmg->getdescription( ) );

$_obfuscate_AbY22c7HrqCp3DAChYyqjwGuNA = $_obfuscate_P5KViV9tCC1WtEL7Gy84TCQ->cleanforsql( $_obfuscate_YOgrrfxzVpZmg->getminimumcpc( ) );

$_obfuscate_gULbKInmTxgTjwgsDojuloBD3hmO7UA1G4sDKxc = $_obfuscate_P5KViV9tCC1WtEL7Gy84TCQ->cleanforsql( $_obfuscate_YOgrrfxzVpZmg->getminimumbidincrement( ) );

$_obfuscate_ViiPChaqxO21LP1TaI8rLlAfiAgZqA = 0;

if ( $_obfuscate_YOgrrfxzVpZmg->getisexclusive( ) )

{

$_obfuscate_ViiPChaqxO21LP1TaI8rLlAfiAgZqA = 1;

}

$_obfuscate_6jD4C8fSSaQG0qlRtUVLPsH_OQgE0kYggdEoFvfIilOf4 = 0;

if ( $_obfuscate_YOgrrfxzVpZmg->getpublisheravailability( ) )

{

$_obfuscate_6jD4C8fSSaQG0qlRtUVLPsH_OQgE0kYggdEoFvfIilOf4 = 1;

}

$_obfuscate_0zugpqa1sKPn2whvtbNR_NUhnqm_sbWQ590XZq6zQdTWP6Cv = 0;

if ( $_obfuscate_YOgrrfxzVpZmg->getadvertiseravailability( ) )

{

$_obfuscate_0zugpqa1sKPn2whvtbNR_NUhnqm_sbWQ590XZq6zQdTWP6Cv = 1;

}

$_obfuscate_fzP3Ut0JG6WzoAdnc8W5f308 = 0;

if ( $_obfuscate_YOgrrfxzVpZmg->getisadminonly( ) )

{

$_obfuscate_fzP3Ut0JG6WzoAdnc8W5f308 = 1;

}

$_obfuscate_OpGBayXOEjwduKNH0eFG2yqcjGAo3xcMF4KjSsXq = 0;

if ( $_obfuscate_YOgrrfxzVpZmg->getisadvertiserdefaultselection( ) )

{

$_obfuscate_OpGBayXOEjwduKNH0eFG2yqcjGAo3xcMF4KjSsXq = 1;

}

if ( $_obfuscate_TMoT )

{

$_obfuscate_vHHdfBMG82fk6RGkFlaaw = "INSERT INTO ".$_obfuscate_QzZM3h7JftVoAXN_4Q;

$_obfuscate_vHHdfBMG82fk6RGkFlaaw .= " (zone_name, zone_camp_type, zone_desc, zone_min_cpc, zone_exclusive, zone_admin, zone_publisher_availability_flag, zone_advertiser_availability_flag, zone_advertiser_default_selection_flag, zone_min_bid_increment)";

$_obfuscate_vHHdfBMG82fk6RGkFlaaw .= " VALUES ('".$_obfuscate_MCARl7N52QcTeSME."', '{$_obfuscate_k7C7Rhub3q0jPWIuBZWYja_so1gQodGdJDk}', '{$_obfuscate_dlS8K8VhbFWnMpVzcJTG2HxTsw}', {$_obfuscate_AbY22c7HrqCp3DAChYyqjwGuNA}, {$_obfuscate_ViiPChaqxO21LP1TaI8rLlAfiAgZqA}, {$_obfuscate_fzP3Ut0JG6WzoAdnc8W5f308}, {$_obfuscate_6jD4C8fSSaQG0qlRtUVLPsH_OQgE0kYggdEoFvfIilOf4}, {$_obfuscate_0zugpqa1sKPn2whvtbNR_NUhnqm_sbWQ590XZq6zQdTWP6Cv}, {$_obfuscate_OpGBayXOEjwduKNH0eFG2yqcjGAo3xcMF4KjSsXq}, {$_obfuscate_gULbKInmTxgTjwgsDojuloBD3hmO7UA1G4sDKxc})";

$_obfuscate_P5KViV9tCC1WtEL7Gy84TCQ->executequery( $_obfuscate_vHHdfBMG82fk6RGkFlaaw, "Add new channel", $this->error_handler );

}

else

{

$_obfuscate_0bJt6etmMl8WiV0Ne4psZQ = "UPDATE ".$_obfuscate_QzZM3h7JftVoAXN_4Q;

$_obfuscate_0bJt6etmMl8WiV0Ne4psZQ .= " SET zone_name='".$_obfuscate_MCARl7N52QcTeSME."', zone_camp_type='{$_obfuscate_k7C7Rhub3q0jPWIuBZWYja_so1gQodGdJDk}', zone_desc='{$_obfuscate_dlS8K8VhbFWnMpVzcJTG2HxTsw}', zone_min_cpc={$_obfuscate_AbY22c7HrqCp3DAChYyqjwGuNA},";

$_obfuscate_0bJt6etmMl8WiV0Ne4psZQ .= " zone_exclusive=".$_obfuscate_ViiPChaqxO21LP1TaI8rLlAfiAgZqA.", zone_admin={$_obfuscate_fzP3Ut0JG6WzoAdnc8W5f308}, zone_publisher_availability_flag={$_obfuscate_6jD4C8fSSaQG0qlRtUVLPsH_OQgE0kYggdEoFvfIilOf4}, zone_advertiser_availability_flag={$_obfuscate_0zugpqa1sKPn2whvtbNR_NUhnqm_sbWQ590XZq6zQdTWP6Cv},";

$_obfuscate_0bJt6etmMl8WiV0Ne4psZQ .= " zone_advertiser_default_selection_flag=".$_obfuscate_OpGBayXOEjwduKNH0eFG2yqcjGAo3xcMF4KjSsXq.", zone_min_bid_increment={$_obfuscate_gULbKInmTxgTjwgsDojuloBD3hmO7UA1G4sDKxc}";

$_obfuscate_0bJt6etmMl8WiV0Ne4psZQ .= " WHERE zone_id = ".$_obfuscate_YOgrrfxzVpZmg->getchannelid( );

$_obfuscate_P5KViV9tCC1WtEL7Gy84TCQ->executequery( $_obfuscate_0bJt6etmMl8WiV0Ne4psZQ, "Update channel", $this->error_handler );

}

return true;

}



}



require_once( WTF_CLASSES_DIR."/database/DatabaseController.php" );

?>
View user's profile Send private message
PostPosted: Tue Mar 15, 2011 8:42 am Reply with quote
markehdotme
Regular user
Regular user
Joined: Mar 15, 2011
Posts: 7




The variables have been mass-replaced - it's impossible to get the originals back without knowing the algorithm that they used.

Otherwise, the code is there.
View user's profile Send private message
help on decoding this strange php
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.038 Seconds