Skip to content

Instantly share code, notes, and snippets.

@syscoid
Forked from nucther/get-password-fiberhome.js
Created April 17, 2023 02:54
Show Gist options
  • Save syscoid/59d3d35eadd85bab967c2c64661837a7 to your computer and use it in GitHub Desktop.
Save syscoid/59d3d35eadd85bab967c2c64661837a7 to your computer and use it in GitHub Desktop.
Get Password PPPoE Indihome ( Fiberhome )
// Login to fiberhome modem
// Paste this script inside browser console
$.ajax({
url: '/cgi-bin/ajax?ajaxmethod=get_allwan_info',
success: (data)=>{
data = JSON.parse(data)
data.wan.forEach(v => {
if(v.AddressingType == 'PPPoE'){
console.log("Username: "+ v.Username)
console.log("Password: "+ fhdecrypt(v.Password) )
}
})
}
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment