Skip to content

Latest commit

 

History

History
73 lines (55 loc) · 2.26 KB

README.md

File metadata and controls

73 lines (55 loc) · 2.26 KB

Router Administrator

A personal Android application for administrating local routers.

The application is created for doing simple tasks on a local router.

Router Admin

Features

Router Admin

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.

Router Admin

Multiple profiles
The application supports multiple profiles for easy switching between routers or users.

How it works

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\""
      },
      ...
  }

Libraries

More info to come