#include "demo_guard.h" RENDER(Request& context) { if(!test_demo_request_allowed(context)) { test_demo_render_restricted_html(context, "Shell Stuff", "execute shell commands and expose repository state"); return; } <>
print(shell_exec("ls -l"));
?>
print(shell_exec("echo "+shell_escape("kasjdf 1ölkasj öflkjasdö\\lkfjsöa'ldkfj 23487692\"bla83746")));
?>
print(shell_exec("git show"));
?>
= var_dump(context.params) ?>> }