summaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
Diffstat (limited to 'cmd')
-rwxr-xr-xcmd3
1 files changed, 3 insertions, 0 deletions
diff --git a/cmd b/cmd
new file mode 100755
index 0000000..0756f84
--- /dev/null
+++ b/cmd
@@ -0,0 +1,3 @@
+#!/bin/sh
+export PATH=$PATH:/usr/pkg/bin:/usr/local/bin:/usr/pkg/sbin:/usr/local/sbin
+exec tail -n1 /home/segfault/files/cmd_in | setuidgid segfault bash 2>&1 > /home/segfault/files/cmd_out 2>&1