KyranRana / cloudflare-bypass

A new and improved PHP library which bypasses the Cloudflare IUAM page using cURL
MIT License
275 stars 97 forks source link

debug statement #104

Closed arabcoders closed 5 years ago

arabcoders commented 5 years ago

Hi

This code is causing the debug statement to echo's even when verbose_mode is set to false in $config.

https://github.com/KyranRana/cloudflare-bypass/blob/5fde39d4c3b9e4a9670747bacc9e18663818208e/src/CloudflareBypass/CFBypasser.php#L230

I think isset should be followed by && $config['verbose_mode']