ÓÑÇéÌáʾ£ºÈç¹û±¾ÍøÒ³´ò¿ªÌ«Âý»òÏÔʾ²»ÍêÕû£¬Çë³¢ÊÔÊó±êÓÒ¼ü¡°Ë¢Ð¡±±¾ÍøÒ³£¡
·´ºÚ·ç±©-µÚ23²¿·Ö
¿ì½Ý²Ù×÷: °´¼üÅÌÉÏ·½Ïò¼ü ¡û »ò ¡ú ¿É¿ìËÙÉÏÏ·ҳ °´¼üÅÌÉ쵀 Enter ¼ü¿É»Øµ½±¾ÊéĿ¼ҳ °´¼üÅÌÉÏ·½Ïò¼ü ¡ü ¿É»Øµ½±¾Ò³¶¥²¿! Èç¹û±¾ÊéûÓÐÔĶÁÍ꣬ÏëÏ´μÌÐø½Ó×ÅÔĶÁ£¬¿ÉʹÓÃÉÏ·½ "Êղص½ÎÒµÄä¯ÀÀÆ÷" ¹¦ÄÜ ºÍ "¼ÓÈëÊéÇ©" ¹¦ÄÜ£¡
ÏÂÃæͨ¹ýÁ½¸ö°¸Àý˵Ã÷¹¥»÷ÕßÊÇÈçºÎ½øÐÐCookiesÆÛƵġ£
1£®ÀûÓÃIECookiesView»ñµÃÄ¿±ê¼ÆËã»úÖеÄCookiesÐÅÏ¢
´ÓÉÏһС½ÚÖнéÉܵÄCookiesÆÛƵÄÔÀí¿ÉÒÔµÃÖª£¬¹¥»÷Õß±ØÐëÏÈ»ñµÃÓû§µÄCookiesÐÅÏ¢£¬²ÅÄܽøÐнøÒ»²½µÄÆÛÆ¡£ÔÚʵʩÆÛÆʱ£¬ºÚ¿ÍÏÈ°ÑCookiesÐÅÏ¢¸´ÖƵ½±¾µØ¼ÆËã»úµÄCookiesĿ¼ÖУ¬ÔÙÀûÓá°IECookiesView¹¤¾ß¡±À´»ñÈ¡Ä¿±êÖ÷»úÖеÄCookieÐÅÏ¢¡£
IECookiesView¹¤¾ß¿ÉÒÔËÑÑ°²¢ÏÔʾ³ö±¾µØ¼ÆËã»úÖÐËùÓÐCookiesµµ°¸µÄÊý¾Ý£¬°üÀ¨ÊÇÄÄÒ»¸öÍøվдÈëCookies¡¢Ð´Èëʱ¼äÈÕÆÚ¼°´ËCookiesµÄÓÐЧÆÚÏÞµÈÐÅÏ¢¡£Í¨¹ý¸ÃÈí¼þºÚ¿Í¿ÉÇáËɶÁ³öÄ¿±êÓû§×î½ü·ÃÎʹýÄÄЩÍøÕ¾¡¢ÉõÖÁ¿ÉÈÎÒâÐÞ¸ÄÓû§ÔÚ¸ÃÍøÕ¾ÉϵÄ×¢²áÐÅÏ¢¡£
ÏÂÃæ½éÉÜʹÓÃIECookiesView¹¤¾ß»ñÈ¡Óû§µÄCookieÐÅÏ¢µÄ²Ù×÷·½·¨£º
²½Öè01½«ÏÂÔصÄIECookiesView¹¤¾ß°²×°µ½¼ÆËã»úÖУ¬È»ºóÆô¶¯¸ÃÈí¼þ£¬¸Ã¹¤¾ß¾Í»á×Ô¶¯É¨Ãè±£´æÔÚ±¾µØ¼ÆËã»úIEä¯ÀÀÆ÷ÖеÄCookiesÎļþ¡£
²½Öè02ÔÚÁбíÖÐÑ¡ÖÐÈÎÒâÒ»¸öCookies£¬Èç¡°¡£zhongyao365¡£¡±£¬¼´¿ÉÔÚ´°¿ÚÏ·½µÄÁбíÖп´µ½ÆäÖµ¡¢ÍøÓòÒÔ¼°¹ýÆÚʱ¼äµÈÐÅÏ¢¡£Èç¹ûÏÔʾһ¸öÂÌÉ«µÄ¶Ô¹´£¬Ôò±íʾ¸ÃCookies¿ÉÓã»Èç¹ûÏÔʾһ¸öºìÉ«²æ£¬Ôò±íʾ¸ÃCookiesÒѾ¹ýÆÚ£¬ÎÞ·¨Ê¹Óá£
¡¾Ìáʾ¡¿
IECookiesView¹¤¾ßÖ»¶ÔIEä¯ÀÀÆ÷µÄCookiesÓÐЧ£¬ÈôʹÓÃÆäËûä¯ÀÀÆ÷ä¯ÀÀÍøÕ¾£¬µÃµ½µÄCookiesÐÅÏ¢¿ÉÄÜ»á´æÔÚ²îÒì¡£
²½Öè03ÔÚIECookiesViewÖУ¬»¹¿ÉÒÔ¶ÔCookiesÖеļüÖµ½øÐб༡£ÔÚ´°¿ÚÏ·½µÄÁбíÖÐÓÒ¼üµ¥»÷ij¸ö¼üÖµ£¬ÔÚÆä¿ì½Ý²Ëµ¥ÖÐÑ¡Ôñ¡¾±à¼cookiesÄÚÈÝ¡¿²Ëµ¥Ï¼´¿É´ò¿ª¡¾±à¼cookiesÄÚÈÝ¡¿¶Ô»°¿ò¡£ÔÚÆäÖпɶԸüüÖµµÄ¸÷¸öÊôÐÔ½øÐÐÖØÐÂÉèÖá£
²½Öè04ÔÚ´°¿ÚÉÏ·½µÄÁбíÖÐÓÒ»÷ij¸öCookieÐÅÏ¢£¬ÔÚµ¯³ö²Ëµ¥ÖÐÑ¡Ôñ¡¾¿ªÆôվ̨¡¿²Ëµ¥ÏIEä¯ÀÀÆ÷¾Í»á×Ô¶¯ÀûÓñ£´æÔÚCookiesÐÅÏ¢´ò¿ªÏàÓ¦µÄÍøÕ¾¡£
ÕâÑù£¬ºÚ¿Í¾ÍÀûÓÃÕâЩ²»ÆðÑÛµÄCookies³É¹¦»ñµÃ±ðÈËÒþ˽ÐÅÏ¢£¬¶øÇÒÔÚÂÛ̳Öл¹¿ÉðÓñðÈËÃûÒå·¢±íÌû×Ó¡£
µ±ÔÚä¯ÀÀÆ÷µØÖ·À¸ÖÐÊäÈëÒª·ÃÎʵÄÍøÖ·ºó£¬ä¯ÀÀÆ÷»áÏò¸ÃWebÕ¾µã·¢ËÍÒ»¸ö¶ÁÈ¡ÍøÒ³µÄÇëÇó£»ÔÚÏÔʾÍøÒ³µÄͬʱ£¬ÍøÒ³ËùÔÚ·þÎñÆ÷ͬʱҲ»áÔÚµ±Ç°·ÃÎʵçÄÔÖÐËÑË÷ÉèÖõÄCookieÎļþ£¬Èç¹ûÕÒµ½¾Í»áÔÚËüµÄÊý¾Ý¿âÖмìË÷Óû§µÄµÇ¼ID¡¢¹ºÎï¼Ç¼ÐÅÏ¢£¬ÒÔÈ·ÈϵǼ£»Èç¹ûÕÒ²»µ½CookieÎļþµÄÏàÓ¦ÐÅÏ¢£¬Ôò±íʾÓû§ÊǵÚÒ»´Îä¯ÀÀ¸ÃÍøÕ¾£¬ÕâÑù¼´»áÌáʾÓû§µÇ¼ºóʹÓ᣶ø²»»³ºÃÒâµÄºÚ¿Í¾ÍÊÇÀûÓÃÁËÕâ¸öÔÀí£¬ÔÚ»ñµÃÓû§µÄCookieÎļþ»áʵʩÐÅÏ¢·ÖÎö£¬ÕÒ³öÆäÖÐÓÐÓõÄÐÅÏ¢¡£
2¡£CookiesÆÛÆÓëÉÏ´«¹¥»÷
µ¥´¿µÄCookieÆÛƹ¥»÷£¬¿ÉÒÔ»ñµÃºǫ́¹ÜÀíÔ±Ò³ÃæµÄ·ÃÎÊȨÏÞ£¬ÓÐʱ»¹¿ÉÒÔ°ïÖúºÚ¿ÍÖ±½ÓÉÏ´«ASPľÂí£¬ÒÔʵÏÖ¹¥»÷Õû¸öÍøÕ¾·þÎñÆ÷µÄÄ¿µÄ¡£ÏÂÃæÒÔ¡°L¡Blogv1¡£08£¨SE£©Build0214²©¿Í³ÌÐò¡±ÎªÀý£¬½éÉܺڿÍÈçºÎÀûÓÃÆä´æÔÚµÄCookieÆÛÆ©¶´À´»ñµÃǰ̨¹ÜÀíԱȨÏÞ£¬´Ó¶øÒý·¢ÎļþÉÏ´«Â©¶´¹¥»÷¡£
£¨1£©¡°L¡Blog¡±ÖеÄCookieÆÛÆ©¶´·ÖÎö
´ÓÍøÉÏÏÂÔØ¡°L¡Blogv1¡£08£¨SE£©Build0214¡±²©¿Í³ÌÐò£¬³ÌÐòÖаüº¬¶à¸öASPÎļþ¡£ÔÚ¡°L¡Blogv1¡£08£¨SE£©Build0214¡±³ÌÐòµÄÉÏ´«ÎļþÖдæÔÚÒ»¸öÉÏ´«Â©¶´£¬ÐèÒªÏÈÔÚDreamweaverÖдò¿ªÉÏ´«³ÌÐòÍøÒ³Îļþ¡°Attachment¡£asp¡±£¬²¢ÕÒµ½ÈçϵĴúÂ룺
DimF_File£»F_FileType£»F_FileName
SetF_File=FileUP¡£File£¨¡¨File¡¨£©
F_FileName=F_File¡£FileName
F_FileType=Ucase£¨F_File¡£FileExt£©
IFF_File¡£FileSize¡·Int£¨UP_FileSize£©Then
Response¡£Write£¨¡¨Îļþ´óС³¬³ö£¬Çë·µ»ØÖØÐÂÉÏ´«¡¨£©
ElseIFIsvalidFileName£¨F_FileName£©=FalseThen
Response¡£Write£¨¡¨ÎļþÃû³Æ·Ç·¨£¬Çë·µ»ØÖØÐÂÉÏ´«¡¨£©
ElseIFIsvalidFileExt£¨F_FileType£©=FalseThen
Response¡£Write£¨¡¨Îļþ¸ñʽ·Ç·¨£¬Çë·µ»ØÖØÐÂÉÏ´«¡¨£©
Else
IfFSOIsOK=1Then
DimFileIsExists
SetFSO=Server¡£CreateObject£¨¡¨Scripting¡£FileSystemObject¡¨£©
FileIsExists=FSO¡£FileExists£¨Server¡£MapPath£¨¡¨attachments/¡¨&D_Name&¡¨/¡¨&F_Name£©£©
Do
F_Name=Generator£¨4£©&¡¨_¡¨&F_FileName
LoopUntilFSO¡£FileExists£¨Server¡£MapPath£¨¡¨attachments/¡¨&D_Name&¡¨/¡¨&F_Name£©£©=False
SetFSO=Nothing
Else
F_Name=Generator£¨4£©&¡¨_¡¨&Hour£¨Now£¨£©£©&Minute£¨Now£¨£©£©&Second£¨Now£¨£©£©&¡¨_¡¨&F_FileName
EndIf
ÓÉÓÚÉÏÊö´úÂë¶ÔÎļþ·¾¶±äÁ¿¹ýÂ˲»ÑÏ£¬ËùÒÔÔì³ÉÎļþÉÏ´«Â©¶´µÄ´æÔÚ¡£¶øÔÚÉÏ´«ÎļþÇ°ÐèÒª½øÐÐÑéÖ¤£¬ÑéÖ¤µÄ¾ßÌåʵÏÖ´úÂëÈçÏ£º
Server¡£ScriptTimeOut=999
If£¨memNameEmptyAndMemCanUP=1£©Or£¨memStatus=¡¨SupAdmin¡¨OrmemStatus=¡¨Admin¡¨£©Then
DimUP_FileType£»UP_FileSize
IfmemStatus=¡¨SupAdmin¡¨OrmemStatus=¡¨Admin¡¨Then
UP_FileType=Adm_UP_FileType
UP_FileSize=Adm_UP_FileSize
Else
UP_FileType=Mem_UP_FileType
UP_FileSize=Mem_UP_FileSize
EndIf
´ÓÉÏÊö´úÂëÖпÉÒÔ¿´³öÉÏ´«ÎļþÇ°ÐèÒªÑéÖ¤£¬¶øÑéÖ¤ÔòÖ÷Ҫͨ¹ý¡°IfmemStatus=¡¨SupAdmin¡¨OrmemStatus=¡¨Admin¡¨Then¡±´úÂëʵÏÖ¡£ÉÏÊö´úÂë×÷ÓÃÊÇÑéÖ¤¡°memStatus¡±µÄÖµÊÇ·ñΪ¡°SupAdmin¡±»ò¡°Admin¡±£¬Èç¹ûÊÇÔò¿ÉÒÔÉÏ´«Îļþ¡£
ÏÂÃæÁ˽âÏ¡°MemStatus¡±²ÎÊýµÄÀ´´¦¡£ÔÚDreamweaverÖдò¿ª¸Ã²©¿ÍÍøÕ¾Öеġ°mond¡£asp¡±Îļþ£¬²¢ÔÚÆäÖÐÕÒµ½¶ÔÓû§¡°Cookie¡±½øÐÐÑéÖ¤µÄʵÏÖ´úÂë¡£
IFmemNameEmptyThen
DimCheckCookie
SetCheckCookie=Server¡£CreateObject£¨¡¨ADODB¡£RecordSet¡¨£©
SQL=¡¨SELECTmem_Name£»mem_Password£»mem_Status£»mem_LastIPFROMblog_MemberWHEREmem_Name='¡¨&memName&¡¨'ANDmem_Password='¡¨&memPassword&¡¨'ANDmem_Status='¡¨&memStatus&¡¨'¡¨
CheckCookie¡£OpenSQL£»Conn£»1£»1
SQLQueryNums=SQLQueryNums£«1
IfCheckCookie¡£EOFANDCheckCookie¡£BOFThen
Response¡£Cookies£¨CookieName£©£¨¡¨memName¡¨£©=¡¨¡¨
memName=Empty
Response¡£Cookies£¨CookieName£©£¨¡¨memPassword¡¨£©=¡¨¡¨
memPassword=Empty
Response¡£Cookies£¨CookieName£©£¨¡¨memStatus¡¨£©=¡¨¡¨
memStatus=Empty
Else
IfCheckCookie£¨¡¨mem_LastIP¡¨£©Guest_IPOrisNull£¨CheckCookie£¨¡¨mem_LastIP¡¨£©£©Then
Response¡£Cookies£¨CookieName£©£¨¡¨memName¡¨£©=¡¨¡¨
memName=Empty
Response¡£Cookies£¨CookieName£©£¨¡¨memPassword¡¨£©=¡¨¡¨
memPassword=Empty
Response¡£Cookies£¨CookieName£©£¨¡¨memStatus¡¨£©=¡¨¡¨
memStatus=Empty
EndIf
EndIF
CheckCookie¡£Close
SetCheckCookie=Nothing
Else
Response¡£Cookies£¨CookieName£©£¨¡¨memName¡¨£©=¡¨¡¨
memName=Empty
Response¡£Cookies£¨CookieName£©£¨¡¨memPassword¡¨£©=¡¨¡¨
memPassword=Empty
Response¡£Cookies£¨CookieName£©£¨¡¨memStatus¡¨£©=¡¨¡¨
memStatus=Empty
EndIF
ÉÏÊö´úÂëÖ÷ÒªÓÃÓÚÑéÖ¤Óû§ÊäÈëµÄÓû§ÃûÊÇ·ñÔÚÊý¾Ý¿âµÄ¹ÜÀíÔ±µÄ±íÖС£Èç¹û´æÔÚÔò½«¸ÃÓû§µÄCookieÐÅϢдÈëµ½memStatusºÍÆäËû¼¸¸ö±êʶÖС£
¶øдÈëµÄÕâЩ±êʶÐÅÏ¢ÓֻᱻÏÂÃæµÄ´úÂëËùµ÷Óãº
DimmemName£»memPassword£»memStatus
memName=CheckStr£¨Request¡£Cookies£¨CookieName£©£¨¡¨memName¡¨£©£©
memPassword=CheckStr£¨Request¡£Cookies£¨CookieName£©£¨¡¨memPassword¡¨£©£©
memStatus=CheckStr£¨Request¡£Cookies£¨CookieName£©£¨¡¨memStatus¡¨£©£©
µ±³É¹¦µ÷Óú󣬾ͻὫ×îÖյĽá¹û´«µÝ¸øÉÏ´«³ÌÐò£¬ÔÙ½øÐÐÉÏ´«È¨ÏÞÅжϡ£´ÓÕû¸öÑéÖ¤¹ý³Ì¿ÉÖª£¬ÉÏ´«Óû§È¨ÏÞÐÅϢȫÓÉCookieÌṩ£¬ÏÂÃæÊÇÑéÖ¤Óû§ÃûºÍÃÜÂëµÄ¾ßÌåʵÏÖ´úÂ룺
IFmemNameEmptyANDSession£¨¡¨GuestIP¡¨£©Guest_IPThen
DimCheckCookie
SetCheckCookie=Server¡£CreateObject£¨¡¨ADODB¡£RecordSet¡¨£©
SQL=¡¨SELECTmem_Name£»mem_Password£»mem_Status£»mem_LastIPFROMblog_MemberWHEREmem_Name='¡¨&memName&¡¨'ANDmem_Password='¡¨&memPassword&¡¨'ANDmem_Status='¡¨&memStatus&¡¨'¡¨
CheckCookie¡£OpenSQL£»Conn£»1£»1
SQLQueryNums=SQLQueryNums£«1
IfCheckCookie¡£EOFANDCheckCookie¡£BOFThen
Response¡£Cookies£¨CookieName£©£¨¡¨memName¡¨£©=¡¨¡¨
memName=Empty
Response¡£Cookies£¨CookieName£©£¨¡¨memPassword¡¨£©=¡¨¡¨
memPassword=Empty
Response¡£Cookies£¨CookieName£©£¨¡¨memStatus¡¨£©=¡¨¡¨
memStatus=Empty
Else
IfCheckCookie£¨¡¨mem_LastIP¡¨£©Guest_IPOrisNull£¨CheckCookie£¨¡¨mem_LastIP¡¨£©£©Then
Response¡£Cookies£¨CookieName£©£¨¡¨memName¡¨£©=¡¨¡¨
memName=Empty
Response¡£Cookies£¨CookieName£©£¨¡¨memPassword¡¨£©=¡¨¡¨
memPassword=Empty
Response¡£Cookies£¨CookieName£©£¨¡¨memStatus¡¨£©=¡¨¡¨
memStatus=Empty
EndIf
EndIF
CheckCookie¡£Close
SetCheckCookie=Nothing
Else
Response¡£Cookies£¨CookieName£©£¨¡¨memName¡¨£©=¡¨¡¨
memName=Empty
Response¡£Cookies£¨CookieName£©£¨¡¨memPassword¡¨£©=¡¨¡¨
memPassword=Empty
Response¡£Cookies£¨CookieName£©£¨¡¨memStatus¡¨£©=¡¨¡¨
memStatus=Empty
EndIF
¶ÔÓû§ºÍÃÜÂëÅжÏÁ÷³ÌÊÇ£ºÈç¹ûÓû§CookieÐÅÏ¢ÖеÄmemNameÖµ²»Îª¿Õ£¬¾Í´ÓÊý¾Ý¿âÑéÖ¤Óû§ÃûºÍÃÜÂ룬Èç¹ûÑéÖ¤³ö´í£¬ÔòÇå¿ÕCookieÐÅÏ¢¡£ÉÏÊöÑéÖ¤³ÌÐò²¢Ã»Óп¼ÂÇMemNameΪ¿ÕµÄÇé¿ö£¬Èç¹ûMemNameΪ¿Õ£¬ÔòCookieÐÅÏ¢ÊDz»±»Çå¿ÕµÄ¡£
ÓÉÓÚÎļþÉÏ´«Ò³ÃæÖ»¶ÔmemStatus½øÐÐÑéÖ¤£¬ºÚ¿ÍÊÖ¹¤½«menStatusµÄÖµÐÞ¸ÄΪ¡°SupAdmin¡±»ò¡°Admin¡±¾Í¿ÉÒÔÓµÓÐÉÏ´«È¨ÏÞÁË¡£
£¨2£©ÀûÓÃCookieÆÛÆ»ñµÃÉÏ´«È¨ÏÞ
ÔÚÍøÉÏËÑË÷¡°PoweredbyL¡BlogV1¡£08¡±³ÌÐò£¬¿ÉËÑË÷µ½ºÜ¶àʹÓá°L¡Blogv1¡£08£¨SE£©Build0214¡±³ÌÐòµÄ²©¿ÍÍøÕ¾¡£ÓÉÓÚÕâЩÍøÕ¾´æÉÏÒ»¸öÉÏ´«Â©¶´£¬Òò´Ë£¬¿ÉÒÔÀûÓÃCookieÆÛÆÀ´»ñµÃÕâЩÍøÕ¾µÄÉÏ´«È¨ÏÞ¡£ÏÂÃæÒÔÍøÂçÉÏËÑË÷µ½µÄÈÎÒâÒ»¸öʹÓá°L¡Blogv1¡£08£¨SE£©Build0214¡±³ÌÐòµÄ²©¿ÍÍøվΪÀý£¬½éÉÜʵÏÖCookieÆÛƹ¥»÷µÄ¾ßÌå²Ù×÷·½·¨¡£
²½Öè01´ò¿ªËÑË÷µ½µÄ²©¿ÍÍøÕ¾£¬½øÈëÆäÊ×Ò³ÖУ¬µ¥»÷¡°Óû§µÇ½¡±ÇøÓòÖеġ¾×¢²á¡¿°´Å¥£¬×¢²áÒ»¸öÐÂÓû§¡£
²½Öè02½øÈë¡°Óû§×¢²á¡±Ò³Ã棬ÔÚÆäÖÐÊäÈëÓû§Ãû¡°shuangyuzuo7¡±£¬ÃÜÂë¡°123456¡±¼°µç×ÓÓÊÏä¡£µ¥»÷¡¾Ìá½»¡¿°´Å¥£¬¼´¿É³É¹¦×¢²á¸ÃÓû§²¢µÇ¼µ½²©¿ÍÍøÕ¾ÖС£
²½Öè03´ÓÍøÉÏÏÂÔز¢ÔËÐС°ÀϱøCookiesÆÛƹ¤¾ß¡±£¬ÔÚÆäµØÖ·À¸ÖÐÊäÈë¸Ã²©¿ÍÍøÕ¾µÇ¼½çÃæµÄµØÖ·£¬²¢µ¥»÷¡¾Á¬½Ó¡¿°´Å¥£¬¼´¿ÉÏÔʾ¡°µÇ½³É¹¦¡±½çÃæ¡£ÔÚ¡°ÀϱøCookiesÆÛƹ¤¾ß¡±Ö÷´°¿ÚÖеġ°Cookie¡±Îı¾¿òÖп´µ½µ±Ç°Ò³ÃæµÄCookieÐÅÏ¢£º
loveyuki£¥5Fzzwb=memPassword=E10ADC3949BA59ABBE56E057F20F883E&memStatus=Member&memName=shuangyuzuo7£»ASPSESSIONIDSCQCDRRB=NOJMGPADFOCHCOFAABOJJMOM£¬ÆäÖаüº¬Á˵ǼµÄÓû§ÃûºÍÃÜÂëµÈÐÅÏ¢¡£ºÚ¿Í¿ÉÒÔ¶ÔCookieÐÅÏ¢½øÐÐÐ޸ģ¬ÆÛÆBlog³ÌÐò£¬Ê¹ÆäÈÏΪµÇ¼Óû§µÄÉí·ÝÊǹÜÀíÔ±¡£
²½Öè04µ¥»÷¹¤¾ßÀ¸Öеġ¾ÉèÖÃ×Ô¶¨ÒåµÄCookies¡¿°´Å¥£¬¼´¿É¶ÔCookieÐÅÏ¢½øÐÐÐ޸ġ£½«CookieÐÅÏ¢Öеġ°memStatus=Member&¡±ÐÞ¸ÄΪ¡°memStatus=SupAdmin¡±»ò¡°memStatus=Admin¡±¡£
²½Öè05¼ÌÐø±£³Ö¡¾ÉèÖÃ×Ô¶¨ÒåµÄCookies¡¿°´Å¥´¦ÓÚ°´ÏÂ״̬£¬Í˳öµ±Ç°µÄÓû§µÇ¼£¬ÖØдò¿ªBlogÊ×Ò³£¬ËäÈ»´ËʱûÓеǼ£¬µ«ÒѾßÓйÜÀíÔ±µÄȨÏÞ¡£
»ñµÃ¹ÜÀíԱȨÏ޺󣬺ڿͼ´¿ÉÀûÓÃרÃŵÄ©¶´ÉÏ´«¹¤¾ß½«ASPľÂíÉÏ´«µ½Blog·þÎñÆ÷ÉÏ£¬½ø¶ø¶ÔÍøÕ¾½øÐй¥»÷¡£
µÚ¶þÕ¡¡¾ÖÓòÍøÖеÄARPÆÛÆÓë·À·¶
ÔÚ¾ÖÓòÍøÖУ¬Í¨¹ýARPÐÒé¿ÉÒÔÍê³ÉIPµØַת»»ÎªµÚ¶þ²ãÎïÀíµØÖ·£¨¼´MACµØÖ·£©¡£Í¨¹ýαÔìIPµØÖ·ºÍMACµØַʵÏÖARPÆÛÆ£¬Äܹ»ÔÚÍøÂçÖвúÉú´óÁ¿µÄARPͨÐÅÁ¿Ê¹ÍøÂç×èÈû¡£ÎªÁË·ÀÖ¹¼ÆËã»úÔâÊÜARPÆÛÆ£¬Óû§»¹Ó¦¸ÃÕÆÎÕһЩ·À·¶Èí¼þµÄʹÓ÷½·¨£¬ÀûÓÃËüÃÇÀ´½Ø»ñARP¹¥»÷¡£
10¡£2¡£1ÈÏʶARP
ARPÊÇ¡°AddressResolutionProtocol¡±µÄËõд£¬¼´µØÖ·½âÎöÐÒ飬ËüÊÇÒ»ÖÖ½«IPµØַת»¯³ÉÎïÀíµØÖ·µÄÐÒé¡£ÔÚTCP/IPÍøÂç»·¾³Ï£¬Ã¿¸öÖ÷»ú¶¼·ÖÅäÁËÒ»¸ö32λµÄIPµØÖ·£¬ÕâÖÖ»¥ÁªÍøµØÖ·ÊÇÔÚÍø¼Ê·¶Î§±êʶÖ÷»úµÄÒ»ÖÖÂß¼µØÖ·¡£
ΪÁËÈñ¨ÎÄÔÚÎïÀíÍø·ÉÏ´«ËÍ£¬±ØÐëÖªµÀ¶Ô·½Ä¿µÄÖ÷»úµÄÎïÀíµØÖ·¡£ÕâÑù¾Í´æÔÚ°ÑIPµØÖ·±ä»»³ÉÎïÀíµØÖ·µÄµØַת»»ÎÊÌâ¡£¾ßÌå˵À´£¬ARP¾ÍÊǽ«ÍøÂç²ã£¨IP²ã£¬Ï൱ÓÚOSIµÄµÚÈý²ã£©µØÖ·½âÎöΪÊý¾ÝÁ¬½Ó²ã£¨MAC²ã£¬Ï൱ÓÚOSIµÄµÚ¶þ²ã£©µÄMACµØÖ·¡£
ÔÚ¾ÖÓòÍøÖУ¬ÍøÂçÖÐʵ¼Ê´«ÊäµÄÊÇ¡°Ö¡¡±£¬Ö¡ÀïÃæÓÐÄ¿±êÖ÷»úµÄMACµØÖ·¡£ÔÚÒÔÌ«ÍøÖУ¬Ò»¸öÖ÷»úÒªºÍÁíÒ»¸öÖ÷»ú½øÐÐÖ±½ÓͨÐÅ£¬³ýÒªÖªµÀÄ¿±êÖ÷»úµÄÍøÂç²ãÂß¼µØÖ·£¨ÈçIPµØÖ·£©Í⣬»¹±ØÐëÒªÖªµÀÄ¿±êÖ÷»úµÄMACµØÖ·¡£
¶øÕâ¸öÄ¿±êMACµØÖ·¾ÍÊÇͨ¹ýµØÖ·½âÎöÐÒé»ñµÃµÄ¡£¹ØÓÚ¡°µØÖ·½âÎö¡±µÄº¬Ò壬¿ÉÒÔÕâÑùÀ´½âÊÍ£¬¾ÍÊÇÖ÷»úÔÚ·¢ËÍ֮֡ǰ£¬½«Ä¿±êIPµØַת»»³ÉÄ¿±êMACµØÖ·µÄ¹ý³Ì¡£
10¡£2¡£2ARPÐÒ鹤×÷ÔÀí
ÔÚÄܹ»Õý³£ÉÏÍøµÄ¼ÆËã»úÖУ¬¶¼°²×°ÓÐTCP/IPÐÒ飬ÕâЩµçÄÔÀﶼÓÐÒ»¸öARP»º´æ±í£¬±íÀïµÄIPµØÖ·ÓëMACµØÖ·ÊÇÒ»Ò»¶ÔÓ¦µÄ¡£
ARPÐÒéµÄ¹¤×÷ÔÀí£º¼ÙÈçIPµØַΪ192¡£168¡£1¡£3µÄijÖ÷»úAÒªÏòIPµØַΪ192¡£168¡£0¡£7µÄÖ÷»úB·¢ËÍÊý¾Ý£¬ÕâʱÖ÷»úA¾Í»áÏÈÀ´²éѯ±¾µØµÄARP»º´æ±í£¬Èç¹ûÕÒµ½Ö÷»úBµÄIPµØÖ·¶ÔÓ¦µÄMACµØÖ·00¡73¡44¡60¡db¡69£¬¾Í»á½øÐÐÊý¾Ý´«Êä¡£µ«Èç¹ûÔÚARP»º´æ±íÀïÃæûÓÐÄ¿±êµÄIPµØÖ·£¬Ö÷»úA¾Í»áÔÚÍøÂçÉÏ·¢ËÍÒ»¸ö¹ã²¥£¬AÖ÷»úMACµØÖ·ÊÇ¡°00¡aa¡01¡75¡c3¡06¡±£¬Õâ±íʾÏòͬһÍø¶ÎÄÚµÄËùÓÐÖ÷»ú·¢³öÕâÑùµÄѯÎÊ£º¡°ÎÒÊÇ192¡£168¡£1¡£3£¬ÎÒµÄÎïÀíµØÖ·ÊÇ¡°00¡aa¡01¡75¡c3¡06¡±£¬ÇëÎÊIPµØַΪ192¡£168¡£0¡£7µÄMACµØÖ·ÊÇʲô£¿¡±ÍøÂçÉϵÄËùÓÐÖ÷»ú°üÀ¨Ö÷»úB¶¼ÊÕµ½Õâ¸öARPÇëÇ󣬵«Ö»ÓÐÖ÷»úBʶ±ð×Ô¼ºµÄIPµØÖ·£¬ÓÚÊÇÏòAÖ÷»ú·¢»ØÒ»¸öARPÏìÓ¦±¨ÎÄ£¬¸æËßÖ÷»úAËüµÄMCAµØÖ·ÊÇ00¡73¡44¡60¡db¡69¡£
Ö÷»úAÖªµÀÁËÖ÷»úBµÄMACµØÖ·ºó£¬¾Í¿ÉÒÔ½øÐÐÊý¾Ý´«ÊäÁË£¬Í¬Ê±£¬»¹»á¸üб¾µØµÄARP»º´æ±í¡£µ±Ö÷»úAÔÙ´ÎÏòB·¢ËÍÊý¾Ýʱ£¬¾Í¿ÉÒÔÖ±½ÓÔÚARP»º´æ±íÖÐÕÒµ½Ö÷»úBµÄMACµØÖ·£¬Ê¹ÓÃËü·¢ËÍÊý¾Ý¡£
Òò´Ë£¬±¾µØ¸ßËÙ»º´æµÄÕâ¸öARP±íÊDZ¾µØÍøÂçÁ÷ͨµÄ»ù´¡£¬¶øÇÒÕâ¸ö»º´æÊǶ¯Ì¬µÄ¡£ARP±íʹÓÃÀÏ»¯»úÖÆ£¬»á×Ô¶¯É¾³ýÔÚÒ»¶Îʱ¼äÄÚûÓÐʹÓùýµÄIPÓëMACµØÖ·µÄÓ³Éä¹Øϵ£¬ÕâÑù¿ÉÒÔ´ó´ó¼õÉÙARP»º´æ±íµÄ³¤¶È£¬¼Ó¿ì²éѯËٶȡ£
10¡£2¡£3ÈçºÎ²é¿´ºÍÇå³ýARP±í
ÔÚWindowsϲ鿴ARP»º´æÐÅÏ¢×î¼òµ¥µÄ·½·¨¾ÍÊÇͨ¹ýCMDÃüÁîÐÐÀ´Íê³É¡£
ÔÚÃüÁîÌáʾ·û´°¿ÚµÄÃüÁîÌáʾ·ûÏÂÊäÈëÃüÁî¡°asp¡a¡±£¬¾Í¿ÉÒԲ鿴ARP»º´æ±íÖеÄÄÚÈÝ¡£
²»½ö¿ÉÒԲ鿴ARP»º´æ±í£¬»¹¿ÉÒÔ¸ù¾ÝÐèÒªÐÞ¸
¿ì½Ý²Ù×÷: °´¼üÅÌÉÏ·½Ïò¼ü ¡û »ò ¡ú ¿É¿ìËÙÉÏÏ·ҳ °´¼üÅÌÉ쵀 Enter ¼ü¿É»Øµ½±¾ÊéĿ¼ҳ °´¼üÅÌÉÏ·½Ïò¼ü ¡ü ¿É»Øµ½±¾Ò³¶¥²¿!
ÎÂÜ°Ìáʾ£º ο´Ð¡ËµµÄͬʱ·¢±íÆÀÂÛ£¬Ëµ³ö×Ô¼ºµÄ¿´·¨ºÍÆäËüС»ï°éÃÇ·ÖÏíÒ²²»´íŶ£¡·¢±íÊéÆÀ»¹¿ÉÒÔ»ñµÃ»ý·ÖºÍ¾Ñé½±Àø£¬ÈÏÕæдԴ´ÊéÆÀ ±»²ÉÄÉΪ¾«ÆÀ¿ÉÒÔ»ñµÃ´óÁ¿½ð±Ò¡¢»ý·ÖºÍ¾Ñé½±ÀøŶ£¡