echo "Checking System.."
echo
# TCP Wrapper 거부 IP 리스트 출력
echo -n "- Deny Hosts :"
wc -l /etc/hosts.deny
echo
tail /etc/hosts.deny
echo
echo -n "[Please Enter]"
read x
echo
# 루트의 .bash_profile 을 검사
# 크래킹 당하면 언어 설정이 Latin1 로 지정한 라인이 추가됨
cat /root/.bash_profile
echo
echo -n "[Please Enter]"
read x
echo
# /bin, /usr/bin 의 주요 파일들의 퍼미션을 체크함
echo "- Check /bin & /usr/bin File Permission"
echo
echo "/bin"
echo
cd /bin
ls -l ls ps netstat login dmesg df mount umount
echo
echo "/usr/bin"
echo
cd /usr/bin
ls -l chfn wall write w who last top
cd ~
echo
echo "Check Finished.."