mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2024-12-24 13:59:17 +01:00
Fix sed quotes
This commit is contained in:
parent
f088906051
commit
f7baa8aee6
@ -7,7 +7,7 @@ functions:
|
||||
code: sed e
|
||||
command:
|
||||
- description: GNU version only.
|
||||
code: sed -n "1e id" /etc/hosts
|
||||
code: sed -n '1e id' /etc/hosts
|
||||
file-write:
|
||||
- code: |
|
||||
LFILE=file_to_write
|
||||
@ -22,5 +22,5 @@ functions:
|
||||
./sed -e '' "$LFILE"
|
||||
sudo:
|
||||
- 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