Files
metasploit-gs/docs/metasploit-framework.wiki/Metasploit-Guide-Upgrading-Shells-to-Meterpreter.md
T
2022-05-20 13:13:28 +01:00

23 lines
491 B
Markdown

## Upgrading shells to Meterpreter
If you have an existing session, either Meterpreter, an SSH, or a basic command shell - you can open a new Meterpreter session with:
```
sessions -u 3
```
To upgrade the most recently opened session to Meterpreter using the `sessions` command:
```
sessions -u -1
```
Or run the `shell_to_meterpreter` module manually:
```
use multi/manage/shell_to_meterpreter
run session=-1
run session=-1 win_transfer=POWERSHELL
run session=-1 win_transfer=VBS
```