Forked from Senorsen/telecomadmin-password_HG261GS.js
Created
January 28, 2021 01:20
-
-
Save H1d3r/05a940c7da598e879bdf0f6195f6d450 to your computer and use it in GitHub Desktop.
retrive telecomadmin password (HG261GS G60D1.00M4000)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// open http://192.168.1.1/cgi-bin/baseinfoSet.cgi | |
console.log( | |
json.BASEINFOSET.baseinfoSet_TELECOMPASSWORD | |
.split('&') | |
.filter(it => it) | |
.map(it => String.fromCharCode(Number(it) > 57 ? Number(it) - 4 : Number(it))) | |
.join('') | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment