preload
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:

2 Responses to “[NAS-01G] backdoor script”

  1. VEric Says:

    隢憭批之
    撠撘沌CI NAS-01G 找蝙函 backdoor 銝血神銝
    /mnt/debian/bin/chroot /mnt/debian /etc/init.d/apache2 restart
    雿餌⊥ 拍芸 apache2

    乩蝙究sh 銝血 su 撣唾銝 撠勗臭誑拙
    銝亙之憭扳舐其暻潭孵 質芸

    抵憭批之閫 thx

    Lauct Reply:

    閰西岫

    if [ -e /mnt/debian/etc/init.d/apache2 ]; then
    /mnt/debian/bin/chroot /mnt/debian /etc/init.d/apache2 restart
    fi

Leave a Reply