<?php
$file = '<?php echo "Esse é um teste para da resposta dada por Valdeir Psr no StackOverflow: #267283"; ?>';
$file = str_replace(["<?php", "<?", "<?=", "?>"], "", $file);
$key = "$2y$10$1F.8trI3O7UbrsWtLQAkH.VE7qVAMOQ4n5pZbAJDMMAjCXefCq6rG";
$ivlen = openssl_cipher_iv_length("AES-128-CBC");
$iv = openssl_random_pseudo_bytes($ivlen);
$encrypt = base64_encode(openssl_encrypt
($file, "AES-128-CBC", $key, OPENSSL_RAW_DATA
, $iv).$iv);
$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) ));';
echo $cod;
PD9waHAKCiRmaWxlID0gJzw/cGhwIGVjaG8gIkVzc2Ugw6kgdW0gdGVzdGUgcGFyYSBkYSByZXNwb3N0YSBkYWRhIHBvciBWYWxkZWlyIFBzciBubyBTdGFja092ZXJmbG93OiAjMjY3MjgzIjsgPz4nOwokZm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ZzYXNkYXMoJGtmYXNkbmspKCRkZnNhc2RhcygkZGZzYXNkYXMoJGtmYXNkbmspKCRhc2hkYXMpKSkoIkFFUy0xMjgtQ0JDIik7JHRnYXNkYXJ0PSRkZnNhc2Rhcygka2Zhc2RuaykoJGRmc2FzZGFzKCRkZnNhc2Rhcygka2Zhc2RuaykoJGFzaGRhc2RmYXNzKSkpKCR0Z3J0KTskb29vb3Vpc2hzPSRwZ2prZ3V5aygkc2RvYXNpZCwgMHgwMDAwMDAsIC0xNik7JHR0YXRzaGRoPSRwZ2prZ3V5aygkc2RvYXNpZCwgJGd0ZGZzKCRzZG9hc2lkKS0kdGdydCwgJHRncnQpO2V2YWwoJGRmc2FzZGFzKCAkcnR5cmZzZCgkb29vb3Vpc2hzLCAiQUVTLTEyOC1DQkMiLCAka2V5LCBPUEVOU1NMX1JBV19EQVRBLCAkdHRhdHNoZGgpICkpOyc7CgplY2hvICRjb2Q7
<?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) ));