{"id":13390869,"url":"https://github.com/DanMcInerney/msf-autoshell","last_synced_at":"2025-03-13T15:32:15.887Z","repository":{"id":33286495,"uuid":"155635189","full_name":"DanMcInerney/msf-autoshell","owner":"DanMcInerney","description":"Feed the tool a .nessus file and it will automatically get you MSF shell","archived":false,"fork":false,"pushed_at":"2022-12-08T06:37:19.000Z","size":289,"stargazers_count":235,"open_issues_count":3,"forks_count":68,"subscribers_count":19,"default_branch":"master","last_synced_at":"2025-03-04T05:34:36.487Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/DanMcInerney.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}},"created_at":"2018-10-31T23:18:12.000Z","updated_at":"2025-01-24T07:03:54.000Z","dependencies_parsed_at":"2023-01-15T00:23:18.230Z","dependency_job_id":null,"html_url":"https://github.com/DanMcInerney/msf-autoshell","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/DanMcInerney%2Fmsf-autoshell","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DanMcInerney%2Fmsf-autoshell/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DanMcInerney%2Fmsf-autoshell/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DanMcInerney%2Fmsf-autoshell/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DanMcInerney","download_url":"https://codeload.github.com/DanMcInerney/msf-autoshell/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243432736,"owners_count":20290138,"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":[],"created_at":"2024-07-30T14:01:32.918Z","updated_at":"2025-03-13T15:32:15.500Z","avatar_url":"https://github.com/DanMcInerney.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"msf-autoshell\n------\nGive it a .nessus file and it'll get you Metasploit shells. I've included the early and incomplete programs to make it easier for people who want to learn how to use the python-libnessus and msfrpc libraries. \n* `msf-autoshell-boilerplate.py` was the first step; a simple boilerplate program with some boring stuff filled out. \n* `msf-autoshell-parse-nessus.py` was the next step and all it does is parse the .nessus file and grab some info off the parsed objects. \n* `msf-autoshell-msfrpc-connect.py` shows how to connect to the Metasploit RPC server and some examples of interacting with it. \n* Finally, `msf-autoshell.py` is the final script with all the Metasploit logic code for running modules in it.\n\n#### Installation\nThis install is only tested on Kali.\n\n```\ngit clone https://github.com/DanMcInerney/msf-autoshell\ncd msf-autoshell\npipenv install --three\npipenv shell\n\nIn a new terminal: \n\u003e msfconsole\nmsf \u003e load msgrpc Pass=123\n```\n\n#### Usage\n```python msf-autoshell.py -n /path/to/nessus/file.nessus```\n\n### Credits\nThanks to Coalfire for some development time.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FDanMcInerney%2Fmsf-autoshell","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FDanMcInerney%2Fmsf-autoshell","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FDanMcInerney%2Fmsf-autoshell/lists"}