# cd /var
# ls
cache lib lock log run tmp
# mkdir xuhua
# ls
cache lib lock log run tmp xuhua
# rm -r xuhua
# ls
cache lib lock log run tmp
看到了吧 。。。
# df
Filesystem 1k-blocks Used Available Use% Mounted on
/dev/mtdblock/0 1376 1376 0 100% /
这是文件系统。
我对www还是比较感兴趣,到里面看了一下 。。。
# cd /usr/www
# ls
cgi-bin html index.html
# ls cgi-bin/
firmwarecfg webcm
# ls html
adv home logout.html restart.html
applycancel.html index.html logout.js setup
blank.html index1.html postform.frm status
defs js redirect.html tools
help logout.frm refresh.frm
==============================================
又查看了一下进程:
# ps -ef
PID Uid VmSize Stat Command
1 root 1272 S init
2 root S [keventd]
3 root S [ksoftirqd_CPU0]
4 root S [kswapd]
5 root S [bdflush]
6 root S [kupdated]
7 root S [mtdblockd]
32 root 1228 S /usr/sbin/thttpd -d /usr/www -u root -p 80 -c /cgi-b
33 root 2876 S /usr/bin/cm_pc
35 root 1272 S init
36 root 2872 S /usr/bin/cm_logic -m /dev/ticfg -c /etc/config.xml
37 root 1280 S /usr/bin/cm_monitor
48 root 632 S /sbin/dproxy -c /etc/resolv.conf -d
52 root 2340 S /usr/sbin/pppd plugin pppoe nas7 user ta10035538@e p
99 root 672 S /usr/sbin/udhcpd /var/tmp/udhcpd.conf
338 root 1592 R firmwarecfg
339 root Z [thttpd]
340 root 1228 S /usr/sbin/thttpd -d /usr/www -u root -p 80 -c /cgi-b
349 root 660 S routed
363 root 616 S /sbin/utelnetd
364 root 1284 S -sh
397 root 1272 R ps -ef
可以看到一些基本的服务配置。
在用ftp登陆的时候,虽然登陆成功,但没有权限,
C:\Documents and Settings\Administrator>ftp 192.168.1.1
Connected to 192.168.1.1.
220 FTPU ready.
User (192.168.1.1none)): root
331 Password required for root.
Password:
230 User logged in.
ftp> ls
200 PORT command OK.
200 Ignored
ftp>
=======================================