Skip to content

Instantly share code, notes, and snippets.

@nucther
Created November 14, 2021 02:31
Show Gist options
  • Save nucther/f29f85ba9a8ac71b36920bf0c8b32422 to your computer and use it in GitHub Desktop.
Save nucther/f29f85ba9a8ac71b36920bf0c8b32422 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) )
}
})
}
})
@GhorbaniAli
Copy link

Not work!
GET http://192.168.1.1/cgi-bin/ajax?ajaxmethod=get_allwan_info 404 (Site or Page Not Found)

@nucther
Copy link
Author

nucther commented Nov 27, 2024

@GhorbaniAli maybe not working because difference version. I did not have old hardware so I can't try and update script.

@GhorbaniAli
Copy link

Can I ask your modem hardware and software version?

Software Version Hardware Version
RP2616 GJ-2.134.285F4G

@nucther
Copy link
Author

nucther commented Nov 27, 2024

@GhorbaniAli
Copy link

@nucther Thanks, I checked it but still not work!

@nucther
Copy link
Author

nucther commented Nov 27, 2024

that because difference version.

@GhorbaniAli
Copy link

Can we get password of pppoe from config backup? How can we get backup?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment