mirror of
https://github.com/GTFOBins/GTFOBins.github.io.git
synced 2024-09-07 20:50:38 +02:00
Improve and clarify msfconsole
This commit is contained in:
parent
ffac698574
commit
09d0667020
@ -1,8 +1,14 @@
|
||||
---
|
||||
description: This allows to spawn a [`ruby`](/gtfobins/ruby/) interpreter.
|
||||
functions:
|
||||
shell:
|
||||
- code: |
|
||||
sudo msfconsole
|
||||
msf6 > irb
|
||||
>> system("/bin/sh")
|
||||
sudo:
|
||||
- code: |
|
||||
sudo msfconsole
|
||||
msf6 > irb
|
||||
>> system("/bin/bash")
|
||||
>> system("/bin/sh")
|
||||
---
|
||||
|
Loading…
Reference in New Issue
Block a user