Waraxe IT Security Portal
Login or Register
November 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: 1475
Members: 0
Total: 1475
Full disclosure
SEC Consult SA-20261104-0 :: Improper device certificate validation enables AiTM attacks in Siemens SICAM Toolbox II device communication
Apache Struts2 Tiles Plugin <=7.4.0 and >=6.3.0 Preparer Cache Vulnerabilities
unixODBC <=2.3.14 Rude Truncation via Narrowing Conversion Causes Out-of-Bounds `memcpy`
unixODBC <=2.3.14 Multiple Races
unixODBC <=2.3.14 Multiple Heap Buffer Overflows, Underflows, and Over-Reads
Apache Struts2 Core Arbitrary Code Execution via OGNL SandboxEscape
Apache Struts2 Core TokenHelper Token Cryptographic Timing Side-Channel
Apache Struts2 Spring Plugin Uses a Previously Closed Resource
Apache Struts2 Core Integer Overflow
Apache Struts2 Core Cross-Origin Protection Exemption Miskeyed to a Deployment-Wide Path
Apache Struts2 REST Plugin Fails to Properly Parse ChunkedRequests
Apache Struts2 REST Plugin Untrimmed `Accept` Header Tokens Break Content Negation Fallback
Apache Struts2 JSON Plugin Insecure Deserialisation -- Object Deserialisation Element-Count Limit Bypass
[0day-rubbish] NETGEAR RAX120 V1.2.5.18 authenticated SOAP InstallApp OS command injection to root-configured web-stack execution (6.8 Medium; conditionally 7.2 High with management exposure)
[0day-rubbish] Raritan PX3 PDU G4 firmware 4.3.14 command injection in the ping and traceroute diagnostics through an inverted hostname-validation return check (8.8)
Log in Register Forum FAQ Memberlist Search
IT Security and Insecurity Portal

www.waraxe.us Forum Index -> PHP script decode requests -> Can someone help me with this code please?
Post new topicReply to topic View previous topic :: View next topic
Can someone help me with this code please?
PostPosted: Fri May 23, 2008 6:24 pm Reply with quote
Oemfoefoe2
Regular user
Regular user
Joined: May 05, 2008
Posts: 6




Hello everyone,

Can someone decode this part for me ?
I've tries some online decoders but they say it contains non base64 caracters.

This is the one:

<?php eval(gzinflate(base64_decode('dVHLasMwEDzHX7HoEudiQY+pLENf0EMvdaFHY0drW9S2hLSuKfTjKz9IIDQ6aNnZxwyzmYyE0t+gVcpqYwgdk9FO2PDtRAmtwzplIrOthaozjR5qE++d93fF6Lr94R4yyeTzQE6jh/g9zw+Cl/NwOSi4ueBk+h4H8sX1psetcFmVRLA9UTng8px+tNjj8cLREtkj59M0Jb2uFXrdDEkgYkCla5BSVlRdOXyFXFOHKTuNnkwPE1awdoOnUWnD5NvrCzytUL5AsxD4hQdnxqal/0knS7MiXzvEmZefiT6NU9ah96tmz+Q1snkWjOfBecHDRW6EcJXFy8kW67nixblQroz6mWNLfSeXpgj+AA==')));?>


Many, many thnx in advance!!!!
View user's profile Send private message
PostPosted: Fri May 23, 2008 6:55 pm Reply with quote
lenny
Valuable expert
Valuable expert
Joined: May 15, 2008
Posts: 275




Code:
?>
<div id="footer">
<p>
<a href="<?php bloginfo('rss2_url'); ?>">Entries (RSS)</a>
and <a href="<?php bloginfo('comments_rss2_url'); ?>">Comments (RSS)</a>.
<br />
Theme: <a href="http://www.mifdesign.com" target="_blank" title="custom web design studio">MIF Design Studio</a> | Brought: <a href="http://www.wpthemesfree.com/" title="Wordpress Themes">Wordpress Themes</a>

</p>
</div>
</div>
</div>
</div>
<?php wp_footer(); ?>
</body>
</html><?php



