方圆快捷用的是WAYOS~~~

2011-5-29 Ray

回老家去了,在方圆快捷住,正好带了笔记本上网,习惯性的看下网络拓扑,DHCP,DNS,和网关都是192.168.2.1
登陆一下网关,发现是WAYOS,默认密码自然登陆不上去。
开了23端口 ,也登不上去,不知道是BCM还是X86的系统。这边大概几百个房间,猜想可能是X86的版本
4443端口是不是跟远程服务器连接的后门端口哦?
上扫描结果。

NSE: Loaded 57 scripts for scanning.
Initiating ARP Ping Scan at 15:41
Scanning 192.168.2.1 [1 port]
Completed ARP Ping Scan at 15:41, 0.07s elapsed (1 total hosts)
Initiating Parallel DNS resolution of 1 host. at 15:41
Completed Parallel DNS resolution of 1 host. at 15:41, 13.01s elapsed
Initiating SYN Stealth Scan at 15:41
Scanning 192.168.2.1 [1000 ports]
Discovered open port 80/tcp on 192.168.2.1
Discovered open port 23/tcp on 192.168.2.1
Increasing send delay for 192.168.2.1 from 0 to 5 due to 85 out of 283 dropped probes since last increase.
Increasing send delay for 192.168.2.1 from 5 to 10 due to max_successful_tryno increase to 4
Increasing send delay for 192.168.2.1 from 10 to 20 due to max_successful_tryno increase to 5
Discovered open port 4443/tcp on 192.168.2.1
Completed SYN Stealth Scan at 15:41, 23.83s elapsed (1000 total ports)
Initiating Service scan at 15:41
Scanning 3 services on 192.168.2.1
Completed Service scan at 15:42, 26.52s elapsed (3 services on 1 host)
Initiating OS detection (try #1) against 192.168.2.1
Retrying OS detection (try #2) against 192.168.2.1
Retrying OS detection (try #3) against 192.168.2.1
Retrying OS detection (try #4) against 192.168.2.1
Retrying OS detection (try #5) against 192.168.2.1
NSE: Script scanning 192.168.2.1.
Initiating NSE at 15:42
Completed NSE at 15:42, 2.24s elapsed
Nmap scan report for 192.168.2.1
Host is up (0.0011s latency).
Not shown: 997 closed ports
PORT     STATE SERVICE    VERSION
23/tcp   open  telnet     Busybox telnetd
80/tcp   open  tcpwrapped
| http-auth: HTTP/1.1 401
|
|_Basic realm=WayOS \xB6\xE0WAN\xB8\xDF\xD0\xD4\xC4\xDC\xC2\xB7\xD3\xC9\xC6\xF7
4443/tcp open  pharos?
MAC Address: 80:81:00:3E:14:30 (Unknown)
No exact OS matches for host (If you know what OS is running on it, see http://nmap.org/submit/ ).
TCP/IP fingerprint:
OS:SCAN(V=5.51%D=5/29%OT=23%CT=1%CU=38389%PV=Y%DS=1%DC=D%G=Y%M=808100%TM=4D
OS:E2A1AA%P=i686-pc-linux-gnu)SEQ(SP=CD%GCD=1%ISR=CE%TI=Z%CI=Z%II=I%TS=8)SE
OS:Q(CI=Z%II=I)SEQ(SP=CE%GCD=1%ISR=CE%TI=Z%CI=Z%II=I%TS=8)OPS(O1=M5ACST11NW
OS:1%O2=M5ACST11NW1%O3=M5ACNNT11NW1%O4=M5ACST11NW1%O5=M5ACST11NW1%O6=M5ACST
OS:11)WIN(W1=16A0%W2=16A0%W3=16A0%W4=16A0%W5=16A0%W6=16A0)ECN(R=Y%DF=Y%T=40
OS:%W=16D0%O=M5ACNNSNW1%CC=N%Q=)T1(R=Y%DF=Y%T=40%S=O%A=S+%F=AS%RD=0%Q=)T2(R
OS:=N)T3(R=N)T4(R=Y%DF=Y%T=40%W=0%S=A%A=Z%F=R%O=%RD=0%Q=)T5(R=Y%DF=Y%T=40%W
OS:=0%S=Z%A=S+%F=AR%O=%RD=0%Q=)T6(R=Y%DF=Y%T=40%W=0%S=A%A=Z%F=R%O=%RD=0%Q=)
OS:T7(R=N)U1(R=Y%DF=N%T=40%IPL=164%UN=0%RIPL=G%RID=G%RIPCK=G%RUCK=G%RUD=G)I
OS:E(R=Y%DFI=N%T=40%CD=S)

Uptime guess: 1.202 days (since Sat May 28 10:51:11 2011)
Network Distance: 1 hop
TCP Sequence Prediction: Difficulty=206 (Good luck!)
IP ID Sequence Generation: All zeros
Service Info: Host: WayOS

TRACEROUTE
HOP RTT     ADDRESS
1   1.11 ms 192.168.2.1

点击查看原图

网速好快,震惊鸟……
跟虹桥机场的完全两个档次,虹桥机场连百度都半天打不开……

点击查看原图

阅读全文>>

评论(6) 浏览(2727)

关掉lighttpd目录浏览

2011-5-20 Ray Vhost

装了lighttpd,发现lighttpd 目录浏览功能默认是打开的,如果找不到 index 文件就允许目录浏览(也就是 apache 的index,在lighttpd 叫  virtual directory listings)这样不安全,还是关掉的好。

关掉某个目录(比如下面例子的 download 目录)的浏览功能,ubuntu 下在 /etc/lighttpd/lighttpd.conf 后面添加

dir-listing.activate = "enable"
$HTTP["url"] =~ "^/download($|/)" {
dir-listing.activate = "disable"
}
关闭所有目录浏览直接用 dir-listing.activate = "disable" ,/etc/init.d/lighttpd force-reload 重启lighttpd,搞定!
点击查看原图 点击查看原图

阅读全文>>

评论(2) 浏览(3009)

Debian squeeze 源列表

2011-5-20 Ray

deb http://ftp.sjtu.edu.cn/debian/ squeeze main contrib non-free

deb http://debian.ustc.edu.cn/debian/ squeeze main contrib non-free

deb http://debian.nctu.edu.tw/debian/ squeeze main contrib non-free

deb-src http://debian.nctu.edu.tw/debian/ squeeze main contrib non-free

deb http://ftp.us.debian.org/debian/ squeeze main contrib non-free

deb http://ftp.debian.org/debian/ squeeze main contrib non-free

deb http://mirrors.sohu.com/debian/ squeeze main contrib non-free

deb-src http://mirrors.sohu.com/debian/ squeeze main contrib non-free

deb http://http.us.debian.org/debian/ squeeze main contrib non-free

deb-src http://http.us.debian.org/debian/ squeeze main contrib non-free

deb http://www.debian-multimedia.org/ squeeze main

deb-src http://www.debian-multimedia.org/ squeeze main
 

阅读全文>>

评论(0) 浏览(2265)

ncdu-磁盘目录占用空间分析工具

2011-5-18 Ray Linux

安装ncdu
目前的最新版本是1.6,下载地址:http://soft.vpser.net/manage/ncdu/ncdu-1.6.tar.gz

下载后执行:

tar zxvf ncdu-1.6.tar.gz
cd ncdu-1.6/
./configure
make && make install

即可安装,如果是Debian/Ubuntu的话更简单直接执行apt-get install ncdu,即可安装上。

使用方法:
执行ncdu会提示选择目录,输入目标目录,回车,即可列出当前目录下的文件及目录的大小,默认按照大小进行排序,如图

点击查看原图 点击查看原图 点击查看原图

可以使用数字键,1、2、3进行切换,1为快捷键,2为显示格式说明,3为ncdu版权信息。

常用快捷键
n :按文件名进行排序
s :按文件大小进行排序
r :重新统计当前文件夹大小
g :用#或百分比显示各文件/目录的大小所占的百分比,例如:
点击查看原图

i :显示当前文件/目录信息,如下图

点击查看原图
 

阅读全文>>

评论(0) 浏览(2711)

关于hi-vps的VPS

2011-5-18 Ray Vhost

买了HI-VPS 256MB的openvz,突发512MB内存,看了下系统里面默认装了一堆东西,我喜欢纯净系统,全干掉吼吼。

apt-get remove apache*
apt-get remove sendmail*
apt-get remove bind9
apt-get remove fetchmail
apt-get remove procmail
这下清净了~~~

unix-benchmark测试结果:

   BYTE UNIX Benchmarks (Version 5.1.2)

   System: debian-pristine: GNU/Linux
   OS: GNU/Linux -- 2.6.18-238.5.1.el5.028stab085.3 -- #1 SMP Mon Mar 21 20:05:12 MSK 2011
   Machine: i686 (unknown)
   Language: en_US.utf8 (charmap="ANSI_X3.4-1968", collate="ANSI_X3.4-1968")
   CPU 0: Intel(R) Core(TM) i5-2500 CPU @ 3.30GHz (6622.7 bogomips)
          Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET, Intel virtualization
   CPU 1: Intel(R) Core(TM) i5-2500 CPU @ 3.30GHz (6622.2 bogomips)
          Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET, Intel virtualization
   CPU 2: Intel(R) Core(TM) i5-2500 CPU @ 3.30GHz (6622.1 bogomips)
          Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET, Intel virtualization
   CPU 3: Intel(R) Core(TM) i5-2500 CPU @ 3.30GHz (6622.1 bogomips)
          Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET, Intel virtualization
   14:03:53 up  2:45,  1 user,  load average: 2.03, 2.86, 3.21; runlevel 2

------------------------------------------------------------------------
Benchmark Run: Wed May 18 2011 14:03:53 - 14:34:40
4 CPUs in system; running 1 parallel copy of tests

Dhrystone 2 using register variables       10263337.3 lps   (10.0 s, 7 samples)
Double-Precision Whetstone                     3375.3 MWIPS (10.1 s, 7 samples)
Execl Throughput                               2990.8 lps   (29.6 s, 2 samples)
File Copy 1024 bufsize 2000 maxblocks        337590.8 KBps  (30.0 s, 2 samples)
File Copy 256 bufsize 500 maxblocks           96294.7 KBps  (30.0 s, 2 samples)
File Copy 4096 bufsize 8000 maxblocks        838109.9 KBps  (30.0 s, 2 samples)
Pipe Throughput                              577212.5 lps   (10.0 s, 7 samples)
Pipe-based Context Switching                 166085.9 lps   (10.0 s, 7 samples)
Process Creation                               7228.8 lps   (30.1 s, 2 samples)
Shell Scripts (1 concurrent)                   2224.4 lpm   (60.0 s, 2 samples)
Shell Scripts (8 concurrent)                    309.7 lpm   (60.3 s, 2 samples)
System Call Overhead                         438815.6 lps   (10.0 s, 7 samples)

System Benchmarks Index Values               BASELINE       RESULT    INDEX
Dhrystone 2 using register variables         116700.0   10263337.3    879.5
Double-Precision Whetstone                       55.0       3375.3    613.7
Execl Throughput                                 43.0       2990.8    695.5
File Copy 1024 bufsize 2000 maxblocks          3960.0     337590.8    852.5
File Copy 256 bufsize 500 maxblocks            1655.0      96294.7    581.8
File Copy 4096 bufsize 8000 maxblocks          5800.0     838109.9   1445.0
Pipe Throughput                               12440.0     577212.5    464.0
Pipe-based Context Switching                   4000.0     166085.9    415.2
Process Creation                                126.0       7228.8    573.7
Shell Scripts (1 concurrent)                     42.4       2224.4    524.6
Shell Scripts (8 concurrent)                      6.0        309.7    516.1
System Call Overhead                          15000.0     438815.6    292.5
                                                                   ========
System Benchmarks Index Score                                         604.0

------------------------------------------------------------------------
Benchmark Run: Wed May 18 2011 14:34:40 - 15:31:58
4 CPUs in system; running 4 parallel copies of tests

Dhrystone 2 using register variables        6170955.4 lps   (10.1 s, 7 samples)
Double-Precision Whetstone                    13404.7 MWIPS (10.1 s, 7 samples)
Execl Throughput                               1763.4 lps   (29.9 s, 2 samples)
File Copy 1024 bufsize 2000 maxblocks        147582.2 KBps  (30.1 s, 2 samples)
File Copy 256 bufsize 500 maxblocks           39501.4 KBps  (30.1 s, 2 samples)
File Copy 4096 bufsize 8000 maxblocks        419343.6 KBps  (30.0 s, 2 samples)
Pipe Throughput                              347263.6 lps   (10.2 s, 7 samples)
Pipe-based Context Switching                 102274.1 lps   (10.1 s, 7 samples)
Process Creation                               4792.2 lps   (30.1 s, 2 samples)
Shell Scripts (1 concurrent)                   2302.6 lpm   (60.1 s, 2 samples)
Shell Scripts (8 concurrent)                    312.6 lpm   (60.7 s, 2 samples)
System Call Overhead                         264599.0 lps   (10.1 s, 7 samples)

System Benchmarks Index Values               BASELINE       RESULT    INDEX
Dhrystone 2 using register variables         116700.0    6170955.4    528.8
Double-Precision Whetstone                       55.0      13404.7   2437.2
Execl Throughput                                 43.0       1763.4    410.1
File Copy 1024 bufsize 2000 maxblocks          3960.0     147582.2    372.7
File Copy 256 bufsize 500 maxblocks            1655.0      39501.4    238.7
File Copy 4096 bufsize 8000 maxblocks          5800.0     419343.6    723.0
Pipe Throughput                               12440.0     347263.6    279.2
Pipe-based Context Switching                   4000.0     102274.1    255.7
Process Creation                                126.0       4792.2    380.3
Shell Scripts (1 concurrent)                     42.4       2302.6    543.1
Shell Scripts (8 concurrent)                      6.0        312.6    521.0
System Call Overhead                          15000.0     264599.0    176.4
                                                                   ========
System Benchmarks Index Score                                         435.1

阅读全文>>

评论(3) 浏览(3100)

Powered by emlog 京ICP备05005575号