Skip to content

oott123/CCLogin

master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 

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