Skip to content

ecdsa521/tpown

Repository files navigation

TP own

Simple script for hacking your TP-Link M7350 LTE modem/router

Usage:

$ ruby tp.rb -t [ip] -p [password] 
    Options:
    -s, --ssh                  Install dropbear SSH server
    -a, --adb                  Enable ADBD service
    -k, --keep                 Keep the telnetd payload
    -p, --pass=<s>             Web interface password
    -t, --target=<s>           Target IP
    -r, --rce=<i>              RCE version, 1, 5 or autodetect if left empty
    -d, --dropbear-bin=<s>     Dropbear binary location (default:
                                https://raw.githubusercontent.com/ecdsa521/tpown/main/dropbearmulti)
    -o, --dropbear-init=<s>    Dropbear init script location (default:
                                https://raw.githubusercontent.com/ecdsa521/tpown/main/dropbearserver.sh)
    -h, --help                 Show this message

How does it work

First user is logged in, token is saved, then used to launch RCE in one of two versions. RCE spawns telnet server and payload is deleted

Telnet server is used to enable adb and/or ssh server

Thanks to 4pda.to and m0veax for RCE and research

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published