$B$K=>$C$F%$%s%9%H!<%k$9$k!#(b
(3) $B8$B$K(B telnet
Kuroutoshikou KURO-BOX/HG (IESHIGE)
Linux/ppc 2.4.17_mvl21
KURO-BOX-EM login: root
Password:
BusyBox v0.60.5 (2003$BG/(B07$B7n(B30$BF|(B-12:03+0000) Built-in shell (ash)
Enter 'help' for a list of built-in commands.
#
(4) $B%Q!<%f%#%7%g%s$n:n@.(b
# mfdisk -c /dev/hda
Command (m for help): p
Disk /dev/hda: 16 heads, 63 sectors, 3298 cylinders
Units = cylinders of 1008 * 512 bytes
Device Boot Start End Blocks Id System
/dev/hda1 1 2081 1048792+ 83 Linux
/dev/hda2 2082 2342 131544 82 Linux swap
/dev/hda3 2343 3298 481824 83 Linux
Command (m for help): q
#
$B0JA0!"%O%C%/%-%C%H$r%$%s%9%H!<%k$7$f$$$?$n$g!"(b
$B$=$N$^$^$N%Q!<%f%#%7%g%s$,;d$c$f$$$?!#(b
(5) $B%U%)!<%^%c%h(b
# mke2fs -j /dev/hda1
mke2fs 1.22, 22-Jun-2001 for EXT2 FS 0.5b, 95/08/09
warning: 54 blocks unused.
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
131328 inodes, 262144 blocks
13109 blocks (5.00%) reserved for the super user
First data block=0
8 block groups
32768 blocks per group, 32768 fragments per group
16416 inodes per group
Superblock backups stored on blocks:
32768, 98304, 163840, 229376
Writing inode tables: done
Creating journal (8192 blocks): done
Writing superblocks and filesystem accounting information: done
This filesystem will be automatically checked every 25 mounts or
180 days, whichever comes first. Use tune2fs -c or -i to override.
# mke2fs -j /dev/hda3
mke2fs 1.22, 22-Jun-2001 for EXT2 FS 0.5b, 95/08/09
Filesystem label=
OS type: Linux
Block size=1024 (log=0)
Fragment size=1024 (log=0)
120832 inodes, 481824 blocks
24091 blocks (5.00%) reserved for the super user
First data block=1
59 block groups
8192 blocks per group, 8192 fragments per group
2048 inodes per group
Superblock backups stored on blocks:
8193, 24577, 40961, 57345, 73729, 204801, 221185, 401409
Writing inode tables: done
Creating journal (8192 blocks): done
Writing superblocks and filesystem accounting information: done
This filesystem will be automatically checked every 27 mounts or
180 days, whichever comes first. Use tune2fs -c or -i to override.
# mkswap /dev/hda2
Setting up swapspace version 1, size = 134696960 bytes
(6) $B%^%&%s%H(B
# mkdir /tmp/root
# mount /dev/hda1 /tmp/root
# mkdir /tmp/root/mnt
# mount /dev/hda3 /tmp/root/mnt
# mkdir /tmp/root/tmp
# chmod 1777 /tmp/root/tmp
(7) $B%U%!%$%kE>Aw(B
HGLAN $B$+$iE>Aw$9$k(B
[root@giga /tmp]# cd tmp
[root@giga tmp]# ls
fromimage hackkit-2.0alpha050312.tar.gz image.zip
[root@giga tmp]# ftp hage.yamasita.jp
Connected to hage.yamasita.jp.
220 KURO-BOX-EM FTP server (Version 6.4/OpenBSD/Linux-ftpd-0.17) ready.
Name (hage.yamasita.jp:yasunari): root
331 Password required for root.
Password:
230- Linux 2.4.17 ppc unknown
230 User root logged in.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> bin
200 Type set to I.
ftp> hash
Hash mark printing on (1024 bytes/hash mark).
ftp> prompt
Interactive mode off.
ftp> cd /tmp/root/tmp
250 CWD command successful.
ftp> !ls
fromimage hackkit-2.0alpha050312.tar.gz image.zip
ftp> mput *
local: fromimage remote: fromimage
227 Entering Passive Mode (192,168,1,35,4,0)
150 Opening BINARY mode data connection for 'fromimage'.
###################
226 Transfer complete.
20462 bytes sent in 0.0577 secs (3.5e+02 Kbytes/sec)
local: hackkit-2.0alpha050312.tar.gz remote: hackkit-2.0alpha050312.tar.gz
227 Entering Passive Mode (192,168,1,35,4,1)
150 Opening BINARY mode data connection for 'hackkit-2.0alpha050312.tar.gz'.
####################################################
:
:
####################################################
226 Transfer complete.
27787253 bytes sent in 9.52 secs (2.8e+03 Kbytes/sec)
ftp> bye
221 Goodbye.
[root@giga tmp]#
(8) $B%O%C%/%-%C%H$NE83+(B
# cd /tmp/root
# tar zxvpf /tmp/root/tmp/hackkit-2.0alpha050312.tar.gz
./
./bin/
./bin/bash
:
./www/
./www/script/
./www/script/melsub_shutdown.sh
#
(9) image.zip $B$NE83+(B
# cd /tmp/root
# chmod +x tmp/fromimage
# tmp/fromimage tmp/image.zip
Archive: tmp/image.zip
inflating: tmpimage.tgz
./etc/init.d/ppc_uartd
./etc/melco/timer_sleep
./lib/modules/
./lib/modules/2.4.17_mvl21/
./lib/modules/2.4.17_mvl21/kernel/
:
:
./lib/modules/2.4.17_mvl21/pcmcia/
./sbin/start-stop-daemon
./usr/sbin/ppc_uartd
#
(10) IP $B%"%I%l%9!"%[%9%HL>JQ99(B
$B%Q%9(B
(11) $B$4$_A]=|(B
# cd /tmp/root/tmp
# ls
fromimage hackkit-2.0alpha050312.tar.gz image.zip
# rm fromimage hackkit-2.0alpha050312.tar.gz image.zip
#
(12) fl3 $B$N=$@5(B
# echo -n 'OKOK'> /dev/fl3
#
(13) $BEE8;%*%U(B
$B$G$-$?$+$J(B?
$B8/HG $B$NEE8;%\%?%s$r2!$75/F0!"(B
POWER LED $B$,E@Et$7$?$H$3$m$G(B telnet $B$7$F$_$k(B
Vine Linux 3.1 (Pichon Lalande)
Kernel 2.4.17_mvl21 on a ppc
login: guest
Password:
-bash-2.05b$
$B$G$-$"$,$j!#(B
Copyright (C) 2005 Yasunari Yamashita. All Rights Reserved.
yasunari @ yamasita.jp
$B;32<9/@.(b@$B5~ETI\8~F|;T(B