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

Need encoded PHP decoded.

Discussion in 'PHP & Perl' started by Fuggz, Mar 24, 2011.

Thread Status:
Not open for further replies.
  1. Fuggz

    Fuggz Jr. VIP Jr. VIP Premium Member

    Joined:
    Mar 25, 2010
    Messages:
    583
    Likes Received:
    600
    I bought a few PHP scripts a while ago. The guy who sold them to me did so happily, then when I opened up the index.php, it was encoded, and anything I use the scripts on have his link on them. When I asked him about it, he made a snide remark like, "I just sold you the scripts, I retain the rights" and laughed.

    Is there any way I can decode the php? I know how to escape javascript, but have no idea how to decode this.

    TIA
     
  2. Autumn

    Autumn Elite Member

    Joined:
    Nov 18, 2010
    Messages:
    2,197
    Likes Received:
    3,041
    Occupation:
    I figure out ways to make money online and then au
    Location:
    Spamville
    It depends on how the script has been encoded.

    Check out base64_decode()
    http://php.net/manual/en/function.base64-decode.php

    If you Google around there are probably some online versions that do this.

    If it's been compiled to bytecode by zend encoder etc then I believe you're SOL.
     
  3. bzy39

    bzy39 Regular Member

    Joined:
    Jan 15, 2009
    Messages:
    434
    Likes Received:
    239
    post the sample of code, maybe can help...
     
  4. zelma143

    zelma143 Power Member

    Joined:
    Jun 25, 2010
    Messages:
    571
    Likes Received:
    37
    Occupation:
    PHP programmer,Bot maker,iMacro script maker
    yeah.. sample code pls..

    may be can help you out..
     
  5. indianbill007

    indianbill007 Jr. VIP Jr. VIP

    Joined:
    Jan 8, 2010
    Messages:
    4,813
    Likes Received:
    4,051
    Occupation:
    Making Money when the world is sleeping
    Location:
    Menlo Park - Next to Zuck
    AFAIK, php scripts are encoded using ioncube or zend encoder to protect piracy.

    You will need to hire a pro-cracker who can reverse engineer those scripts for you. This is NOT hack forums so I dont think we can discuss it here.

    Search on some hack forums and hire someone if the scripts are worth it.
     
  6. coderjeff

    coderjeff Junior Member

    Joined:
    Nov 20, 2007
    Messages:
    130
    Likes Received:
    26
    Location:
    USA
  7. thevil

    thevil Junior Member

    Joined:
    Aug 17, 2010
    Messages:
    190
    Likes Received:
    189
    First you need to determine what type of coding was used.


    What code does have strings have in the file? That should give a clue into what type of decoding you need

    YTM0NZomIzI2OTsmeYQ==
    dw(key,
    ky+codeIt
    i92(
    function rm
    varsJsCmds=""
    JScript.Encode
    %35%67%20
    ar[0]
    function process(ar)
    $o=something:
    $_F=__FILE__
    eval(gzinflate(base64_decode('...')))



    I suggest you just post the file and hope someone will decode it.
     
  8. coderjeff

    coderjeff Junior Member

    Joined:
    Nov 20, 2007
    Messages:
    130
    Likes Received:
    26
    Location:
    USA
    I agree with thevil. Without seeing a portion of the file, no one can tell you how to decode it. The easy case in when they've just using simple encoding methods. It keeps the average person from making changes, but doesn't take much effort to decode. Quite often you just have to look for 'eval' in the script and change it to 'echo' and it will show you the unencoded script. Occasionally people will encode it multiple times and you'll have to repeat the process.

    Other scripts use commercial encoding such as Zend or Ioncube. Occasionally you'll find a script where there is one decoding script that has been encrypted with Zend or Ioncube and the other files have been encoded using a more simple method. This seems to be the case when the developer didn't want to pay for expensive encoding of all the script. Decode the decoder, and the rest is easy.
     
  9. coolguy

    coolguy Jr. VIP Jr. VIP Premium Member

    Joined:
    Dec 26, 2007
    Messages:
    106
    Likes Received:
    88
    Occupation:
    Unemployed..
    Location:
    in my house
    you should check crypo.com where you would find lot of online tools to decode, probably it could help you
     
  10. JenniferMartin

    JenniferMartin Regular Member

    Joined:
    Jan 29, 2011
    Messages:
    391
    Likes Received:
    699
    send me your encoded page, will try to decode it for you :)
     
  11. Checkmate

    Checkmate Elite Member

    Joined:
    Aug 9, 2010
    Messages:
    1,536
    Likes Received:
    639
    No free took will decode ionCube you will have to pay one of those sites to do it.

    If they used ionCube to encode it that is.
     
  12. deejayundoo

    deejayundoo Newbie

    Joined:
    May 8, 2011
    Messages:
    18
    Likes Received:
    0
    if someone can do this, i`m interested too.
     
  13. simey69

    simey69 Regular Member

    Joined:
    Mar 27, 2009
    Messages:
    325
    Likes Received:
    1,478
    Location:
    UK
    There are tools on the web, no charge, just download and go...
    It depends on their age as to how good they are, some are good at older versions, some are more up to date.

    Just be VERY CAREFUL when visiting these types of sites/forums with such software and tools.
    Be EVEN MORE CAREFUL with what you download - VIRUS CHECK LOTS!!! locally and use VirusTotal too.
    (ideally run whatever you get in a VirtualMachine to be even more safe, they're normally offline tools, so drop your net connection too, to ensure no trojan/backdoor activity - I run on an old laptop normally)
    If you're not sure what you're doing and not aware of keeping yourself very safe online, don't explore these places... you're machine may end up infected and/or exploited

    Si
     
  14. Ceg3xow

    Ceg3xow Newbie

    Joined:
    Jul 6, 2011
    Messages:
    18
    Likes Received:
    1
    I'm also interested if someone does that
     
  15. brazero

    brazero Newbie

    Joined:
    Oct 30, 2009
    Messages:
    9
    Likes Received:
    1
    I do that...
    I can decode nearly all encoded files (ioncube, zend and others)
    If you're interested i can open a new thread to share the scripts.
     
Thread Status:
Not open for further replies.