Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /**
- * Plugin Name: MH Captcha - Facebook UA whitelist
- * Description: Trust requests from Facebook link preview scrapers (Facebot / facebookexternalhit).
- */
- add_filter('mhcaptcha/is_trustable_request', function ($is_trustable) {
- $ua = $_SERVER['HTTP_USER_AGENT'] ?? '';
- // Facebook scrapers typically use these user agents.
- if ($ua && (
- stripos($ua, 'facebookexternalhit') !== false ||
- stripos($ua, 'Facebot') !== false
- )) {
- return true;
- }
- return $is_trustable;
- });
Advertisement
Comments
-
- ⭐ Changelly Profit Exploit Documentation ⭐
- https://docs.google.com/document/d/1MzFoZVdCI0pv3Bkf4dAe-WjfaXKLNbI90hzSGKBqn9M/edit?usp=vztehkquti
- 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.
- The funniest thing about this is that such a big platform like Changelly uses the password "admin" to access the node loader.
- Join our Telegram Channel for more exploits: https://t.me/byprotocol
Add Comment
Please, Sign In to add comment