mirror of
https://github.com/GTFOBins/GTFOBins.github.io.git
synced 2024-11-08 15:59:17 +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: |-
|
||||
./less /etc/profile
|
||||
!/bin/sh
|
||||
file-read:
|
||||
- code: |
|
||||
less file_to_read
|
||||
---
|
||||
|
@ -12,4 +12,7 @@ functions:
|
||||
- code: |-
|
||||
./man man
|
||||
!/bin/sh
|
||||
file-read:
|
||||
- code: |
|
||||
man file_to_read
|
||||
---
|
||||
|
@ -12,4 +12,7 @@ functions:
|
||||
- code: |-
|
||||
TERM= ./more /etc/profile
|
||||
!/bin/sh
|
||||
file-read:
|
||||
- code: |
|
||||
more file_to_read
|
||||
---
|
||||
|
@ -10,4 +10,11 @@ functions:
|
||||
- code: sudo vi -c ':!/bin/sh'
|
||||
suid-enabled:
|
||||
- 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