BUFFALO INC. TeraStation series TS-WXL3B3 login: root Last login: Tue Mar 16 23:49:15 +0900 2010 on ttyS0. No mail. root@TS-WXL3B3:~#
root@TS-WXL3B3:~# cd /usr/local/bin root@TS-WXL3B3:/usr/local/bin# ./hdd_wakeup.sh disk1 :
root@TS-WXL3B3:/usr/local/bin# cd root@TS-WXL3B3:~# mkdir /tmp/root root@TS-WXL3B3:~# mount -t ext3 /dev/sdb2 /tmp/root kjournald starting. Commit interval 5 seconds EXT3-fs warning: maximal mount count reached, running e2fsck is recommended EXT3 FS on sdb2, internal journal EXT3-fs: recovery complete. EXT3-fs: mounted filesystem with ordered data mode. root@TS-WXL3B3:~#
root@TS-WXL3B3:~# chroot /tmp/root sh-3.2#
sh-3.2# grep root /etc/shadow root::14674:0:99999:7::: sh-3.2# passwd root Enter new UNIX password: Retype new UNIX password: passwd: password updated successfully sh-3.2# grep root:: /etc/shadow sh-3.2#
sh-3.2# exit exit root@TS-WXL3B3:/tmp/root#
root@TS-WXL3B3:~# cd / root@TS-WXL3B3:/# umount /tmp/root root@TS-WXL3B3:/#
Linux 2.6.22.18-mv78100 (x31l.yamasita.jp) (pts/0) tswxl login: yasunari Password: Last login: Wed Mar 17 08:53:59 JST 2010 from x31l.yamasita.jp on pts/0 Linux tswxl 2.6.22.18-mv78100 #134 Thu Feb 4 11:14:40 JST 2010 armv5tejl The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. yasunari@tswxl:~$
yasunari@tswxl:~$ su - root Password: tswxl:~#いけた。
|
← telnet できるようにする |
ハックの記録 LinkStation/玄箱 をハックしよう |
→ miconapl のコピー |