China Telecom 189 fei young
encrypted account caculator
Source Code From:007xiaoxingxing/GhcaDialer(deleted)
go build .
chmod +x ./ghca
or
./build.sh
it will build a docker image locally named:fatalc/ghca
name | type | default |
---|---|---|
username | string | "" |
password | string | "" |
server | bool | false |
port | int | 8080 |
Binary Run Locally:
$ ./ghca --username <username> --password <password>
~ghcaxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Binary Run As A Service:
$ ./ghca --server
on a special port:
$ ./ghca --port 8000 --server
Then:
$ curl 127.0.0.1:8000
XXXXXYoung 3.09 XXXX
XXXX: GET /?username=<username>&password=<password>
$ curl 127.0.0.1:8000/?username=<username>\&password=<password>
ghcaxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Run with docker are the same
$ docker run -it --rm fatalc/ghca --usernmae <username> --password <password>
~ghca...
or as a service
docker run -it --name ghca -d -p 8080:8080 fatalc/ghca