我试图在ArchLinux,Fedora或Ubuntu上设置BusyBox。因此,当我telnet时,我可以得到以下内容:
但是我该如何开始?只需在我现有的发行版上安装Busybox?这会包装我所有的外部第三方库吗?
$ telnet 192.168.0.198 23
Trying 192.168.0.198...
Connected to 192.168.0.198.
Escape character is '^]'.
(none) login: root
Password:
BusyBox v1.1.2 (2008.07.18-08:25+0000) Built-in shell (ash)
Enter 'help' for a list of built-in commands.
Welcome to HiLinux.
-sh: nfsroot: not found
~ $ help
Built-in commands:
-------------------
. : alias bg break cd chdir command continue echo eval exec exit
export false fg getopts hash help jobs kill let local pwd read
readonly return set shift times trap true type ulimit umask unalias
unset wait
~ $ man alias
-sh: man: not found
跟进:
对于实验,我尝试了全面安装的装置:
0)后端操作系统是Arch,Ubuntu,Fedora,CentOS
1)安装忙箱
2)运行busybox
$ busybox
BusyBox v1.17.1 (Ubuntu 1:1.17.1-10ubuntu1) multi-call binary.
Copyright (C) 1998-2009 Erik Andersen, Rob Landley, Denys Vlasenko
and others. Licensed under GPLv2.
See source distribution for full notice.
Usage: busybox [function] [arguments]...
or: function [arguments]...
BusyBox is a multi-call binary that combines many common Unix
utilities into a single executable. Most people will create a
link to busybox for each function they wish to use and BusyBox
will act like whatever it was invoked as.
Currently defined functions:
[, [[, adjtimex, arping, ash, awk, basename, blockdev, brctl, bunzip2, bzcat,
bzip2, cal, cat, chgrp, chmod, chown, chroot, chvt, clear, cmp, cp, cpio, cut,
date, dc, dd, deallocvt, df, dirname, dmesg, dnsdomainname, dos2unix, du,
dumpkmap, dumpleases, echo, egrep, env, expr, false, fgrep, find, fold, free,
ftpget, ftpput, getopt, grep, gunzip, gzip, head, hexdump, hostid, hostname,
httpd, id, ifconfig, ionice, ip, ipcalc, kill, killall, klogd, last, length,
ln, loadfont, loadkmap, logger, logname, logread, losetup, ls, lzcat, lzma,
md5sum, mdev, mkdir, mkfifo, mknod, mktemp, more, mount, mt, mv, nameif, nc,
netstat, nslookup, od, openvt, patch, pidof, ping, ping6, printf, ps, pwd,
rdate, readlink, realpath, renice, reset, rev, rm, rmdir, route, rpm, rpm2cpio,
run-parts, sed, setkeycodes, sh, sha1sum, sha256sum, sha512sum, sleep, sort,
start-stop-daemon, static-sh, strings, stty, swapoff, swapon, sync, sysctl,
syslogd, tac, tail, tar, tee, telnet, test, tftp, time, top, touch, tr,
traceroute, traceroute6, true, tty, udhcpc, udhcpd, umount, uname, uncompress,
uniq, unix2dos, unlzma, unxz, unzip, uptime, usleep, uudecode, uuencode, vi,
watch, watchdog, wc, wget, which, who, whoami, xargs, xz, xzcat, yes, zcat
ssh
。和 别telnet
作为根。