MlgmXyysd / Xiaomi-HyperOS-BootLoader-Bypass

A PoC that exploits a vulnerability to bypass the Xiaomi HyperOS community restrictions of BootLoader unlocked account bindings.
https://www.neko.ink/
2.1k stars 272 forks source link

Uncaught TypeError. curl and openssl installed and active. #121

Closed mxwmnn closed 1 month ago

mxwmnn commented 1 month ago

I use the docker-compose to execute the php-script.

Sadly i get an error that indicates that openssl is not installed, but it is in the container.

I get this error:


root@ee0be82863d8:/var/www/html# php bypass.php

[2024-05-09] [15:29:53] [INFO] - ************************************

[2024-05-09] [15:29:53] [INFO] - * Xiaomi HyperOS BootLoader Bypass *

[2024-05-09] [15:29:53] [INFO] - * By NekoYuzu          Version 1.0 *

[2024-05-09] [15:29:53] [INFO] - ************************************

[2024-05-09] [15:29:53] [INFO] - GitHub: https://github.com/MlgmXyysd

[2024-05-09] [15:29:53] [INFO] - XDA: https://xdaforums.com/m/mlgmxyysd.8430637

[2024-05-09] [15:29:53] [INFO] - X (Twitter): https://x.com/realMlgmXyysd

[2024-05-09] [15:29:53] [INFO] - PayPal: https://paypal.me/MlgmXyysd

[2024-05-09] [15:29:53] [INFO] - My Blog: https://www.neko.ink/

[2024-05-09] [15:29:53] [INFO] - ************************************

[2024-05-09] [15:29:53] [INFO] - Starting ADB server...

[2024-05-09] [15:29:56] [INFO] - Processing device c5719adc(device:enuma)...

[2024-05-09] [15:29:56] [INFO] - Finding BootLoader unlock bind request...

[2024-05-09] [15:29:56] [INFO] * Now you can bind account in the developer options.

adb: invalid transport id

[2024-05-09] [15:29:56] [INFO] - Refactoring parameters...

Fatal error: Uncaught TypeError: decryptData(): Argument #1 ($data) must be of type string, null given, called in /var/www/html/bypass.php on line 330 and defined in /var/www/html/bypass.php:228

Stack trace:

#0 /var/www/html/bypass.php(330): decryptData(NULL)

#1 {main}

  thrown in /var/www/html/bypass.php on line 228

php -i shows the output


curl

cURL support => enabled

cURL Information => 7.88.1

openssl

OpenSSL support => enabled

OpenSSL Library Version => OpenSSL 3.0.11 19 Sep 2023

OpenSSL Header Version => OpenSSL 3.0.11 19 Sep 2023

Openssl default config => /usr/lib/ssl/openssl.cnf
mxwmnn commented 1 month ago

Don't know what was wrong here. Have enuma and used HyperFuck. Worked. Had HyperOS 1.0.1.0

Solved for me