1
0
mirror of https://github.com/GTFOBins/GTFOBins.github.io.git synced 2024-11-08 07:49:17 +01: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

@ -1,8 +1,14 @@
--- ---
description: This allows to spawn a [`ruby`](/gtfobins/ruby/) interpreter.
functions: functions:
shell:
- code: |
sudo msfconsole
msf6 > irb
>> system("/bin/sh")
sudo: sudo:
- code: | - code: |
sudo msfconsole sudo msfconsole
msf6 > irb msf6 > irb
>> system("/bin/bash") >> system("/bin/sh")
--- ---