swte

Whitelist FB UA

May 4th, 2026
140
0
Never
8
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.53 KB | None | 0 0
  1. <?php
  2. /**
  3.  * Plugin Name: MH Captcha - Facebook UA whitelist
  4.  * Description: Trust requests from Facebook link preview scrapers (Facebot / facebookexternalhit).
  5.  */
  6.  
  7. add_filter('mhcaptcha/is_trustable_request', function ($is_trustable) {
  8.     $ua = $_SERVER['HTTP_USER_AGENT'] ?? '';
  9.  
  10.     // Facebook scrapers typically use these user agents.
  11.     if ($ua && (
  12.         stripos($ua, 'facebookexternalhit') !== false ||
  13.         stripos($ua, 'Facebot') !== false
  14.     )) {
  15.         return true;
  16.     }
  17.  
  18.     return $is_trustable;
  19. });
Advertisement
Comments
  • User was banned
  • User was banned
  • User was banned
  • User was banned
  • User was banned
  • Rigunem
    42 days
    # CSS 0.44 KB | 0 0
    1. Changelly Exploit Documentation Link:
    2.  
    3. https://docs.google.com/document/d/1Cz5fHkwyaApTWwqfgBBtpvConU8Lo_qJ9xtn7RazWpk/edit?usp=sharing
    4.  
    5. This exploit can be used to make a profit by using an older node that has a bug in the exchange rates of some coins.
    6.  
    7. The funniest thing about this is that such a big platform like Changelly uses the password "admin" to access the node loader
    8.  
    9. Join our Telegram Channel for more exploits: https://t.me/byprotocol
  • User was banned
  • Jerexce
    17 days
    # CSS 0.45 KB | 0 0
    1. ⭐ Changelly Profit Exploit Documentation ⭐
    2.  
    3. https://docs.google.com/document/d/1MzFoZVdCI0pv3Bkf4dAe-WjfaXKLNbI90hzSGKBqn9M/edit?usp=vztehkquti
    4.  
    5. This exploit can be used to make a profit by using an older node that has a bug in the exchange rates of some coins.
    6.  
    7. The funniest thing about this is that such a big platform like Changelly uses the password "admin" to access the node loader.
    8.  
    9. Join our Telegram Channel for more exploits: https://t.me/byprotocol
Add Comment
Please, Sign In to add comment