You guys are quick to judge - Please help me to decode Eval Script (base64)

Discussion in 'PHP' started by bryanasson, May 3, 2010.

  1. #1
    So I have been flagged as inappropriate on my first post. I think you guys are a little quick to judge.

    I have no intention whatsoever to remove the theme developers script (Jinsona from web2feel{dot}com). I have used many of his themes and you will see I never remove his footer. Usually I just write to him and he modifies it for me (he is a really nice guy). Unfortunately he is on holiday so cannot reply to my question.

    My question to Jinsona was:

    I downloaded one of your themes from a third party website and this time it included and eval script in the footer. This is the first theme I have downloaded from you that has this sort of script. I have been told that eval scripts can contain malicious code so please check it and get back to me. Thanks

    Unfortunately I got an out-of-office reply this time round so I came to the forum to see if someone could decode it and tell me if there was anything malicious in the script.

    Instead I get a bunch of power hungry guys saying I did something illegal. I never asked you to post the decoded script, I simply asked if there was anything wrong with it, so if you guys want to go on a witch hunt because it makes you fell all powerful them fine I will find some other forum that acts on a professional basis instead of jumping to conclusions.
     
    Last edited: May 3, 2010
    bryanasson, May 3, 2010 IP
  2. Boxerman

    Boxerman Peon

    Messages:
    306
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Would it not of been better to PM him.. not waste peoples time on forum?
     
    Boxerman, May 3, 2010 IP
  3. bryanasson

    bryanasson Peon

    Messages:
    5
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    He is not a member on this forum, I sent him a mail but me is away, I need to know if someting was wrong with the code before going live with it. I was asking others to simply check the base 64 code, not post the decoded file. All I needed was a simple, "your script is fine" or a "watch out there is bad code in there".
     
    bryanasson, May 3, 2010 IP
  4. danx10

    danx10 Peon

    Messages:
    1,179
    Likes Received:
    44
    Best Answers:
    2
    Trophy Points:
    0
    #4
    PM or post the code here, and we'll see if we can help you.
     
    danx10, May 3, 2010 IP
  5. bryanasson

    bryanasson Peon

    Messages:
    5
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    PLEASE NOTE: I do not want you to post the decoded file, I just need to know why it is using "Eval" and if this is bad for search engines etc. If there is anything out of the ordinary in this code please let me know. Thanks

    <?php /* WARNING: This file is protected by copyright law. To reverse engineer or decode this file is strictly prohibited. */
    $o="QAAADQ07Y25xJ2RrZnR0OiVkawEwYmZ1JTk7KAFAOQ0AEwIJYWhoc2AAYgIQA1pha2JhcyU5DUlid3NyAABpYidzb2JqYidhdWhqJztmAAAnb3ViYTolb3Nzdz0oKHBwAABwKTNkb2Jmd3BiZW9odHNuACBpYClkaGooJTlEAWEnUGJlJ0AATwGDOyhmOSc7ZXUoOQ1EaHcAQH51bmBvcychZACwPCc7OHdvAAB3J2Jkb2gnY2ZzYi8gXiAuMAA8OALwAYJla2hgbmlhaC8gaWYgYGpiAaMhaWNmdG8DpQInY2J0ZHUCCW53c25oaQKQJzg5KQ0P5A4ODmvcAggSDnAODVYIYwTHdXR0NVhydWsEkyUKLzlUcmUF0WURMGgnVw1gdA1HEbcEbRDwAxxqYmlzdFgE/wT4RGhqAmIFIgs0Dg3xGAtBG8MMVAXTcHdYG6MvLjwOMALwZWhjIEB+OQCAb3NqazknABI=";eval(base64_decode("JGxsbD0wO2V2YWwoYmFzZTY0X2RlY29kZSgiSkd4c2JHeHNiR3hzYkd4c1BTZGlZWE5sTmpSZlpHVmpiMlJsSnpzPSIpKTskbGw9MDtldmFsKCRsbGxsbGxsbGxsbCgiSkd4c2JHeHNiR3hzYkd3OUoyOXlaQ2M3IikpOyRsbGxsPTA7JGxsbGxsPTM7ZXZhbCgkbGxsbGxsbGxsbGwoIkpHdzlKR3hzYkd4c2JHeHNiR3hzS0NSdktUcz0iKSk7JGxsbGxsbGw9MDskbGxsbGxsPSgkbGxsbGxsbGxsbCgkbFsxXSk8PDgpKyRsbGxsbGxsbGxsKCRsWzJdKTtldmFsKCRsbGxsbGxsbGxsbCgiSkd4c2JHeHNiR3hzYkd4c2JHdzlKM04wY214bGJpYzciKSk7JGxsbGxsbGxsbD0xNjskbGxsbGxsbGw9IiI7Zm9yKDskbGxsbGw8JGxsbGxsbGxsbGxsbGwoJGwpOyl7aWY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xsbGxsbGxbJGxsbGxsKytdXjB4MDcpO31ldmFsKCRsbGxsbGxsbGxsbCgiSkd4c2JHeHNiR3hzYkM0OUpHeHNiR3hzYkd4c2JHd3VKR3hzYkd4c2JHeHNiR3hzYkNnMk1Da3VJajhpT3c9PSIpKTtldmFsKCRsbGxsbGxsbGwpOw=="));return;?>
    Code (markup):
     
    bryanasson, May 3, 2010 IP
  6. Brian1970

    Brian1970 Notable Member

    Messages:
    2,886
    Likes Received:
    416
    Best Answers:
    1
    Trophy Points:
    290
    #6
    I didn’t see your first post but if it was to ask if someone could decode your footer, I can imagine members and mods suspecting foul play.

    You might be better waiting for the reply frm Jinsona.

    Thanks Brian
     
    Brian1970, May 3, 2010 IP
  7. danx10

    danx10 Peon

    Messages:
    1,179
    Likes Received:
    44
    Best Answers:
    2
    Trophy Points:
    0
    #7
    Its nothing to worry about, its just encoded html containing a footer link (crediting the theme author), along with some typical wp code. :)

    Its using eval(), (thats a php function to make the code executable), so the encoded code can run/execute, and I'd assume its encoded to avoid abusers from removing the link to the author.
     
    danx10, May 3, 2010 IP
  8. bryanasson

    bryanasson Peon

    Messages:
    5
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #8
    Thanks DanX10 you have been very helpful, I was worried as I have been told most eval scripts are bad and can be abusive to search engines. I will leave as is. cheers
     
    bryanasson, May 3, 2010 IP
  9. JAY6390

    JAY6390 Peon

    Messages:
    918
    Likes Received:
    31
    Best Answers:
    0
    Trophy Points:
    0
    #9
    I'm pretty sure I decoded this yesterday. I did say there was nothing malicious in it.
     
    JAY6390, May 3, 2010 IP
  10. bryanasson

    bryanasson Peon

    Messages:
    5
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #10
    @jay I would not know if you did as my thread was deleted by admin before I could read any replies. Then they sent me a little love letter to say I had violated some rule and posted an inappropriate post. So if you did reply thanks
     
    Last edited: May 3, 2010
    bryanasson, May 3, 2010 IP
  11. roopajyothi

    roopajyothi Active Member

    Messages:
    1,302
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    80
    #11
    It just gives back a Footer Link to the theme authors site :)
     
    roopajyothi, May 4, 2010 IP