Waraxe IT Security Portal
Login or Register
November 22, 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: 120
Members: 0
Total: 120
Full disclosure
APPLE-SA-11-19-2024-5 macOS Sequoia 15.1.1
Local Privilege Escalations in needrestart
APPLE-SA-11-19-2024-4 iOS 17.7.2 and iPadOS 17.7.2
APPLE-SA-11-19-2024-3 iOS 18.1.1 and iPadOS 18.1.1
APPLE-SA-11-19-2024-2 visionOS 2.1.1
APPLE-SA-11-19-2024-1 Safari 18.1.1
Reflected XSS - fronsetiav1.1
XXE OOB - fronsetiav1.1
St. Poelten UAS | Path Traversal in Korenix JetPort 5601
St. Poelten UAS | Multiple Stored Cross-Site Scripting in SEH utnserver Pro
Apple web content filter bypass allows unrestricted access to blocked content (macOS/iOS/iPadOS/visionO S/watchOS)
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
Log in Register Forum FAQ Memberlist Search
IT Security and Insecurity Portal

www.waraxe.us Forum Index -> PHP script decode requests -> 130 phplockit files.
Post new topicReply to topic View previous topic :: View next topic
130 phplockit files.
PostPosted: Thu Jul 12, 2012 2:22 pm Reply with quote
eslim
Regular user
Regular user
Joined: Jul 12, 2012
Posts: 6




I have about 130 files encoded with Phplockit.
I searched the web and found several tools but no one is working.

If any one can help decoding them or showing me how to do it, I will pay for it.


Here is a sample file :

Code:
<?php /* This file is protected by copyright law and provided under license. Reverse engineering of this file is strictly prohibited. */$OOO000000=urldecode('%66%67%36%73%62%65%68%70%72%61%34%63%6f%5f%74%6e%64');$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};$OOO000O00=$OOO000000{0}.$OOO000000{12}.$OOO000000{7}.$OOO000000{5}.$OOO000000{15};$O0O000O00=$OOO000000{0}.$OOO000000{1}.$OOO000000{5}.$OOO000000{14};$O0O000O0O=$O0O000O00.$OOO000000{11};$O0O000O00=$O0O000O00.$OOO000000{3};$O0O00OO00=$OOO000000{0}.$OOO000000{8}.$OOO000000{5}.$OOO000000{9}.$OOO000000{16};$OOO00000O=$OOO000000{3}.$OOO000000{14}.$OOO000000{8}.$OOO000000{14}.$OOO000000{8};$OOO0O0O00=__FILE__;$OO00O0000=0x214;eval($OOO0000O0('JE8wMDBPME8wMD0kT09PMDAwTzAwKCRPT08wTzBPMDAsJ3JiJyk7JE8wTzAwT08wMCgkTzAwME8wTzAwLDB4NGZjKTskT08wME8wME8wPSRPT08wMDAwTzAoJE9PTzAwMDAwTygkTzBPMDBPTzAwKCRPMDAwTzBPMDAsMHgzNzgpLCdFbnRlcnlvdXdraFJIWUtOV09VVEFhQmJDY0RkRmZHZ0lpSmpMbE1tUHBRcVNzVnZYeFp6MDEyMzQ1Njc4OSsvPScsJ0FCQ0RFRkdISUpLTE1OT1BRUlNUVVZXWFlaYWJjZGVmZ2hpamtsbW5vcHFyc3R1dnd4eXowMTIzNDU2Nzg5Ky8nKSk7ZXZhbCgkT08wME8wME8wKTs='));return;?>J^jcM{f2ipdoAPwbnZcBfgdBy0C2IPkZYGhtIVhlXVhT9icoYvduOFRM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aSmFoyzF3fvFMWmbUL7tM15F3ySb3Yldoajfy9LCJILO0xNWLyHA1Smb01nBtffBZfeT05ok11dk2OifoyJCbYlk11dk25idBAmbUXLC29VHUlvFJnLDBAPwMY1do5vftnzcBxlC3W6wJ5sGbYxdy9lFmkvFJIphTShkuOiCMxlb3nZcBcpGtE9wtOuTr9tWAxTBZfgTAyCk11dk0YNTLCmbaSmfoyJdoAmbaSmFuklcMl4k107tjS=_XsAifsMQ~
View user's profile Send private message
PostPosted: Thu Jul 12, 2012 3:36 pm Reply with quote
vince213333
Advanced user
Advanced user
Joined: Aug 03, 2009
Posts: 737
Location: Belgium




Have a look at this pdf:

http://diary.rozsnyo.com/2005/06/27/PHP-LockIt.pdf

I can decode the files but it's better if you learn to do it yourself. You'll be happy when you have more files to decode Smile

If you don't understand something, just ask.
View user's profile Send private message
PostPosted: Thu Jul 12, 2012 11:07 pm Reply with quote
eslim
Regular user
Regular user
Joined: Jul 12, 2012
Posts: 6




Thanks for your help.

That tutorial helped in some files but in other cases (big files) it's only showing like this :

Code:
Á<ÀÁ<À¤ì™[˜Ý[Ûˆ\œÙQ[]™\žR[šQš[J ÛÛ™šYÔ]H[ ÛÛ™šYÑš[HH[ ÙXÝ[ÛœÈHYJBžÂšYˆ IÛÛ™šYÔ] H‰ÛÛ™šYÔ]HPVÔU ‰Ëݘ\‰ÎŸBšYˆ ÛÛ™šYÑš[JH‰ÛÛ™šYÑš[HH ˉˉÛÛ™šYÑš[NŸB‰ÜÝHÖÙÙ]Üݘ[YJ N‰ÛÛ™šYÑš[S˜[YHH ÛÛ™šYÔ] ‰ËÉˉÜÝ ‰ÛÛ™šYÑš[H ‰Ë˜ÛÛ™‹œ ΉÛÛ™ˆH\œÙWÚ[šWÙš[J ÛÛ™šYÑš[S˜[YK ÙXÝ[ÛœÊNšYˆ \ÜÙ] ÛÛ™–ÉÜ™X[ÛÛ™šYÉ×JJH‰™X[ÛÛ™ˆH\œÙWÚ[šWÙš[JPVÔU ‰Ëݘ\‹ÉˉÛÛ™–ÉÜ™X[ÛÛ™šYÉ×H ‰Ë˜ÛÛ™‹œ Ë ÙXÝ[ÛœÊN‰ÛÛ™ˆHY\™ÙPÛÛ™šYÑš[\Ê ™X[ÛÛ™‹ ÛÛ™NŸBšYˆ Y[\J ÛÛ™JHÂœ™]\›ˆ ÛÛ™ŽÂŸY[ÙZYˆ ÛÛ™šYÑš[HOOH ËœYÚ[‰ÊH‰YÚ[•\HH˜\Ù[˜[YJ ÛÛ™šYÔ] N‰Y˜][ÛÛ™šYÈHPVÔU ‰ËÜYÚ[œËÉˉYÚ[•\H ‰ËÙY˜][ œYÚ[‹˜ÛÛ™‹œ ΉÛÛ™ˆH\œÙWÚ[šWÙš[J Y˜][ÛÛ™šYË ÙXÝ[ÛœÊNšYˆ ÛÛ™ˆOOH˜[ÙJHÂœ™]\›ˆ ÛÛ™ŽÂŸB™XÚÈ“Ü[–ÛÝ[›Ý™XYHY˜][ÛÛ™šYÝ\˜][Ûˆš[H›ÜˆHÉYÚ[•\_HYÚ[ˆŽÂ™^] JNŸB‰ÛÛ™šYÑš[S˜[YHH ÛÛ™šYÔ] ‰ËÙY˜][ ˉÛÛ™šYÑš[H ‰Ë˜ÛÛ™‹œ


or sometimes nothing as a result.
View user's profile Send private message
PostPosted: Fri Jul 13, 2012 12:11 pm Reply with quote
eslim
Regular user
Regular user
Joined: Jul 12, 2012
Posts: 6




Here is my 2 keys :
From (65 characters) :
Code:
EnteryouwkhRHYKNWOUTAaBbCcDdFfGgIiJjLlMmPpQqSsVvXxZz0123456789+/=


To (64 characters):
Code:
ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/


Which leaves the = character not replaced, and for base64_decode, = is not a valid character.

What should I do ?
View user's profile Send private message
PostPosted: Sat Jul 14, 2012 8:12 am Reply with quote
astra1993
Advanced user
Advanced user
Joined: Jun 20, 2012
Posts: 125




This is the decoded sample file. PHPLockit reads from itself when it is being decoded. Adding even a single byte to the file, ruins the script. And the tutorial which is posted is very old. In the sample script you sent, a host lock is added, which prevents you from getting the source with the decoder posted above. I use a separate technique. I've already created a decoder but it is not complete yet.

Code:

<?php
require realpath(dirname(__FILE__) .'/../../') .'/init.php';
$con1 = mysql_connect($GLOBALS['_MAX']['CONF']['database']['host'],$GLOBALS['_MAX']['CONF']['database']['username'],$GLOBALS['_MAX']['CONF']['database']['password']);
mysql_select_db($GLOBALS['_MAX']['CONF']['database']['name'],$con1)or die("culnot select:".mysql_error());
$table_prefix = $GLOBALS['_MAX']['CONF']['table']['prefix'];
;
?>
View user's profile Send private message
PostPosted: Sat Jul 14, 2012 11:13 pm Reply with quote
eslim
Regular user
Regular user
Joined: Jul 12, 2012
Posts: 6




Found it .

here is the piece of code I'm using in the last step :

Code:
<?php
$s = "some random code";
$from = "EnteryouwkhRHYKNWOUTAaBbCcDdFfGgIiJjLlMmPpQqSsVvXxZz0123456789+/=";

$to = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
$s = substr ($s,0x378);
$s = strtr($s,$from,$to);
str_replace("==","=",$s);
$tab = split("==",$s);
foreach($tab as $value)
{
highlight_string(base64_decode($value));

}


?>
Twisted Evil Arrow Arrow Arrow
View user's profile Send private message
PostPosted: Sun Jul 15, 2012 6:10 am Reply with quote
astra1993
Advanced user
Advanced user
Joined: Jun 20, 2012
Posts: 125




Still does not work on all of the PHPLockit files.
View user's profile Send private message
130 phplockit files.
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



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.044 Seconds