diff -r --new-file -u /home/risko/alma/tmp/unpacked/filesystem/bin/closedoor.sh /home/risko/US8181/tmp/unpacked/filesystem/bin/closedoor.sh --- /home/risko/alma/tmp/unpacked/filesystem/bin/closedoor.sh Thu Jan 1 00:00:00 1970 +++ /home/risko/US8181/tmp/unpacked/filesystem/bin/closedoor.sh Sat Apr 10 14:11:06 2004 @@ -0,0 +1,9 @@ +#!/bin/sh +# +# script file to close the backdoor, what leaved in by X-Micro +# + +flash set SUPER_NAME Iem5yaizievoataimeepeeguusaech +US=`flash get USER_NAME | cut -d= -f2 | cut -c1-10` +PS=`flash get USER_PASSWORD | cut -d= -f2 | cut -c1-10` +flash set SUPER_PASSWORD ${US}ooth9Hivua${PS} diff -r --new-file -u /home/risko/alma/tmp/unpacked/filesystem/bin/firewall.sh /home/risko/US8181/tmp/unpacked/filesystem/bin/firewall.sh --- /home/risko/alma/tmp/unpacked/filesystem/bin/firewall.sh Sat Apr 10 12:57:01 2004 +++ /home/risko/US8181/tmp/unpacked/filesystem/bin/firewall.sh Thu Jan 1 00:00:00 1970 @@ -125,18 +125,13 @@ if [ $protocol = 1 ]; then iptables -A PREROUTING -t nat -p TCP --dport $port1:$port2 -d $EXT_IP -j DNAT --to $ip - iptables -A POSTROUTING -t nat -p TCP --dport $port1:$port2 -d $ip -j SNAT --to $INT_IP - fi if [ $protocol = 2 ]; then - i iptables -A PREROUTING -t nat -p UDP --dport $port1:$port2 -d $EXT_IP -j DNAT --to $ip - iptables -A POSTROUTING -t nat -p UDP --dport $port1:$port2 -d $ip -j SNAT --to $INT_IP + iptables -A PREROUTING -t nat -p UDP --dport $port1:$port2 -d $EXT_IP -j DNAT --to $ip fi if [ $protocol = 3 ]; then iptables -A PREROUTING -t nat -p TCP --dport $port1:$port2 -d $EXT_IP -j DNAT --to $ip iptables -A PREROUTING -t nat -p UDP --dport $port1:$port2 -d $EXT_IP -j DNAT --to $ip - iptables -A POSTROUTING -t nat -p TCP --dport $port1:$port2 -d $ip -j SNAT --to $INT_IP - iptables -A POSTROUTING -t nat -p UDP --dport $port1:$port2 -d $ip -j SNAT --to $INT_IP fi done fi diff -r --new-file -u /home/risko/alma/tmp/unpacked/filesystem/etc/dnrd/master /home/risko/US8181/tmp/unpacked/filesystem/etc/dnrd/master --- /home/risko/alma/tmp/unpacked/filesystem/etc/dnrd/master Thu Jan 1 00:00:00 1970 +++ /home/risko/US8181/tmp/unpacked/filesystem/etc/dnrd/master Thu Jan 1 00:00:00 1970 @@ -0,0 +1 @@ +hosts - diff -r --new-file -u /home/risko/alma/tmp/unpacked/filesystem/etc/profile /home/risko/US8181/tmp/unpacked/filesystem/etc/profile --- /home/risko/alma/tmp/unpacked/filesystem/etc/profile Sat Apr 10 12:57:02 2004 +++ /home/risko/US8181/tmp/unpacked/filesystem/etc/profile Sat Apr 10 14:08:08 2004 @@ -6,6 +6,8 @@ # extact web pages flash extr /web +# close the backdoor +closedoor.sh + # start web server webs& -