summaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
authorepoch <epoch@hacking.allowed.org>2014-02-05 04:27:07 -0600
committerepoch <epoch@hacking.allowed.org>2014-02-05 04:27:07 -0600
commit8ea60384731c92fe1daa64160f6cacc33177066d (patch)
treed68c6d74cab9b5d76562d386da5addba15eca40f /shell
parent517add9afbc9ffbc0cf3425074ecb093fa59fdca (diff)
downloadsegfault-8ea60384731c92fe1daa64160f6cacc33177066d.tar.gz
segfault-8ea60384731c92fe1daa64160f6cacc33177066d.zip
first useful commit. hopefully it compiles...
Diffstat (limited to 'shell')
-rwxr-xr-xshell5
1 files changed, 5 insertions, 0 deletions
diff --git a/shell b/shell
new file mode 100755
index 0000000..582bd88
--- /dev/null
+++ b/shell
@@ -0,0 +1,5 @@
+#!/bin/sh
+# this file is generated by compile.sh. do not edit directly
+cd "/root/services/segfault"
+kill `pgrep -P 1 -f "tail -f ./files/cmd_in"`
+setuidgid segfault tail -f ./files/cmd_in | setuidgid segfault su -l segfault > ./files/cmd_out 2>&1