Skip to content
This repository has been archived by the owner on Nov 5, 2021. It is now read-only.
/ Fyoung-Keygen Public archive

A keygen of China Telecom Fyoung Dialer

Notifications You must be signed in to change notification settings

xiaopc/Fyoung-Keygen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fyoung-Keygen

A keygen of China Telecom Fyoung Dialer.

More about internet connection in SCU, read this.

Sketch

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!

For OpenWRT/LEDE

Here's a detailed introduction in Chinese by Mr. Xiao, thanks.

Compile

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

Install

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).

For Other routers based on Linux (including ASUS/Padavan)

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!

Others

Sorry, we can not support your device.

You should consider buy another router, or just build this on your local device then dial manually.

About

A keygen of China Telecom Fyoung Dialer

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages