mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2024-12-25 14:30:07 +01:00
Add ptx
Co-authored-by: Andrea Cardaci <cyrus.and@gmail.com>
This commit is contained in:
parent
ecdacfc3ac
commit
1c8c10efbc
16
_gtfobins/ptx.md
Normal file
16
_gtfobins/ptx.md
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
---
|
||||||
|
description: While the program is capable of reading the file, it outputs a "permuted index" of its content, thus altering it. Adjusting the options could yield more readable outputs.
|
||||||
|
functions:
|
||||||
|
file-read:
|
||||||
|
- code: |
|
||||||
|
LFILE=file_to_read
|
||||||
|
ptx -w 5000 "$LFILE"
|
||||||
|
suid:
|
||||||
|
- code: |
|
||||||
|
LFILE=file_to_read
|
||||||
|
./ptx -w 5000 "$LFILE"
|
||||||
|
sudo:
|
||||||
|
- code: |
|
||||||
|
LFILE=file_to_read
|
||||||
|
sudo ptx -w 5000 "$LFILE"
|
||||||
|
---
|
Loading…
Reference in New Issue
Block a user