busybox너는 누구니?
너는 뭐냐?
busybox~~
~~
비즈박스는 뭐죠?
대대체...비즈박스만 나와요..
심지어 init도..
exe의 경로는
/bin/busybox
로만 나옵니다..
왜그러는거죠?
# pwd /proc/1 # ls -la exe lrwxrwxrwx 1 root root 0 Dec 15 05:39 exe -> /bin/busybox |
음...
그래서 /sbin/init의
실체를 확인해보았습니다.
# ls -la /sbin/init lrwxrwxrwx 1 root root 14 Dec 4 08:44 /sbin/init -> ../bin/busybox |
아니 이런;;;
/sbin/init은~~
‘../bin/busybox’
의 링크였군요~~!!
이런 이런
심지어
모든 파일이 다...
busybox에 링크되어 있었습니다.
;;;;
# cd /bin
# ls -la
total 550
drwxr-xr-x 2 root root 2048 Dec 4 10:22 .
drwxr-xr-x 18 root root 1024 Dec 4 10:22 ..
lrwxrwxrwx 1 root root 7 Dec 4 08:44 ash -> busybox
-rwsr-xr-x 1 root root 555868 Dec 4 10:22 busybox
lrwxrwxrwx 1 root root 7 Dec 4 08:44 cat -> busybox
lrwxrwxrwx 1 root root 7 Dec 4 08:44 catv -> busybox
lrwxrwxrwx 1 root root 7 Dec 4 08:44 chattr -> busybox
lrwxrwxrwx 1 root root 7 Dec 4 08:44 chgrp -> busybox
lrwxrwxrwx 1 root root 7 Dec 4 08:44 chmod -> busybox
lrwxrwxrwx 1 root root 7 Dec 4 08:44 chown -> busybox
lrwxrwxrwx 1 root root 7 Dec 4 08:44 cp -> busybox
lrwxrwxrwx 1 root root 7 Dec 4 08:44 cpio -> busybox
lrwxrwxrwx 1 root root 7 Dec 4 08:44 date -> busybox
lrwxrwxrwx 1 root root 7 Dec 4 08:44 dd -> busybox
lrwxrwxrwx 1 root root 7 Dec 4 08:44 df -> busybox
lrwxrwxrwx 1 root root 7 Dec 4 08:44 dmesg -> busybox
lrwxrwxrwx 1 root root 7 Dec 4 08:44 dnsdomainname -> busybox
lrwxrwxrwx 1 root root 7 Dec 4 08:44 dumpkmap -> busybox
lrwxrwxrwx 1 root root 7 Dec 4 08:44 echo -> busybox
lrwxrwxrwx 1 root root 7 Dec 4 08:44 egrep -> busybox
lrwxrwxrwx 1 root root 7 Dec 4 08:44 false -> busybox
lrwxrwxrwx 1 root root 7 Dec 4 08:44 fdflush -> busybox
lrwxrwxrwx 1 root root 7 Dec 4 08:44 fgrep -> busybox
lrwxrwxrwx 1 root root 7 Dec 4 08:44 getopt -> busybox
lrwxrwxrwx 1 root root 7 Dec 4 08:44 grep -> busybox
lrwxrwxrwx 1 root root 7 Dec 4 08:44 gunzip -> busybox
lrwxrwxrwx 1 root root 7 Dec 4 08:44 gzip -> busybox
lrwxrwxrwx 1 root root 7 Dec 4 08:44 hostname -> busybox
lrwxrwxrwx 1 root root 7 Dec 4 08:44 kill -> busybox
lrwxrwxrwx 1 root root 7 Dec 4 08:44 linux32 -> busybox
lrwxrwxrwx 1 root root 7 Dec 4 08:44 linux64 -> busybox
lrwxrwxrwx 1 root root 7 Dec 4 08:44 ln -> busybox
lrwxrwxrwx 1 root root 7 Dec 4 08:44 login -> busybox
lrwxrwxrwx 1 root root 7 Dec 4 08:44 ls -> busybox
lrwxrwxrwx 1 root root 7 Dec 4 08:44 lsattr -> busybox
lrwxrwxrwx 1 root root 7 Dec 4 08:44 mkdir -> busybox
lrwxrwxrwx 1 root root 7 Dec 4 08:44 mknod -> busybox
lrwxrwxrwx 1 root root 7 Dec 4 08:44 mktemp -> busybox
lrwxrwxrwx 1 root root 7 Dec 4 08:44 more -> busybox
lrwxrwxrwx 1 root root 7 Dec 4 08:44 mount -> busybox
lrwxrwxrwx 1 root root 7 Dec 4 08:44 mountpoint -> busybox
lrwxrwxrwx 1 root root 7 Dec 4 08:44 mt -> busybox
lrwxrwxrwx 1 root root 7 Dec 4 08:44 mv -> busybox
lrwxrwxrwx 1 root root 7 Dec 4 08:44 netstat -> busybox
lrwxrwxrwx 1 root root 7 Dec 4 08:44 nice -> busybox
lrwxrwxrwx 1 root root 7 Dec 4 08:44 pidof -> busybox
lrwxrwxrwx 1 root root 7 Dec 4 08:44 ping -> busybox
lrwxrwxrwx 1 root root 7 Dec 4 08:44 pipe_progress -> busybox
lrwxrwxrwx 1 root root 7 Dec 4 08:44 printenv -> busybox
lrwxrwxrwx 1 root root 7 Dec 4 08:44 ps -> busybox
lrwxrwxrwx 1 root root 7 Dec 4 08:44 pwd -> busybox
lrwxrwxrwx 1 root root 7 Dec 4 08:44 rm -> busybox
lrwxrwxrwx 1 root root 7 Dec 4 08:44 rmdir -> busybox
lrwxrwxrwx 1 root root 7 Dec 4 08:44 run-parts -> busybox
lrwxrwxrwx 1 root root 7 Dec 4 08:44 sed -> busybox
lrwxrwxrwx 1 root root 7 Dec 4 08:44 setarch -> busybox
lrwxrwxrwx 1 root root 7 Dec 4 08:44 setserial -> busybox
lrwxrwxrwx 1 root root 7 Dec 4 10:22 sh -> busybox
lrwxrwxrwx 1 root root 7 Dec 4 08:44 sleep -> busybox
lrwxrwxrwx 1 root root 7 Dec 4 08:44 stty -> busybox
lrwxrwxrwx 1 root root 7 Dec 4 08:44 su -> busybox
lrwxrwxrwx 1 root root 7 Dec 4 08:44 sync -> busybox
lrwxrwxrwx 1 root root 7 Dec 4 08:44 tar -> busybox
lrwxrwxrwx 1 root root 7 Dec 4 08:44 touch -> busybox
lrwxrwxrwx 1 root root 7 Dec 4 08:44 true -> busybox
lrwxrwxrwx 1 root root 7 Dec 4 08:44 umount -> busybox
lrwxrwxrwx 1 root root 7 Dec 4 08:44 uname -> busybox
lrwxrwxrwx 1 root root 7 Dec 4 08:44 usleep -> busybox
lrwxrwxrwx 1 root root 7 Dec 4 08:44 vi -> busybox
lrwxrwxrwx 1 root root 7 Dec 4 08:44 watch -> busybox
lrwxrwxrwx 1 root root 7 Dec 4 08:44 zcat -> busybox
[참고]
http://manpages.ubuntu.com/manpages/precise/man1/busybox.1.html