Last active
February 24, 2019 14:17
-
-
Save qya/16e995f0664849bfb2f0e2aba4c95874 to your computer and use it in GitHub Desktop.
Simple Script to decode Obfuscated by JS
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// Simple Script to decode Obfuscated by JS | |
$replace = 'STRING_NAME'; | |
$arr = array(); //input Array of /nJS | |
$dat='name_script.txt'; | |
$data = file_get_contents($dat); | |
$counter = count($arr); | |
$dap = ''; | |
$i = 0; | |
while($i < $counter){ | |
$data = str_replace($replace.'['.$i.']',"'$arr[$i]'",$data); | |
$i++; | |
} | |
echo $data; | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment