Waraxe IT Security Portal
Login or Register
November 18, 2024
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: 66
Members: 0
Total: 66
Full disclosure
SEC Consult SA-20241112-0 :: Multiple vulnerabilities in Siemens Energy Omnivise T3000 (CVE-2024-38876, CVE-2024-38877, CVE-2024-38878, CVE-2024-38879)
Security issue in the TX Text Control .NET Server for ASP.NET.
SEC Consult SA-20241107-0 :: Multiple Vulnerabilities in HASOMED Elefant and Elefant Software Updater
Unsafe eval() in TestRail CLI
4 vulnerabilities in ibmsecurity
32 vulnerabilities in IBM Security Verify Access
xlibre Xnest security advisory & bugfix releases
APPLE-SA-10-29-2024-1 Safari 18.1
SEC Consult SA-20241030-0 :: Query Filter Injection in Ping Identity PingIDM (formerly known as ForgeRock Identity Management) (CVE-2024-23600)
SEC Consult SA-20241023-0 :: Authenticated Remote Code Execution in Multiple Xerox printers (CVE-2024-6333)
APPLE-SA-10-28-2024-8 visionOS 2.1
APPLE-SA-10-28-2024-7 tvOS 18.1
APPLE-SA-10-28-2024-6 watchOS 11.1
APPLE-SA-10-28-2024-5 macOS Ventura 13.7.1
APPLE-SA-10-28-2024-4 macOS Sonoma 14.7.1
Log in Register Forum FAQ Memberlist Search
IT Security and Insecurity Portal

www.waraxe.us Forum Index -> MD5 hashes -> Can obfuscated PHP code be decoded ?
Post new topicReply to topic View previous topic :: View next topic
Can obfuscated PHP code be decoded ?
PostPosted: Mon Jun 04, 2012 4:42 am Reply with quote
jamestan
Beginner
Beginner
Joined: Jun 04, 2012
Posts: 1




I have downloaded an open source application. However, 2 of the files are decrypted. I really would love to get readable.
Here is the first file that I would like to get decoded:

<?php
$OOO0O0O00=__FILE__;$OOO000000=urldecode('%74%68%36%73%62%65%68%71%6c%61%34%63%6f%5f%73%61%64%66%70%6e%72');$OO00O0000=5684;$OOO0000O0=$OOO000000{4}.$OOO000000{9}.$OOO000000{3}.$OOO000000{5};$OOO0000O0.=$OOO000000{2}.$OOO000000{10}.$OOO000000{13}.$OOO000000{16};$OOO0000O0.=$OOO0000O0{3}.$OOO000000{11}.$OOO000000{12}.$OOO0000O0{7}.$OOO000000{5};$O0O0000O0='OOO0000O0';eval(($$O0O0000O0('JE9PME9PMDAwMD0kT09PMDAwMDAwezE3fS4kT09PMDAwMDAwezEyfS4kT09PMDAwMDAwezE4fS4kT09PMDAwMDAwezV9LiRPT08wMDAwMDB7MTl9O2lmKCEwKSRPMDAwTzBPMDA9JE9PME9PMDAwMCgkT09PME8wTzAwLCdyYicpOyRPTzBPTzAwME89JE9PTzAwMDAwMHsxN30uJE9PTzAwMDAwMHsyMH0uJE9PTzAwMDAwMHs1fS4kT09PMDAwMDAwezl9LiRPT08wMDAwMDB7MTZ9OyRPTzBPTzAwTzA9JE9PTzAwMDAwMHsxNH0uJE9PTzAwMDAwMHswfS4kT09PMDAwMDAwezIwfS4kT09PMDAwMDAwezB9LiRPT08wMDAwMDB7MjB9OyRPTzBPTzAwME8oJE8wMDBPME8wMCwxMjY1KTskT08wME8wME8wPSgkT09PMDAwME8wKCRPTzBPTzAwTzAoJE9PME9PMDAwTygkTzAwME8wTzAwLDM4MCksJzVhU2lrSXNXbWZPRHRkZ0U4cEtuUjROdlgyK2VsUExDOTNRLzZyY0ZUb3V3aFpVQU1qSFliMTdxeEIwSlZ6R3k9JywnQUJDREVGR0hJSktMTU5PUFFSU1RVVldYWVphYmNkZWZnaGlqa2xtbm9wcXJzdHV2d3h5ejAxMjM0NTY3ODkrLycpKSk7ZXZhbCgkT08wME8wME8wKTs=')));return;?>
fkzEtiaEtiaEti1YPWf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X6esz/XNjCPvdrlrhFPvdrlrzbLvarf1bGtKrJSFfrPW4HeQablF4rgMoz2NjY2KaJSFfrPW4HeQacXNjY2nhOC8ozSc21ecdb+NzUmsrYv7jA27rUOS6OLMoo2Q96Ps3olHbGXq4Hlc4UPIz1l74HOvhOlc4bPvfUmWpHPNRJSF1reWdrmWhOlc4bPvfUms23eWdrgMozSFbO2F4UXqpoe7x9XNo3LIz/+s4/+1zr2srb2vmTO8oJScrcOSpb+srYDnBol1zr2srb2vmTOKrJSFfrPW4HeQablF4rgMoz2NjY2KaJSQpH2vdMe7BY2K5zmsIHlcIBOSPH2vd1eW8FEnBcXNjY2KMFeN4Yl7IF2KlzEQfUeH1M2vfZ+vdY+NzUmQ6JSc4/+sV9+FdAerzrecdA2sRTfWfrlqaAeFdrOnhO2srrOS6JSFbOC8ocPNB/PsrAeQa3+cIxv7dT2Ndwv7jA27rUOS6OLMoo2Q96Ps3olHbG+vdCeszF+NxTOKrJSFfrPW4HeQablF4rgMoz2NjY2KaJSQpH2vdMe7BY2K5zmsIHlcIBOSPH2vd1eW8FEnBcXNjY2KMFeN4Yl7IF2KlzEQfUeq8ZeszF+NxQOnhO2NdTeHaul7zUv74UX7z62K96lc4YlszUl7RogMo6+NRTOnhOC8ozSFb=
View user's profile Send private message
PostPosted: Wed Jun 20, 2012 1:41 pm Reply with quote
astra1993
Advanced user
Advanced user
Joined: Jun 20, 2012
Posts: 125




I reversed engineered the code. But the code has defections that prevents it from running correctly (You can run the script directly to see for yourself!). But I managed to clear the crippled code and repair some parts by myself. This is the decoded form:

Code:

