Improve and clarify msfconsole
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