[PHP] Easy php scrambler

Results 1 to 2 of 2
  1. #1
    The Omega Superfun is offline
    MemberRank
    Dec 2006 Join Date
    The NetherlandsLocation
    5,223Posts

    [PHP] Easy php scrambler

    PHP Code:
    <?php
    echo '<form method="post">
    <textarea cols="100" rows="25" name="txt">'
    ;
    if(empty(
    $_POST['txt'])){
        echo 
    '<?php echo \'hello world\'; ?>';
    }else{
        echo 
    $_POST['txt'];
    }
    echo 
    '</textarea><br>
    <input type="submit" value="Scramble">
    </form>'
    ;
    if(
    $_POST['txt']){
        echo 
    '<br><br><br>';
        echo 
    '<textarea cols="100" rows="25">';
        
    $input $_POST['txt'];
        function 
    createrand(){
            
    $alp = array('48''49''50''51''52''53''54''55''56''57''65''66''67''68''69''70''71''72''73''74''75''76''77''78''79''80''81''82''83''84''85''86''87''88''89''90''97''98''99''100''101''102''103''104''105''106''107''108''109''110''111''112''113''114''115''116''117''118''119''120''121''122');
            
    shuffle($alp);
            
    $encd '';
            foreach(
    $alp as $value){
                
    $encd .= chr($value);
            }
            return 
    $encd;
        }
        
    $input1 createrand();
        
    $input2 createrand();

        echo 
    '<?php
    $_F=__FILE__;
    $_X=\''
    .base64_encode('?>'.strtr($input$input1$input2).'<?php').'\';
    eval(base64_decode(\''
    .base64_encode('$_X=base64_decode($_X);$_X=strtr($_X,\''.$input2.'\',\''.$input1.'\');$_R=ereg_replace(\'__FILE__\',"\'".$_F."\'",$_X);eval($_R);$_R=0;$_X=0;').'\'));
    ?>'
    ;
        echo 
    '</textarea>';
    }
    ?>
    Why did i made this: i got bored.

    Input:
    PHP Code:
    <?php
    echo 'hello, my name is dumbass';
    ?>
    Output:
    PHP Code:
    <?php
    $_F
    =__FILE__;
    $_X='Pz48P09aTw0KeUZadyAnWnllZXcsIFQ0IEo3VHkgSUggc1FUeDdISCc7DQo/Pjw/cGhw';
    eval(
    base64_decode('JF9YPWJhc2U2NF9kZWNvZGUoJF9YKTskX1g9c3RydHIoJF9YLCd6STZCR25jWUpnUU5yVVQ0TUVMUmxheFNpbzNqd0tYMTI4aEhtQXViNVZXcWQ5N3ZlcHRaa2ZzMFB5REZPQycsJ0NpTFpTa0Y1bjZ1eHpybXlJTUIzcTJiRXZHOGpvSzFOSnc3c1dIZ1A0ME90RFZhUWw5VGhBWWRmUmVVY3BYJyk7JF9SPWVyZWdfcmVwbGFjZSgnX19GSUxFX18nLCInIi4kX0YuIiciLCRfWCk7ZXZhbCgkX1IpOyRfUj0wOyRfWD0wOw=='));
    ?>
    Last edited by Superfun; 04-01-10 at 05:00 PM. Reason: mistype


  2. #2
    Account Upgraded | Title Enabled! IQstim is offline
    MemberRank
    Jan 2009 Join Date
    630Posts

    Re: [PHP] Easy php scrambler

    shit, my time implementing the same thing is wasted! my implementation is sophisticated and does not work!

    good superfun.



Advertisement