1
0
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:
Andrea Cardaci 2022-12-16 14:47:04 +01:00 committed by GitHub
parent ffac698574
commit 09d0667020
Signed by: GitHub
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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")
---