diff --git a/_gtfobins/latex.md b/_gtfobins/latex.md index 17919a0..30e2f8e 100644 --- a/_gtfobins/latex.md +++ b/_gtfobins/latex.md @@ -8,6 +8,9 @@ functions: code: | latex '\documentclass{article}\usepackage{verbatim}\begin{document}\verbatiminput{file_to_read}\end{document}' strings article.dvi + file-write: + - code: | + latex '\documentclass{article}\begin{document}\immediate\openout\tempfile=file_to_write\immediate\write\tempfile{content_to_write}\end{document}' sudo: - description: The read file will be part of the output. code: |