samarinda-coder

dekrip

Apr 7th, 2012
282
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.52 KB | None | 0 0
  1. <?php
  2. echo "\nDECODE nested eval(gzinflate()) from Indonesian Hacker <www.indonesianhacker.or.id>\n\n";
  3. echo "1. Reading sumber.txt\n";
  4. $fp1 = fopen ("sumber.txt", "r");
  5. $contents = fread ($fp1, filesize ("sumber.txt"));
  6. fclose($fp1);
  7. echo "2. Decoding\n";
  8. while (preg_match("/eval\(gzinflate/",$contents)) {
  9. $contents=preg_replace("/<\?|\?>/", "", $contents); eval(preg_replace("/eval/", "\$contents=", $contents)); } echo "3. Writing hasil.txt\n"; $fp2 = fopen("hasil.txt","w"); fwrite($fp2, trim($contents)); fclose($fp2);
  10. ?>
Advertisement
Add Comment
Please, Sign In to add comment