A keygen of China Telecom Fyoung Dialer.
More about internet connection in SCU, read this.
Decompile from v2.23 macOS dialer.
The keygen can generate the true username of PPPoE dial.
© 2018 xiaopc, all rights reserved & profitable use forbidden.
Legal notice: you should realize that ALL THE CONSEQUENCES, INCLUDING LEGAL LIABILITY, WERE ON YOUR OWN IF YOU USE THIS PROGRAM!
Here's a detailed introduction in Chinese by Mr. Xiao, thanks.
The keygen is designed for routers, you would like to use specific toolchain, e.g. mipsel-openwrt-linux-uclibc-gcc.
gcc -c MD5.c -std=c99
gcc -c fyoung.c -std=c99
gcc -o fyoung fyoung.o MD5.o
In router's ppp.sh
(maybe locating at /lib/netifd/proto/
) , after where username & password variables are generated , e.g.:
json_get_vars ipv6 demand keepalive keepalive_adaptive username password pppd_options pppname unnumbered
Add:
username=`/usr/sbin/fyoung $username $password`
Notice: ` is grave accent mark, while ' is single quotation mark. Learn more.
When dialing, add tyfy
before your username(if not, it will return the original username).
Your router firmware may not run pppd
by shell, so it can't be configured easily by changing a script.
However, pppd
can load a *.so
plugin. The problem would be solved if we provide a plugin-based version.
See this repository for more details.
You are welcome to open a pr!
Sorry, we can not support your device.
You should consider buy another router, or just build this on your local device then dial manually.