1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Decoding footer.php ?? Please help

Discussion in 'PHP & Perl' started by Fischlein11, Sep 9, 2011.

  1. Fischlein11

    Fischlein11 Junior Member

    Joined:
    Feb 22, 2010
    Messages:
    121
    Likes Received:
    16
    Hey Guys,

    i got an wordpress theme installed, and in the footer.php are some fucking ads i cant remove !! Couse the footer.php is decryptet.

    When i upload it here cann someone decode it for me ??

    Thank you
     
  2. Subsonic

    Subsonic Regular Member

    Joined:
    Mar 17, 2011
    Messages:
    367
    Likes Received:
    333
    Location:
    DNS root zone database
  3. Crazy

    Crazy Jr. Executive VIP

    Joined:
    Jun 13, 2009
    Messages:
    640
    Likes Received:
    319
    Occupation:
    VB, C#, XHTML, CSS, PHP, MySQL, JavaScript, jQuery
    Location:
    Everywhere
    Post it here so we can see what you mean.
     
  4. WildDisease

    WildDisease Junior Member

    Joined:
    Aug 3, 2011
    Messages:
    109
    Likes Received:
    5
    Footers dont usually contain any proprietary code you really need to decode..

    I figured you want to remove the theme creators sponsorship so the more efficient way / less hassle if you can understand a bit of HTML/Wordpress API (although you probably wouldnt be asking for a decoder if that was the case)

    Just view a page with the footer on it,
    Right click -> View source
    Steal source starting right before footer div
    Throw it back in footer.php on Appearance->Editor
    Edit contents/links to suit your needs

    Alternatively you can post the pastebin of footer.php and have someone try to decode it
     
    • Thanks Thanks x 1
    Last edited: Sep 9, 2011
  5. Ste Fishkin

    Ste Fishkin "I'm watching you.." - Apricot Jr. VIP Premium Member UnGagged Attendee

    Joined:
    May 14, 2011
    Messages:
    1,831
    Likes Received:
    8,690
    Occupation:
    Rands Sex Slave
    Location:
    England
    post it in code tags?
     
  6. Fischlein11

    Fischlein11 Junior Member

    Joined:
    Feb 22, 2010
    Messages:
    121
    Likes Received:
    16
  7. Fwiffo

    Fwiffo Power Member

    Joined:
    Apr 7, 2010
    Messages:
    562
    Likes Received:
    325
    Occupation:
    Starship Captain
    Location:
    Pluto / Spathiwa
    it's encoded in base 64 with multiple layers (ie encoding inside encoding inside encoding)

    don't have time to decode it for you, but go to some of these sites and it should set you in the right direction.

    Code:
    http://www.tareeinternet.com/scripts/decrypt.php
    Code:
    http://www.phpbuilder.com/board/showthread.php?t=10340358
    Code:
    http://www.tareeinternet.com/forum/knowledgebase/274-decoding-eval-gzinflate-base64_decode.html
     
    • Thanks Thanks x 1
  8. Psychop1

    Psychop1 Registered Member

    Joined:
    Jul 30, 2010
    Messages:
    63
    Likes Received:
    19
    Replace "eval" with "highlight_string". Upload the file. Navigate to footer.php. You should now see your replacement code.
     
    • Thanks Thanks x 1
  9. Fischlein11

    Fischlein11 Junior Member

    Joined:
    Feb 22, 2010
    Messages:
    121
    Likes Received:
    16
    Thank you all, i got it with the html trick. I give u all +REP