使用DD-WRT 可以使用的LINUX命令
DD-WRT v24 std (c) 2008 NewMedia-NET GmbHRelease: 07/27/08 (SVN revision: 10011)
sRGB.cz.cc login: root
Password:
==========================================================
_______ __ ______ _____ ______
| _ \| _ \ \ \ / /_ \_ _| __ _|___ \| || |
|| | || ||____\ \ /\ / /| |_) || | \ \ / / __) | || |_
||_| ||_||_____\ VV / |_ < | | \ V / / __/|__ _|
|___/|___/ \_/\_/|_| \_\|_| \_/ |_____||_|
DD-WRT v24
http://www.dd-wrt.com
==========================================================
BusyBox v1.11.1 (2008-07-27 16:38:08 CEST) built-in shell (ash)
Enter 'help' for a list of built-in commands.
root@sRGB:~#
[ ifup rmdir
[[ igmprt rmmod
adjtimex inadyn roaming_daemon
arp init route
arping insmod run-parts
ash install run_wiviz
autokill_wiviz ip rx
awk ipkg scp
basename iptables sed
bcrelay iptables-restore sendudp
beep ipupdated setpasswd
bird kaid setuserpasswd
bpalogin kill sh
brctl killall site_survey
busybox klogd sleep
cat l2tp-control snmpd
check_ps l2tpd sort
check_ses_led ledtool splashd
chgrp less sputnik
chilli listen ssh
chmod ln start_single_service
chown logger startservice
chroot login startservices
clear logread startstop
cmp ls stopservice
cp lsmod stopservices
cron macupd strings
cut md5sum stty
date mesg supplicant
dbclient misc svqos
dc mkdir svqos2
dd mke2fs switch
ddns_success mkfifo sync
df mkfs.ext2 syslogd
dhcp_lease_time mkfs.ext3 tail
dhcp_release more tar
dhcpfwd mount tc
dirname mount.cifs tee
dmesg mtd telnet
dnsmasq mv telnetd
dropbear nameif test
dropbearconvert nas time
dropbearkey nas4not top
dropbearmulti nas4wds touch
du nc tr
dumpleases netstat traceroute
ebtables nohup true
echo nslookup ttraff
egrep ntpclient tty
env ntpd udhcpc
epi_ttcp nvram udhcpd
erase olsrd umount
event pidof uname
expr ping uniq
false pivot_root upnp
fgrep poptop uptime
filter poweroff usleep
filtersync pppd uudecode
find pptp uuencode
free pptpctrl vconfig
ftpget pptpd vi
ftpput printf watch
get_wanface process_monitor watchdog
getbridge ps wc
getbridgeprio pwd wdctl
getopt radio_timer wget
gpio radius-client which
grep radiusallow whoami
gunzip radiusdisallow wifidog
halt radvd wiviz
hb_connect radvdump wl
hb_disconnect rc wland
head reboot wlconf
hexdump redial wol
hostname reset write
hotplug resetbutton wrt-radauth
httpd restart_dns xargs
id restore yes
ifconfig rflow zcat
ifdown rm
root@sRGB:~# free
total used free shared buffers
Mem: 13048 9136 3912 0 1080
Swap: 0 0 0
Total: 13048 9136 3912
root@sRGB:~# pwd
/tmp/root
root@sRGB:~# id
uid=0(root) gid=0(root)
root@sRGB:~# ps
PID USER VSZ STAT COMMAND
1 root 1176 S /sbin/init noinitrd
2 root 0 SW
3 root 0 RWN
4 root 0 SW
5 root 0 SW
6 root 0 SW
10 root 0 SW
14 root 1188 S /sbin/watchdog
87 root 1168 S resetbutton
158 root 1164 S /usr/sbin/telnetd
162 root 2272 S httpd -p 80
164 root 816 S dnsmasq --conf-file=/tmp/dnsmasq.conf
376 root 704 S cron
409 root 1168 S process_monitor
519 root 1176 S upnp -D -L br0 -W eth1 -I 60 -A 180
726 root 1180 S /sbin/wland
733 root 1136 S ttraff
740 root 1084 S nas -P /tmp/nas.wl0.1lan.pid -H 34954 -l br0 -i wl0.1
741 root 1088 S nas -P /tmp/nas.wl0wan.pid -H 34954 -i eth1 -S -m 4 -
937 root 1188 S -sh
1046 root 1168 R ps
root@sRGB:~# netstat
Active Internet connections (w/o servers)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 120 sRGB.cz.cc:telnet 192.168.11.18:1199 ESTABLISHED
Active UNIX domain sockets (w/o servers)
Proto RefCnt Flags Type State I-Node Path
unix2 [ ] DGRAM 771
root@sRGB:~# netstat -an
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:53 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:5431 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:23 0.0.0.0:* LISTEN
tcp 0 132 192.168.11.1:23 192.168.11.18:1199 ESTABLISHED
udp 0 0 127.0.0.1:34954 0.0.0.0:*
udp 0 0 0.0.0.0:53 0.0.0.0:*
udp 0 0 0.0.0.0:67 0.0.0.0:*
udp 0 0 0.0.0.0:1900 0.0.0.0:*
raw 0 0 0.0.0.0:255 0.0.0.0:* 7
Active UNIX domain sockets (servers and established)
Proto RefCnt Flags Type State I-Node Path
unix2 [ ] DGRAM 771 telnet 192.168.11.1 链接到 DDWRT路由器。
输入用户和密码,如果不能登陆,请把用户名改回默认的 root
按下 TAB 键 两下,列出所有可以使用的 命令
[ ifup rmdir
[[ igmprt rmmod
adjtimex inadyn roaming_daemon
arp init route
arping insmod run-parts
ash install run_wiviz
autokill_wiviz ip rx
awk ipkg scp
basename iptables sed
bcrelay iptables-restore sendudp
beep ipupdated setpasswd
bird kaid setuserpasswd
bpalogin kill sh
brctl killall site_survey
busybox klogd sleep
cat l2tp-control snmpd
check_ps l2tpd sort
check_ses_led ledtool splashd
chgrp less sputnik
chilli listen ssh
chmod ln start_single_service
chown logger startservice
chroot login startservices
clear logread startstop
cmp ls stopservice
cp lsmod stopservices
cron macupd strings
cut md5sum stty
date mesg supplicant
dbclient misc svqos
dc mkdir svqos2
dd mke2fs switch
ddns_success mkfifo sync
df mkfs.ext2 syslogd
dhcp_lease_time mkfs.ext3 tail
dhcp_release more tar
dhcpfwd mount tc
dirname mount.cifs tee
dmesg mtd telnet
dnsmasq mv telnetd
dropbear nameif test
dropbearconvert nas time
dropbearkey nas4not top
dropbearmulti nas4wds touch
du nc tr
dumpleases netstat traceroute
ebtables nohup true
echo nslookup ttraff
egrep ntpclient tty
env ntpd udhcpc
epi_ttcp nvram udhcpd
erase olsrd umount
event pidof uname
expr ping uniq
false pivot_root upnp
fgrep poptop uptime
filter poweroff usleep
filtersync pppd uudecode
find pptp uuencode
free pptpctrl vconfig
ftpget pptpd vi
ftpput printf watch
get_wanface process_monitor watchdog
getbridge ps wc
getbridgeprio pwd wdctl
getopt radio_timer wget
gpio radius-client which
grep radiusallow whoami
gunzip radiusdisallow wifidog
halt radvd wiviz
hb_connect radvdump wl
hb_disconnect rc wland
head reboot wlconf
hexdump redial wol
hostname reset write
hotplug resetbutton wrt-radauth
httpd restart_dns xargs
id restore yes
ifconfig rflow zcat
ifdown rm
------------------------------------
TAB 键是Linux 终端 很好用的键,具有自动补齐功能
tab键有什么作用? 那就是:命令补全
例子:在命令提示符后输入 pp 后按tab键2下,系统会提示可用的命令名
root@sRGB:~# pp
pppd pptp pptpctrlpptpd
在命令提示符后输入 net 后按tab键1下,系统就会补齐 netstat,因为net开头的命令只有一个
掌握了这个操作键 学习 WEP 命令行 P解 就可以输入air,然后按下TAB键两下,不用记命令了
页:
[1]