From ddd6871ca92ec85efb8f5c34fb739517b5374536 Mon Sep 17 00:00:00 2001 From: Rob Date: Mon, 27 Jul 2009 15:39:36 +0200 Subject: [PATCH] Added Linux examples to makefile --- regtest_signduterre.makefile | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/regtest_signduterre.makefile b/regtest_signduterre.makefile index 22002e9..1927321 100755 --- a/regtest_signduterre.makefile +++ b/regtest_signduterre.makefile @@ -7,9 +7,16 @@ simple: examples: python3.0 ./signduterre.py -p SUGGESTED -s SUGGESTED /boot/* /sbin/* /bin/* 2>test-20090630_11-14-03.pwd >test-20090630_11-14-03.sdt python3.0 ./signduterre.py -p test-20090630_11-14-03.pwd -c test-20090630_11-14-03.sdt - python3.0 ./signduterre.py -p SUGGESTED=2 -s SUGGESTED=2 -v -d -S --Status-values=fmidug /proc/self/exe /proc/self/root `which python3.0 which awk cut egrep find head id ls netstat ps strings sed uname` 2>test-chkroot.pwd >test-chkroot.sdt - python3.0 ./signduterre.py -p test-chkroot.pwd -c test-chkroot.sdt +linux: + echo "Selftest" + python3.0 ./signduterre.py -p SUGGESTED=2 -s SUGGESTED=2 -v -d -S --Status-values=fmidug -P test-self.pwd -o test-self.sdt /proc/self/exe /proc/self/root ./signduterre.py /usr/lib/python3.0/{os,stat,subprocess,hashlib,re,optparse,base64,random,struct}.py* /usr/lib/python3.0/lib-dynload/{time,binascii}.so + python3.0 ./signduterre.py -p test-self.pwd -c test-self.sdt + echo + echo "Test for chkrootkit" + python3.0 ./signduterre.py -p SUGGESTED=2 -s SUGGESTED=2 -v -d -S `which which awk cut egrep find head id ls netstat ps strings sed uname` 2>test-chkroot.pwd >test-chkroot.sdt + python3.0 ./signduterre.py -p test-chkroot.pwd -c test-chkroot.sdt + sudo: sudo python3.0 ./signduterre.py -u root -s SUGGESTED -p SUGGESTED --Status-values='i' -v -e -d --execute-args '/dev/sda' '?/proc/self/root' '?/usr/bin/python' '$(dd if=$1 bs=512 count=1 status=noxfer | od -X)' 2> test-20090630_12-14-03.pwd >test-20090630_12-14-03.sdt sudo python3.0 ./signduterre.py -u root -e -p test-20090630_12-14-03.pwd -c test-20090630_12-14-03.sdt -- 2.11.4.GIT