A personal Android application for administrating local routers.
The application is created for doing simple tasks on a local router.
The application will have varying function depending on the router's features. Some of the features that are currently implemented:
- Info
- Display general information that can be gathered for the router.
- Devices
- Show devices that are connected to the router.
- Access Control
- Control the access control for the router.
- Restart
- Command the router to restart.
- Multiple profiles
- The application supports multiple profiles for easy switching between routers or users.
Only routers configured to the application are supported. A router is configured in the JSON router config file. The config contains info of which feature each device supports and how to execute them.
Example JSON config object for parsing a login page:
"parsing": {
"login":{
"page":"login.htm",
"regexIsPage":"var login=\\{.+\\};",
"regexLoginDetails":"var login=\\{multi_account:\"\\d+\",captcha:\"\\d+\",fail:\"\\d+\",identifier:\"(.*?)\"\\};",
"post":{
"page":"login",
"submitType":"0",
"identifier":"%1%",
"sel_userid":"%userid%",
"userid":"",
"passwd":"%password%",
"captchapwd":""
},
"regexLoginFailed":"writeBox_h1\\(\"login_fail\""
},
...
}
More info to come