Last active
August 9, 2024 15:18
-
-
Save Senorsen/c1b6150392927ad72145d6a50a427513 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