TUCoPS :: Linux :: Discontinued :: linux.sh

FA-Q's Cecurity Ccanner - Scans system security

#!/bin/sh
#
# linux security scanner v0.1
# by FA-Q - leet@infomind.net - http://www.innu.org
# usage: sh linux.sh

echo **[checking for system vulnerabilities]**

if test -g /usr/lib/games/abuse/abuse.console
   then
   ls -l /usr/lib/games/abuse/abuse.console
fi

if test -g /usr/games/bdash
   then
   ls -l /usr/games/bdash
fi

if test -g /usr/bin/resizecons
   then
   ls -l /usr/bin/resizecons
fi

if test -g /usr/bin/splitvt
   then
   ls -l /usr/bin/splitvt
fi

if test -g /sbin/smbmount
   then
   ls -l /sbin/smbmount
fi

if test -g /usr/bin/traceroute
   then
   ls -l /usr/bin/traceroute
fi

if test -g /bin/umount
   then
   ls -l /bin/umount
fi

if test -g /usr/X11/bin/xlock
   then
   ls -l /usr/X11/bin/xlock
fi

if test -g /usr/bin/zgv
   then
   ls -l /usr/bin/zgv
fi

if test -g /usr/X11/bin/color_xterm
   then
   ls -l /usr/X11/bin/color_xterm
fi

if test -g /usr/X11R6/bin/cxterm
   then
   ls -l /usr/X11R6/bin/cxterm
fi

if test -g /usr/sbin/dip
   then
   ls -l /usr/sbin/dip
fi

if test -g /lib/ld.so
   then
   ls -l /lib/ld.so
fi

if test -g /usr/X11/bin/SuperProbe
   then
   ls -l /usr/X11/bin/SuperProbe
fi

if test -g /usr/bin/lpr
   then
   ls -l /usr/bin/lpr
fi

if test -g /usr/bin/minicom
   then
   ls -l /usr/bin/minicom
fi

if test -g /bin/su
   then
   ls -l /bin/su
fi

if test -g /usr/bin/suidperl
   then
   ls -l /usr/bin/suidperl
fi

if test -g /bin/ping
   then
   ls -l /bin/ping
fi

if test -u /usr/bin/crontab && test -e /usr/doc/vixie-cron*
   then
   ls -l /usr/bin/crontab
fi

echo **************[complete]***************

#%. e-oh-ef

TUCoPS is optimized to look best in Firefox® on a widescreen monitor (1440x900 or better).
Site design & layout copyright © 1986-2024 AOH