<?php
class basecontroller extends spController
{
public function __construct() {
parent::__construct();
$this->session = spClass('Session');
$this->cookie = spClass('Cookie');
$this->user_lib = spClass('UserLib');
$this->ptx_settings = spClass('ptx_settings');
$this->settings = $this->ptx_settings->getSettings();
$this->fetch_global();
$this->current_user = $this->user_lib->get_session();
$this->themes = $this->settings['ui_styles']['style'];
$this->version = 'V'.$GLOBALS['G_SP']['product_info']["version"];
$ptx_category = spClass('ptx_category');
$this->categories = $ptx_category->get_category_top();
$this->prepare_parameter();
if($this->settings['basic_setting']['site_close']&&!$this->is_admin()){
$this->showError("站点维护中,请稍候访问。");
}
}
private function showError($message=''){
$this->message=$message;
$this->ouput('/errorpage/error.php');
exit();
}
public function fetch_global(){
GLOBAL $__controller,$__action;
$this->current_controller = $__controller;
$this->current_action = $__action;
}
public function set_header(){
$this->prepare_nav();
$this->tpl_header = $this->render('/common/header.php');
}
public function set_footer(){
$this->set_js_tpl();
$this->tpl_footer = $this->render('/common/footer.php');
}
public function prepare_nav(){
$this->tpl_nav = $this->render('/common/nav.php');
}
public function set_js_tpl($tpl=null){
$this->tpl_js = $this->render('/js_tpl/login_box_tpl.php');
$this->tpl_js .= $this->render('/js_tpl/register_box_tpl.php');
$this->tpl_js .= $this->render('/js_tpl/publish_tpl.php');
$this->tpl_js .= $this->render('/js_tpl/comment_tpl.php');
$this->tpl_js .= $this->render('/js_tpl/avatar_tpl.php');
$this->tpl_js .= $this->render('/js_tpl/crop_dialog_tpl.php');
$this->tpl_js .= $this->render('/js_tpl/push_dialog_tpl.php');
}
public function render($tpl){
return $this->display($this->themes.$tpl,false);
}
public function ouput($tpl){
$this->set_header();
$this->set_footer();
$this->display($this->themes.$tpl,true);
}
public function set_tagcloud(){
return $this->render('/common/tagcloud.php');
}
public function waterfallView($arr,$type='pin'){
switch ($type) {
case 'pin':
$this->shares = $arr;
break;
}
$this->tpl_waterfall = $this->render('/waterfall/pin.php');
}
public function prepare_parameter(){
$cat_id = $this->spArgs("cat");
if($cat_id&&is_numeric($cat_id)){
$this->category_id = $cat_id;
}
$category_id = $this->spArgs("category_id");
if($category_id&&is_numeric($category_id)){
$this->category_id = $category_id;
}
$cid = $this->spArgs("cid");
if($cid&&is_numeric($cid)){
$this->category_id = $cid;
}
$uid = $this->spArgs("uid");
if($uid&&is_numeric($uid)){
$this->user_id = $uid;
}
$share_id = $this->spArgs("share_id");
if($share_id&&is_numeric($share_id)){
$this->share_id = $share_id;
}
$post_sid = $this->spArgs("sid",null,'post');
if($post_sid&&is_numeric($post_sid)){
$this->share_id = $post_sid;
}
$get_sid = $this->spArgs("sid",null,'get');
if($get_sid&&is_numeric($get_sid)){
$this->share_id = $get_sid;
}
$page = $this->spArgs("page");
if($page&&is_numeric($page)){
$this->page = $page;
}else{
$this->page = 1;
}
$txt = $this->spArgs("txt");
if($txt){
$this->txt = $txt;
}
}
function parameter_need($param=''){
$p = $this->$param;
if(!$p||$p==NULL){
spError('缺少必须参数');
}
}
function check_admin()
{
if(!$this->is_admin())
{
$this->jump(spUrl('admin','login'));
return false;
}else{
return true;
}
}
function check_login(){
if(!$this->is_login())
{
$this->jump(spUrl('webuser','login'));
return false;
}else{
return true;
}
}
function is_admin(){
$local_user = $this->current_user;
if($local_user&&$local_user['user_type']==3){
return true;
}else {
return false;
}
}
function is_editer(){
$local_user = $this->current_user;
if($local_user&&$local_user['user_type']>1){
return true;
}else {
return false;
}
}
function is_login()
{
if($this->current_user){
return true;
}else {
return false;
}
}
function ajax_check_editer()
{
if($this->is_editer()){
return true;
}else {
$response = array('result'=>false,'message'=>"no-permission");
echo json_encode($response);
die();
}
}
function ajax_check_login()
{
if($this->is_login()){
return true;
}else {
$response = array('result'=>false,'message'=>"not-login");
echo json_encode($response);
die();
}
}
}
?>
View user's profile Send private message
Can obfuscated PHP code be decoded ?
www.waraxe.us Forum Index -> MD5 hashes
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



Space Raider game for Android, free download - Space Raider gameplay video - Zone Raider mobile games
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