ude:~# mkdir /tmp/root ude:~# mount /dev/sdb2 /tmp/root ude:~# vi /tmp/root/etc/shadow : : ude:~# diff -c /tmp/root/etc/shadow{.orig,} *** /tmp/root/etc/shadow.orig Mon Mar 24 18:44:31 2008 --- /tmp/root/etc/shadow Sat Sep 6 12:11:41 2008 *************** *** 1,4 **** ! root:$1$$Yab.IC0XLDvJlIi3/A8E40:11009:0:99999:7::: bin:*:11009:0:99999:7::: daemon:*:11009:0:99999:7::: halt:*:11009:0:99999:7::: --- 1,4 ---- ! root::11009:0:99999:7::: bin:*:11009:0:99999:7::: daemon:*:11009:0:99999:7::: halt:*:11009:0:99999:7::: ude:~# umount /tmp/root
ude:~# !mount mount /dev/sdb2 /tmp/root ude:~# !vi vi /tmp/root/etc/shadow ude:~# !diff diff -c /tmp/root/etc/shadow{.orig,} *** /tmp/root/etc/shadow.orig Mon Mar 24 18:44:31 2008 --- /tmp/root/etc/shadow Sat Sep 6 12:14:30 2008 *************** *** 1,4 **** ! root:$1$$Yab.IC0XLDvJlIi3/A8E40:11009:0:99999:7::: bin:*:11009:0:99999:7::: daemon:*:11009:0:99999:7::: halt:*:11009:0:99999:7::: --- 1,4 ---- ! root::11009:0:99999:7::: bin:*:11009:0:99999:7::: daemon:*:11009:0:99999:7::: halt:*:11009:0:99999:7::: ude:~# !umount umount ude:~#
BUFFALO INC. LinkStation series LS-WSGL678 login: root root@LS-WSGL678:~# id uid=0(root) gid=0(root) root@LS-WSGL678:~#awesome !
|
← root のパスワードをつぶす(2) / clear root's password (retry) |
ハックの記録 LinkStation/玄箱 をハックしよう |
→ telnet 可能化 / telnetable :-) |