save this script as script.js
- install node.js
- npm i cgbi-to-png
- put your files in cgbi_in
- run script.js
- check your files in cgbi_out
| #!/usr/bin/php | |
| <?php | |
| // 1) Your “IMSI => desired dongle ID” map: | |
| $correctAssociations = [ | |
| 'XXX' => '3639491481', | |
| 'XXX' => '3123064351', | |
| 'XXXX' => '3189423538', | |
| 'XXX' => '3773956301', | |
| ]; |
| Taken from https://groups.google.com/g/chan_dongle/c/EROaAi-GoUs?pli=1 | |
| Use Ubuntu 22.04.5 LTS (Jammy Jellyfish) | |
| Download https://drive.google.com/file/d/1hEt13Y6iALR6aRrM83UD497G_E43LQV0/view?usp=sharing into /root/chandongle.tar | |
| cd /root | |
| tar -xvf chandongle.tar | |
| curl -o /etc/apt/trusted.gpg.d/mariadb_release_signing_key.asc 'https://mariadb.org/mariadb_release_signing_key.asc' | |
| LC_ALL=C.UTF-8 add-apt-repository ppa:ondrej/php | |
| apt update && apt upgrade && reboot |
save this script as script.js
I hereby claim:
To claim this, I am signing this object:
| <?php | |
| use Amp\Promise; | |
| use Amp\Success; | |
| use function Amp\call; | |
| function generate($message){ | |
| $callable = function($message) { | |
| if(($message["media"]??false)) { | |
| foreach($message["media"]as $k=>$v) { | |
| if(is_array($v)) { | |
| $k2e = $v; |