SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    SitePoint Member
    Join Date
    Dec 2008
    Location
    Tel Aviv
    Posts
    9
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Thumbs up [How to] Decode an Encoded PHP Script in Wordpress Themes

    Some wordpress theme developers encode some piece of code like footer so that the users do not change and take out the links. But as an end user I wont be feeling secure since this encoded stuff can be having some maicious script inside it. So I have written a mini tutorial which explains how to decode the encoded part.

    Code:
    techpp.com/2008/11/29/how-to-decode-encoded-php-script-in-wordpress-themes/
    Visit Technically Personal for all your Internet
    and tech news, Wordpress tips, Online TV,
    iPhone tricks and many more!

  2. #2
    SitePoint Evangelist
    Join Date
    May 2006
    Location
    Denmark
    Posts
    407
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I wonder why people think they've protected their copyright like that. What's preventing you to remove the eval() compared to removing an HTML link?

  3. #3
    . shoooo... silver trophy logic_earth's Avatar
    Join Date
    Oct 2005
    Location
    CA
    Posts
    9,013
    Mentioned
    8 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Daniel0 View Post
    I wonder why people think they've protected their copyright like that. What's preventing you to remove the eval() compared to removing an HTML link?
    Its not that complicated to require eval. It is just a base64 encoded string.
    Yeah super hard.
    Logic without the fatal effects.
    All code snippets are licensed under WTFPL.


  4. #4
    SitePoint Member
    Join Date
    Dec 2008
    Location
    Tel Aviv
    Posts
    9
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    yup its just a base64 encoding. My idea behind the post was not to tell people how to remove links, rather it was just to know if there is any malicious script embedded within.
    For n00bs, removing eval or base64 encoding might be a bit tough since the footer part will have the closing tags as well, if they are missing that will break the theme.
    Visit Technically Personal for all your Internet
    and tech news, Wordpress tips, Online TV,
    iPhone tricks and many more!


Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •