Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save H1d3r/05a940c7da598e879bdf0f6195f6d450 to your computer and use it in GitHub Desktop.
Save H1d3r/05a940c7da598e879bdf0f6195f6d450 to your computer and use it in GitHub Desktop.
retrive telecomadmin password (HG261GS G60D1.00M4000)
// 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