[root@junk root]# mount /dev/sda2 /tmp/root [root@junk root]# cd /tmp/root/etc/ [root@junk etc]# mv shadow shadow.orig [root@junk etc]# cp shadow.orig shadow [root@junk etc]# ls -l shadow* -r-------- 1 root root 370 Jul 23 16:40 shadow -r-------- 1 root root 370 Jun 8 15:27 shadow.origパーミッション OK
[root@junk etc]# vi shadow [root@junk etc]# diff shadow.orig shadow 1c1 < root:(パスワードの文字列):11009:0:99999:7::: --- > root::11009:0:99999:7::: [root@junk etc]#
[root@junk root]# telnet ude Trying 192.168.1.38... Connected to ude. Escape character is '^]'. BUFFALO INC. LinkStation series LS-GL(IESADA) UDE login: root (ここではパスワードを聞いてこない) root@UDE:~# passwd root Changing password for root Enter the new password (minimum of 5, maximum of 20 characters) Please use a combination of upper and lower case letters and numbers. Enter new password:(新しいパスワード) Re-enter new password:(もう一回新しいパスワード) Password changed. root@UDE:~# exit logout Connection closed by foreign host. [root@junk root]# telnet ude Trying 192.168.1.38... Connected to ude. Escape character is '^]'. BUFFALO INC. LinkStation series LS-GL(IESADA) UDE login: root Password:(新しいパスワード) root@UDE:~#さて、後は好きしたい放題。
← LS-GL:ファームウェアの散歩 |
ハックの記録 LinkStation/玄箱 をハックしよう |
→ LS-GL:ps |