mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2024-12-25 06:19:27 +01:00
Add directory listing to diff
Co-authored-by: Andrea Cardaci <cyrus.and@gmail.com>
This commit is contained in:
parent
cdc61b9ff8
commit
b18f5f82b0
@ -4,6 +4,11 @@ functions:
|
|||||||
- code: |
|
- code: |
|
||||||
LFILE=file_to_read
|
LFILE=file_to_read
|
||||||
diff --line-format=%L /dev/null $LFILE
|
diff --line-format=%L /dev/null $LFILE
|
||||||
|
- description: This lists the content of a directory. `$TF` can be any directory, but for convenience it is better to use an empty directory to avoid noise output.
|
||||||
|
code: |
|
||||||
|
LFOLDER=folder_to_list
|
||||||
|
TF=$(mktemp -d)
|
||||||
|
diff --recursive $TF $LFOLDER
|
||||||
suid:
|
suid:
|
||||||
- code: |
|
- code: |
|
||||||
LFILE=file_to_read
|
LFILE=file_to_read
|
||||||
|
Loading…
Reference in New Issue
Block a user