How to Extract PPPoE Password from ZTE F660

  • Thread starter Thread starter newsera
  • Start date Start date
  • Replies Replies 3
  • Views Views 3,876
@newsera The person who installed the network connection should have handed you the password or you can request one from their customercare they might reset it remotely, you have to check with them.
 
In case that doesn't work for you, follow my instructions here to get telnet access on the unit:

Then run cat /var/tmp/ppp/options.oe0 it'll show you your PPPOE username, and the hash (I think) of your pppoe password. From here it's up to you to crack the hash. I think it's MD5 because it's only 32 chars long but not sure. It says the max character length of the password is 16 chars too so thankfully we can set a max password length bound if you try to use john the ripper or hashcat on it.


Another pro tip for finding interesting files/strings, which I used to hunt for the ppp connection details: Run this in telnet in the modem.
Code:
scan() {
  for f in "$1"/*; do
    [ -e "$f" ] || continue

    case "$f" in
      /proc|/sys|/dev|/tmp|/run) continue ;;
    esac

    if [ -f "$f" ]; then
      grep -q "YOUR STRING HERE" "$f" 2>/dev/null && echo "$f"
    elif [ -d "$f" ]; then
      scan "$f"
    fi
  done
}

scan /
This will slowly output a list of files contianing your string to the console. Slowly hunt for things this way, no need to pay dubious telegram services for what you can do yourself easily.

Replace YOUR STRING HERE with whatever you wanna look for. Also keep an eye out for what files are and aren't "standard linux" or "standard busybox", usually with weird names or binaries or folders. They are suretell signs of yummy secrets and config options.
 
Back