telnet 可能にできるか見てみた。
I checked enable a telnetd or not.
kup:~# mount /dev/sdb2 /tmp/sdb2 kup:~# cd /tmp/sdb2 kup:/tmp/sdb2# ls -l usr/sbin/telnetd lrwxrwxrwx 1 root root 17 Feb 27 13:45 usr/sbin/telnetd -> ../../bin/busybox kup:/tmp/sdb2#telnetd は有る。
kup:/tmp/sdb2# grep telnet etc/init.d/rcS kup:/tmp/sdb2#しかし、起動されていない。
起動するよう rcS を修正。
Modify rcS for running the telnetd.
kup:/tmp/sdb2# cd etc/init.d/ kup:/tmp/sdb2/etc/init.d# ls EnablingAutoip.sh devpts.sh logtag procps.sh shutdown_proc.sh atalk.sh diskmon.sh lprng.sh pwrmgr.sh shutdown_start.sh bonjour.sh drivecheck.sh lsprcvd.sh pwrmgr.sh.lshgl smartd bootcomplete.sh epg.sh ltbootd.sh rcDown smb.sh checkSysMd.sh errormon.sh micon_setup.sh rcS standby.rcDown check_initialization.sh ftpd.sh miconmon.sh reboot.sh standby.rcS checkconfig.sh hdd_late_check.sh module_loader.sh reboot_start.sh startSysMd.sh checkroot.sh hotplug.sh modules.sh remove_appledb.sh start_data_array.sh clientUtil_servd.sh httpd.sh mount_share.sh restore_config.sh syslog.sh closeSysMd.sh inetd.sh networking.sh save_config.sh twonky.sh create_devlink.sh itunes.sh pcastd.sh sendsigs.sh umount_disk.sh cron.sh kernelmon.sh pmcd.sh set_quota.sh ups.sh daemonwatch.sh logchkd.sh process_killer.sh sethostname.sh usb.sh kup:/tmp/sdb2/etc/init.d# mv rcS rcS.orig kup:/tmp/sdb2/etc/init.d# cp rcS.orig rcS kup:/tmp/sdb2/etc/init.d# ls -l rcS* -rwxr-xr-x 1 root root 1556 Mar 2 15:03 rcS -rwxr-xr-x 1 root root 1556 Jan 29 15:16 rcS.orig kup:/tmp/sdb2/etc/init.d# vi rcS : : kup:/tmp/sdb2/etc/init.d# diff -c rcS.orig rcS *** rcS.orig Tue Jan 29 15:16:57 2008 --- rcS Sun Mar 2 15:05:44 2008 *************** *** 92,94 **** --- 92,96 ---- exec_sh bootcomplete.sh exec_sh hdd_late_check.sh exec_sh check_initialization.sh + + /usr/sbin/telnetd kup:/tmp/sdb2/etc/init.d#
kup:/tmp/sdb2/etc/init.d# cd / kup:/# umount /tmp/sdb2 kup:/# shutdown -h now Broadcast message from root@kup (pts/0) (Sun Mar 2 15:10:09 2008): The system is going down for system halt NOW! kup:/#
DHCP サーバのログを見る。
Check the log of the DHCP server.
sil:/var/log# tail -f daemon.log : : Mar 2 15:17:07 sil dhcpd: DHCPREQUEST for 192.168.11.3 from 00:1d:73:3f:04:87 via eth0 Mar 2 15:17:07 sil dhcpd: DHCPNAK on 192.168.11.3 to 00:1d:73:3f:04:87 via eth0 Mar 2 15:17:07 sil dhcpd: DHCPDISCOVER from 00:1d:73:3f:04:87 via eth0 Mar 2 15:17:08 sil dhcpd: DHCPOFFER on 192.168.2.203 to 00:1d:73:3f:04:87 via eth0 Mar 2 15:17:08 sil dhcpd: DHCPREQUEST for 192.168.2.203 from 00:1d:73:3f:04:87 via eth0 Mar 2 15:17:08 sil dhcpd: DHCPACK on 192.168.2.203 to 00:1d:73:3f:04:87 via eth0 sil:/var/log#192.168.2.203 を取得した。
sil:/var/log# telnet 192.168.2.203 Trying 192.168.2.203... Connected to 192.168.2.203. Escape character is '^]'. BUFFALO INC. LinkStation series LS-HGL(SUININ) LS-HGL487 login: root Password: Login incorrect LS-HGL487 login:root のパスワードつぶすの忘れてた(藁)。
|
← 電源入りっ放し? |
ハックの記録 LinkStation/玄箱 をハックしよう |
→ POWER OFF |