basecode 64 decode help

Discussion in 'PHP' started by Peterisgb, Jan 5, 2012.

  1. #1
    hello everyone, i have this bascode 64 thingy, i have tried to use online decoder thingys but had no luck, i dont really understand it lol

    well any i have the code pastebin .com /D6gFHheQ (to long to post here)

    Could i get some help on decoding this please, or any pointers in the right directing, thanks
     
    Peterisgb, Jan 5, 2012 IP
  2. dujmovicv

    dujmovicv Member

    Messages:
    62
    Likes Received:
    2
    Best Answers:
    4
    Trophy Points:
    48
    #2
    Try this piece of code :
    
    $a = 'paste_the_coded_content_here';
    function a($a){    return base64_decode($a);}
    while(!$b){
    if(substr($a,0,4) == 'eval' || !$count){
    $a = a(str_replace(Array('eval(base64_decode(\'','\'));'),'',$a));
    $count++;
    }else
    $b = true;
    }
    echo "<textarea cols='100' rows='50'>".$a."</textarea>";
    
    PHP:
     
    dujmovicv, Jan 5, 2012 IP
  3. Peterisgb

    Peterisgb Peon

    Messages:
    10
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    thanks but it didnt work,
     
    Peterisgb, Jan 5, 2012 IP
  4. dujmovicv

    dujmovicv Member

    Messages:
    62
    Likes Received:
    2
    Best Answers:
    4
    Trophy Points:
    48
    #4
    It should work if your code is coded with base64_encode... What did your browser retrieve?
     
    dujmovicv, Jan 6, 2012 IP
  5. DanIonescu

    DanIonescu Peon

    Messages:
    7
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    That code is encrypted multiple times via base64 algorithm and a custom one. It's easy to decode, but it's going to take a while. You can decode it by yourself if you have little PHP knowledge.
     
    DanIonescu, Jan 6, 2012 IP
  6. Peterisgb

    Peterisgb Peon

    Messages:
    10
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    i have little php knowlegde, but i cant figure it out, still learning.
     
    Peterisgb, Jan 6, 2012 IP
  7. jestep

    jestep Prominent Member

    Messages:
    3,659
    Likes Received:
    215
    Best Answers:
    19
    Trophy Points:
    330
    #7
    The simple fact that it's that obfuscated is a good sign you shouldn't use it. These normally are just to put some spammy links on a blog template or similar. They are a massive security risk. If the theme is that good ask for them to be removed and give the author credit. Otherwise, find something that doesn't obfuscate code.
     
    jestep, Jan 6, 2012 IP
  8. Peterisgb

    Peterisgb Peon

    Messages:
    10
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #8
    i know this code is secure, and safe to use, i want to edit the page but i cant with it like that
     
    Peterisgb, Jan 7, 2012 IP
  9. Peterisgb

    Peterisgb Peon

    Messages:
    10
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #9
    if some1 could point me in the right direction or able to decode this for me.
     
    Peterisgb, Jan 8, 2012 IP
  10. Peterisgb

    Peterisgb Peon

    Messages:
    10
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #10
    i would ask the oringal coder to decode it but he died a few weeks ago so i cant ask him, i would of asked him but i cant now
     
    Peterisgb, Jan 11, 2012 IP
  11. Peterisgb

    Peterisgb Peon

    Messages:
    10
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #11
    anyone?????
     
    Peterisgb, Jan 13, 2012 IP
  12. sonu21

    sonu21 Member

    Messages:
    102
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    26
    #12
    PM Me the code might I help you!
     
    sonu21, Jan 15, 2012 IP
  13. Peterisgb

    Peterisgb Peon

    Messages:
    10
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #13
    thanks, i have PM'ed you back
     
    Peterisgb, Jan 15, 2012 IP
  14. Peterisgb

    Peterisgb Peon

    Messages:
    10
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #14
    anyone else here able to help.
     
    Peterisgb, Jan 30, 2012 IP
  15. harry.singh

    harry.singh Active Member

    Messages:
    38
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    98
    #15
    Hope you still need it ... PM sent
     
    harry.singh, Mar 26, 2012 IP
  16. zero_ZX

    zero_ZX Member

    Messages:
    83
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    48
    #16
    Post this file as well:
    codelock.php
     
    zero_ZX, Mar 30, 2012 IP
  17. Peterisgb

    Peterisgb Peon

    Messages:
    10
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #17
    i cant post that file as i dont have the whole script i just used the pages i liked for the paid script, dont want to use the whole code as most of its illegal
     
    Peterisgb, Mar 30, 2012 IP