Waraxe IT Security Portal
Login or Register
October 24, 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: 113
Members: 0
Total: 113
Full disclosure
SEC Consult SA-20241015-0 :: Multiple Vulnerabilities in Rittal IoT Interface & CMC III Processing Unit (CVE-2024-47943, CVE-2024-47944, CVE-2024-47945)
CVE-2024-48939: Unauthorized enabling of API in Paxton Net2software
SEC Consult SA-20241009-0 :: Local Privilege Escalation via MSI installer in Palo Alto Networks GlobalProtect (CVE-2024-9473)
APPLE-SA-10-03-2024-1 iOS 18.0.1 and iPadOS 18.0.1
Some SIM / USIM card security (and ecosystem) info
SEC Consult SA-20240930-0 :: Local Privilege Escalation via MSI Installer in Nitro PDF Pro (CVE-2024-35288)
Backdoor.Win32.Benju.a / Unauthenticated Remote CommandExecution
Backdoor.Win32.Prorat.jz / Remote Stack Buffer Overflow (SEH)
Backdoor.Win32.Amatu.a / Remote Arbitrary File Write (RCE)
Backdoor.Win32.Agent.pw / Remote Stack Buffer Overflow (SEH)
Backdoor.Win32.Boiling / Remote Command Execution
Defense in depth -- the Microsoft way (part 88): a SINGLEcommand line shows about 20, 000 instances of CWE-73
SEC Consult SA-20240925-0 :: Uninstall Password Bypass in BlackBerry CylanceOPTICS Windows Installer Package (CVE-2024-35214)
Apple iOS 17.2.1 - Screen Time Passcode Retrieval (MitigationBypass)
CyberDanube Security Research 20240919-0 | Multiple Vulnerabilities in Netman204
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



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