Smile
View user's profile Send private message
Re: Can someone help me with this code please?
PostPosted: Fri May 23, 2008 6:59 pm Reply with quote
Snoop1990
Advanced user
Advanced user
Joined: May 22, 2008
Posts: 65




I'm not sure what you want to do but running
Code:
<?php echo gzinflate(base64_decode('dVHLasMwEDzHX7HoEudiQY+pLENf0EMvdaFHY0drW9S2hLSuKfTjKz9IIDQ6aNnZxwyzmYyE0t+gVcpqYwgdk9FO2PDtRAmtwzplIrOthaozjR5qE++d93fF6Lr94R4yyeTzQE6jh/g9zw+Cl/NwOSi4ueBk+h4H8sX1psetcFmVRLA9UTng8px+tNjj8cLREtkj59M0Jb2uFXrdDEkgYkCla5BSVlRdOXyFXFOHKTuNnkwPE1awdoOnUWnD5NvrCzytUL5AsxD4hQdnxqal/0knS7MiXzvEmZefiT6NU9ah96tmz+Q1snkWjOfBecHDRW6EcJXFy8kW67nixblQroz6mWNLfSeXpgj+AA=='));
?>


I get:
Code:

?>
<div id="footer">
<p>
<a href="<?php bloginfo('rss2_url'); ?>">Entries (RSS)</a>
and <a href="<?php bloginfo('comments_rss2_url'); ?>">Comments (RSS)</a>.
<br />
Theme: <a href="http://www.mifdesign.com" target="_blank" title="custom web design studio">MIF Design Studio</a> | Brought: <a href="http://www.wpthemesfree.com/" title="Wordpress Themes">Wordpress Themes</a>

</p>
</div>
</div>
</div>
</div>
<?php wp_footer(); ?>
</body>
</html><?php


eval() is just for transforming php to string ! so not needed in this example !
View user's profile Send private message Visit poster's website
PostPosted: Fri May 23, 2008 7:01 pm Reply with quote
Oemfoefoe2
Regular user
Regular user
Joined: May 05, 2008
Posts: 6




OMG, you are fast!!

Thnx Guys, you're the best!
View user's profile Send private message
PostPosted: Fri May 23, 2008 7:05 pm Reply with quote
Snoop1990
Advanced user
Advanced user
Joined: May 22, 2008
Posts: 65




No problem Very Happy

@ Lenny sorry as I started your post wasn't there ...

Regrades Snoop1990
View user's profile Send private message Visit poster's website
PostPosted: Fri May 23, 2008 7:22 pm Reply with quote
waraxe
Site admin
Site admin
Joined: May 11, 2004
Posts: 2407
Location: Estonia, Tartu




This kind of code obfuscations are easy to reverse, zend encoder is da real bit*h Smile
View user's profile Send private message Send e-mail Visit poster's website
PostPosted: Fri May 23, 2008 7:40 pm Reply with quote
Oemfoefoe2
Regular user
Regular user
Joined: May 05, 2008
Posts: 6




Hmm, I get an error:

Parse error: syntax error, unexpected $end in /footer.php on line 16
View user's profile Send private message
PostPosted: Fri May 23, 2008 7:43 pm Reply with quote
waraxe
Site admin
Site admin
Joined: May 11, 2004
Posts: 2407
Location: Estonia, Tartu




Code:

<div id="footer">
<p>
<a href="<?php bloginfo('rss2_url'); ?>">Entries (RSS)</a>
and <a href="<?php bloginfo('comments_rss2_url'); ?>">Comments (RSS)</a>.
<br />
Theme: <a href="http://www.mifdesign.com" target="_blank" title="custom web design studio">MIF Design Studio</a> | Brought: <a href="http://www.wpthemesfree.com/" title="Wordpress Themes">Wordpress Themes</a>

</p>
</div>
</div>
</div>
</div>
<?php wp_footer(); ?>
</body>
</html>
View user's profile Send private message Send e-mail Visit poster's website
PostPosted: Fri May 23, 2008 7:43 pm Reply with quote
Oemfoefoe2
Regular user
Regular user
Joined: May 05, 2008
Posts: 6




Solved it, forgot the ?>
View user's profile Send private message
Can someone help me with this code please?
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