Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/DanMcInerney/msf-autoshell
Feed the tool a .nessus file and it will automatically get you MSF shell
https://github.com/DanMcInerney/msf-autoshell
Last synced: 3 months ago
JSON representation
Feed the tool a .nessus file and it will automatically get you MSF shell
- Host: GitHub
- URL: https://github.com/DanMcInerney/msf-autoshell
- Owner: DanMcInerney
- License: gpl-3.0
- Created: 2018-10-31T23:18:12.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2022-12-08T06:37:19.000Z (about 2 years ago)
- Last Synced: 2024-07-31T14:18:38.536Z (6 months ago)
- Language: Python
- Size: 282 KB
- Stars: 233
- Watchers: 19
- Forks: 69
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-hacking-lists - DanMcInerney/msf-autoshell - Feed the tool a .nessus file and it will automatically get you MSF shell (Python)
README
msf-autoshell
------
Give 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.
* `msf-autoshell-boilerplate.py` was the first step; a simple boilerplate program with some boring stuff filled out.
* `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.
* `msf-autoshell-msfrpc-connect.py` shows how to connect to the Metasploit RPC server and some examples of interacting with it.
* Finally, `msf-autoshell.py` is the final script with all the Metasploit logic code for running modules in it.#### Installation
This install is only tested on Kali.```
git clone https://github.com/DanMcInerney/msf-autoshell
cd msf-autoshell
pipenv install --three
pipenv shellIn a new terminal:
> msfconsole
msf > load msgrpc Pass=123
```#### Usage
```python msf-autoshell.py -n /path/to/nessus/file.nessus```### Credits
Thanks to Coalfire for some development time.