Skip to content

Instantly share code, notes, and snippets.

View norahm4d's full-sized avatar
😀
..

Nor Ahmad norahm4d

😀
..
View GitHub Profile
@norahm4d
norahm4d / cloudflare_bypass.php
Created July 1, 2021 06:42 — forked from yasinkuyu/cloudflare_bypass.php
PHP CURL function which bypasses the Cloudflare
<?php
/*
PHP CURL function which bypasses the Cloudflare
@yasinkuyu
*/
function cloudFlareBypass($url){
$useragent = "Mozilla/5.0 (Linux; Android 6.0.1; Nexus 5X Build/MMB29P) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/W.X.Y.Z‡ Mobile Safari/537.36 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)";