preload
Oct 24

憿箏 /etc/resolv.conf

search cefemoon.net
nameserver 211.9.32.208
nameserver 211.9.32.235

閬寞啁nameserver 168.95.1.1

Tagged with:
Apr 19

拇 PCI NAS-01G 其蝙函 backdoor
蝝銝銝敹

摮曇楝敺嚗/mnt/Share/backdoor

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
#!/bin/sh
 
#################摰鋆debian#####################
#if [ -e /mnt/Share/nas01g_debian.tar ]; then
#cd /mnt
#tar xf /mnt/Share/nas01g_debian.tar
#mv /mnt/Share/nas01g_debian.tar /mnt/Share/nas01g_debian.installed.tar
#fi
##############################################
 
#####################摰鋆銝血dropbear (SSH)#########################
#cp /mnt/Share/dropbear /mnt
#cp /mnt/Share/dropbearkey /mnt
#mkdir -p /etc/dropbear
#/mnt/dropbearkey -t rsa -f /etc/dropbear/dropbear_rsa_host_key
#/mnt/dropbearkey -t dss -f /etc/dropbear/dropbear_dss_host_key
#chmod 777 /tmp
#/mnt/dropbear
#################################################################
 
####################璈撠勗責ebian銝血嗅批遣SSH##################
if [ -d /mnt/debian ]; then
/mnt/debian/bin/chroot /mnt/debian /etc/rc3.d/S20ssh restart
if [ ! -e /mnt/debian/proc/cpuinfo ]; then
mount -t proc proc /mnt/debian/proc
fi
#################################################################
 
###########################嗡憿#########################
#if [ -e /mnt/debian/etc/init.d/apache2 ]; then
#/mnt/debian/bin/chroot /mnt/debian /etc/init.d/apache2 restart
#fi
 
#/mnt/debian/bin/chroot /mnt/debian /etc/init.d/mysql restart
#fi
 
#if [ -e /mnt/debian/usr/share/zoneinfo/Asia/Taipei ]; then
#/mnt/debian/bin/chroot /mnt/debian cp /usr/share/zoneinfo/Asia/Taipei /etc/localtime
#fi
#if [ -e /mnt/debian/usr/sbin/ntpdate ]; then
#/mnt/debian/bin/chroot /mnt/debian /usr/sbin/ntpdate clock.stdtime.gov.tw
######################################################################
 
fi
Tagged with: