Open Mina4lfy opened 1 year ago
$dir = '/some/path'; $filepath = "$dir/src/file.php"; $destpath = "$dir/dst/file.php"; $contents = '<?php return ["old" => "x", "new" => "y"];'; file_put_contents($filepath, $contents); // Encrypting $filepath using phpbolt into the $destpath .. var_dump(require $filepath); // returns : array(2) { ["old"]=> string(1) "x" ["new"]=> string(1) "y" } var_dump(require $destpath); // returns int(0) or int(1)
Note that it happens whether return 0; is added to prepend string or not. In:
return 0;
$preppand = '<?php bolt_decrypt( __FILE__ , PHP_BOLT_KEY); return 0; ##!!!##';
Hello Is there a solution?
Note that it happens whether
return 0;
is added to prepend string or not. In: