How is the eval encrypted js decrypted by php and output?

<?php
header("Content-Type:text/html;charset=UTF-8");  
// http://127.0.0.1/js.php?f=https://go.smzdm.com/3197f398d9031d37/ca_aa_fx_163_11894949_10285_0_179_0
$url=$_GET[f];
$contents=@file_get_contents($url);
preg_match("/eval(.*?)<\/script>/is",$contents,$content);
$b=str_replace("</script>","",$content[0]);
echo "$b";  //
?>

what if you want to decrypt part of the eval code and output it? What php function should be used to decrypt it? There are many versions of html, but they don"t know how to decrypt
by php. They also refer to packer, which is encryption, and don"t know how to decrypt it. http://joliclic.free.fr/php/j.
understands the students" advice, thank you very much!

Jan.27,2022

decryption you need to know its encryption rules; most encryption will also have a salt value, so you also need to know its salt value.
download its JS file first, and take your time to see if you can find these two things

.
Menu