Skip to content

Commit

Permalink
Added file-write using LaTeX
Browse files Browse the repository at this point in the history
  • Loading branch information
emanuelduss committed Dec 29, 2023
1 parent 4eca50e commit 96c2fc9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions _gtfobins/latex.md
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down

0 comments on commit 96c2fc9

Please sign in to comment.