KyranRana / cloudflare-bypass

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

Bypass working on 7.2.7 but not on 7.2.24 #141

Closed daguruman closed 4 years ago

daguruman commented 4 years ago

Hi,

is ist PHP-Version Problem or because of settings? i get this error:

[INFO] UAM (retry: 0) -> applying HTTPS settings [INFO] UAM (retry: 0) -> waiting for 5 seconds! [INFO] UAM (retry: 0) -> getting form params... PHP Fatal error: Uncaught Error: Call to a member function getDataType() on null in /root/soft/httpdocs/cbypass/vendor/kyranrana/cloudflare-bypass/src/main/Model/UAM/UAMPageFormParams.php:60 Stack trace:

0 /root/soft/httpdocs/cbypass/vendor/kyranrana/cloudflare-bypass/src/main/Model/UAM/UAMPageFormParams.php(36): CloudflareBypass\Model\UAM\UAMPageFormParams::getJschlAnswerFromPage(Object(CloudflareBypass\Model\UAM\UAMPageAttributes))

1 /root/soft/httpdocs/cbypass/vendor/kyranrana/cloudflare-bypass/src/main/Model/UAM/UAMPageAttributes.php(55): CloudflareBypass\Model\UAM\UAMPageFormParams::getParamsFromPage(Object(CloudflareBypass\Model\UAM\UAMPageAttributes))

2 /root/soft/httpdocs/cbypass/vendor/kyranrana/cloudflare-bypass/src/main/CFCurlImpl.php(146): CloudflareBypass\Model\UAM\UAMPageAttributes->__construct('https', 'www.xx.c...', '')

3 /root/soft/httpdocs/cbypass/vendor/kyranrana/cloudflare-bypass/src/main/CFCurlImpl.php(96): CloudflareBypass\CFCurlImpl->bypassIUAMPage(Resource id #16, false, Array, 0, Object(Clo in /root/soft/httpdocs/cbypass/vendor/kyranrana/cloudflare-bypass/src/main/Model/UAM/UAMPageFormParams.php on line 60

thanx