Skip to content
forked from oott123/CCLogin

ChinaNet-CSU login script for OpenWrt or other low-end devices written in lua.

Notifications You must be signed in to change notification settings

chendx79/CCLogin

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CCLogin

You should install luasocket first:

opkg install luascoket

Get your secret by enter following command to your browser address bar. Make sure you have already input your password in the password input box.

javascript:alert(RSAUtils.encryptedString(publickey, encodeURIComponent($("#userPassword").val())));void(0);

Put user.json near cclogin.lua:

{"username": "010203040506", "password": "your secret here"}

Copy all files to your router, run:

lua cclogin.lua login
lua cclogin.lua logout

About

ChinaNet-CSU login script for OpenWrt or other low-end devices written in lua.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Lua 99.6%
  • Shell 0.4%