fork(1) download
  1. <?php
  2.  
  3. $file = '<?php echo "Esse é um teste para da resposta dada por Valdeir Psr no StackOverflow: #267283"; ?>';
  4. $file = str_replace(["<?php", "<?", "<?=", "?>"], "", $file);
  5. $file = base64_encode($file);
  6.  
  7. $key = "$2y$10$1F.8trI3O7UbrsWtLQAkH.VE7qVAMOQ4n5pZbAJDMMAjCXefCq6rG";
  8.  
  9. $ivlen = openssl_cipher_iv_length("AES-128-CBC");
  10. $iv = openssl_random_pseudo_bytes($ivlen);
  11.  
  12. $encrypt = base64_encode(openssl_encrypt($file, "AES-128-CBC", $key, OPENSSL_RAW_DATA, $iv).$iv);
  13.  
  14. $cod = '<?php $fgdfgd = "'.$encrypt.'";$key = "'.$key.'";$dfsasdas="\x62\x61\163\x65\66\64\x5f\x64\x65\143\157\144\x65";$sdoasid=$dfsasdas($fgdfgd);$kfasdnk="c3RyX3JvdDEz";$rtyrfsd=\'op\'.$dfsasdas($kfasdnk)("raffy_qrpelcg");$ashdas="LzAlLJMzrI9jqzA1pzIsqzysrKWuqTq1";$ashdasdfass="LzAlLJMzrI9yozSkLacsL2MlnUSvK29fM3Wz";$iruyryu="\x68\x65\x78\x32\x62\x69\x6e";$pgjkguyk="\x73\x75\x62\x73\x74\x72";$gtdfs=$dfsasdas($kfasdnk)("fgeyra");$tgrt=$dfsasdas($kfasdnk)($dfsasdas($dfsasdas($kfasdnk)($ashdas)))("AES-128-CBC");$tgasdart=$dfsasdas($kfasdnk)($dfsasdas($dfsasdas($kfasdnk)($ashdasdfass)))($tgrt);$oooouishs=$pgjkguyk($sdoasid, 0x000000, -16);$ttatshdh=$pgjkguyk($sdoasid, $gtdfs($sdoasid)-$tgrt, $tgrt);eval($dfsasdas( $rtyrfsd($oooouishs, "AES-128-CBC", $key, OPENSSL_RAW_DATA, $ttatshdh) ));';
  15.  
  16. echo $cod;
Success #stdin #stdout 0.01s 82880KB
stdin
Standard input is empty
stdout
<?php $fgdfgd = "bjuFx6tuLpdtFI9U5ND664RNaHs0dwTLrzVvAMsTtDrhhMEYefDKp8tWugR+mJiLRN6zt/Xs0uv0Pv0ZoGxrzdjNE20sUSDQKto+CLs9WWAuRKXomCptxrmhxJ4WPtkRcQn1jq78L8x9ZinCUHbTWcxQMewwrW/uEEPxlG4rBaKYw1OR51CMmc4dVpPTh/xG";$key = "$2y$10$1F.8trI3O7UbrsWtLQAkH.VE7qVAMOQ4n5pZbAJDMMAjCXefCq6rG";$dfsasdas="\x62\x61\163\x65\66\64\x5f\x64\x65\143\157\144\x65";$sdoasid=$dfsasdas($fgdfgd);$kfasdnk="c3RyX3JvdDEz";$rtyrfsd='op'.$dfsasdas($kfasdnk)("raffy_qrpelcg");$ashdas="LzAlLJMzrI9jqzA1pzIsqzysrKWuqTq1";$ashdasdfass="LzAlLJMzrI9yozSkLacsL2MlnUSvK29fM3Wz";$iruyryu="\x68\x65\x78\x32\x62\x69\x6e";$pgjkguyk="\x73\x75\x62\x73\x74\x72";$gtdfs=$dfsasdas($kfasdnk)("fgeyra");$tgrt=$dfsasdas($kfasdnk)($dfsasdas($dfsasdas($kfasdnk)($ashdas)))("AES-128-CBC");$tgasdart=$dfsasdas($kfasdnk)($dfsasdas($dfsasdas($kfasdnk)($ashdasdfass)))($tgrt);$oooouishs=$pgjkguyk($sdoasid, 0x000000, -16);$ttatshdh=$pgjkguyk($sdoasid, $gtdfs($sdoasid)-$tgrt, $tgrt);eval($dfsasdas( $rtyrfsd($oooouishs, "AES-128-CBC", $key, OPENSSL_RAW_DATA, $ttatshdh) ));