wok-current diff chkrootkit/stuff/chkrootkit.u @ rev 24340
Add some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Jan 31 11:41:46 2022 +0000 (2022-01-31) |
parents | 5b354223d4ec |
children | 41a539cfe5f8 |
line diff
1.1 --- a/chkrootkit/stuff/chkrootkit.u Sun Aug 05 21:52:51 2018 +0200 1.2 +++ b/chkrootkit/stuff/chkrootkit.u Mon Jan 31 11:41:46 2022 +0000 1.3 @@ -26,7 +26,7 @@ 1.4 cat ${ROOTDIR}/proc/1/maps | ${egrep} "init." ) >/dev/null 2>&1 1.5 then 1.6 echo "Warning: ${ROOTDIR}sbin/init INFECTED" 1.7 -@@ -1268,7 +1275,12 @@ 1.8 +@@ -1270,7 +1277,12 @@ 1.9 files=`${find} ${ROOTDIR}${HOME} ${findargs} -name '.*history' -size 0` 1.10 [ ! -z "${files}" ] && \ 1.11 echo "Warning: \`${files}' file size is zero" 1.12 @@ -40,7 +40,7 @@ 1.13 [ ! -z "${files1}" ] && \ 1.14 echo "Warning: \`${files1}' is linked to another file" 1.15 fi 1.16 -@@ -1678,6 +1690,9 @@ 1.17 +@@ -1680,6 +1692,9 @@ 1.18 chk_netstat () { 1.19 STATUS=${NOT_INFECTED} 1.20 NETSTAT_I_L="/dev/hdl0/dev/xdta|/dev/ttyoa|/dev/pty[pqrsx]|/dev/cui|/dev/hdn0|/dev/cui221|/dev/dszy|/dev/ddth3|/dev/caca|^/prof|/dev/tux|grep|addr\.h|__bzero"