cdw1p icon

[PHP] Files Encryptor 1.2

cdw1p | PRO | 03/11/19 10:10:34 AM UTC | 0 ⭐ | 676 👁️ | Never ⏰ | []
PHP |

1.49 KB

|

None

|

0 👍

/

0 👎

<?php
function encrypt($data){
    $data = gzencode($data);
    $data = base64_encode(base64_encode($data));
    $data = rawurlencode($data);
    return $data;
}
function save($file,$data){
    $fp = @fopen($file, "w+");
    fwrite($fp, $data);
    fclose($fp);
}
function encrypt2($data){
    $data = base64_encode(rawurlencode($data));
    return $data;
}
function run(){
        echo "\nInput File : ";
        $gets = trim(fgets(STDIN));
        echo "Execute [ ";
        sleep(3);
        $get = file_get_contents($gets) or exit(" file tidak ada ]\n");
        if(preg_match("//", $get)){
        $get = str_replace("", "", $get);   
        }
        $data = encrypt($get);
        $rand = rand(1111,9999);
        $result = '$_PCRYPTER = ["\x62\x61\x73\x65\x36\x34\x5f\x64\x65\x63\x6f\x64\x65","\x72\x61\x77\x75\x72\x6c\x64\x65\x63\x6f\x64\x65","\x67\x7a\x64\x65\x63\x6f\x64\x65"];     $_091'.$rand.'11 = $_PCRYPTER[2];$_101'.$rand.'11 = $_PCRYPTER[0];$_111'.$rand.'11 = $_PCRYPTER[1];@eval($_091'.$rand.'11($_111'.$rand.'11($_101'.$rand.'11($_101'.$rand.'11("'.$data.'")))));';
        $data1 = encrypt2($result);
        $result1 = '
/* 
    Files Encrypt By ~ ZakirDotID
*/  
$PCRYPTER = array("\x78\x39\x35\x33\x37"=>"\x72\x61\x77\x75\x72\x6c\x64\x65\x63\x6f\x64\x65","\x70\x63\x39\x35\x33\x37"=>"\x62\x61\x73\x65\x36\x34\x5f\x64\x65\x63\x6f\x64\x65");extract($PCRYPTER);@eval($x9537($pc9537("'.$data1.'")));';
        $file = $rand.".txt";
        $res = save($file,$result1);
        $size = filesize($file);
        $ori = filesize($gets);
        echo "Success => $file ( $size ) ori $gets ($ori) ]\n";
}
run();

Comments