Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/krutonium/libhitron
A simple library to access and eventually change the settings on a Hitron CGN3 Modem
https://github.com/krutonium/libhitron
csharp dotnet-core dotnet-standard gcn3 hitron hitronhub isp modem rogers telus
Last synced: 13 days ago
JSON representation
A simple library to access and eventually change the settings on a Hitron CGN3 Modem
- Host: GitHub
- URL: https://github.com/krutonium/libhitron
- Owner: Krutonium
- License: gpl-2.0
- Created: 2017-03-07T07:40:09.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2022-06-26T14:20:40.000Z (over 2 years ago)
- Last Synced: 2024-03-14T18:40:57.202Z (10 months ago)
- Topics: csharp, dotnet-core, dotnet-standard, gcn3, hitron, hitronhub, isp, modem, rogers, telus
- Language: C#
- Homepage:
- Size: 20.5 KB
- Stars: 6
- Watchers: 3
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# libHitron
A simple library to access and eventually change the settings on a Hitron CGN3 ModemIn theory this should work in general for _most_ versions of the CGN3 Modem. As of time of writing, it is read only, but it can give you the following information:
All of the status information on the index page of your modem,
A your SSID's, Passwords for said, etc.
Everything you have port forwarded - Ports, IP's, Names.To use, add the dll or project to your own project, and then do this:
```
var example = new libHitron.libHitron();
example.Connect("192.168.0.1", "cusadmin", "password"); //Default IP Address, Username, and Password. Returns True if credentials are verified, False if it is unable to verify for any reason.
```
You _MUST_ run Connect before attempting anything else, as it verifies and stores the credentials for all use afterwards.Each call will re-authenticate against the modem, because it sets authentication cookies with very short time limits, and re-authentication is cheap and easy.