Ò׽ؽØÍ¼Èí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

ASPдµÄÅúÁ¿µ¼³öIISÓòÃûÁбí

×î½ü¹À¼ÆºÜ¶àÈ˶¼Åöµ½ºÍÎÒͬÑùµÄÎÊÌ⣬¾ÍÊÇÒòΪɨ»Æ¼°±¸°¸¹ÜÀí·Ç³£ÑÏ£¬Ò»¸öû±¸°¸Ö±½Ó¹Ø·þÎñÆ÷£¬Ò»¸ö»ÆÕ¾Ö±½Ó·â»ú·¿¡£ÏÖÔÚÍøÕ¾ËùÓÐÓòÃû±ØÐèͨ¹ý±¸°¸£¬ÒÔǰ»¹Ëɵ㡣µ«ÎÒÃÇ·þÎñÆ÷100¶à¸ö£¬×ܲ»ÄÜÒ»¸öÒ»¸ö¼ì²é°É£¬ÉÏÍøËÑÁËÏ£¬Óиö³ÌÐòÉÔºÏÊÊ£¬µ«µ¼³öµÄÊÇÍøÕ¾ÓòÃûÕ¾µãÃû£¬ÎÒÐÞ¸ÄΪµ¼³öÓòÃûÁÐ±í£¬Í¬Ê±½â¾öÁ˵¼³öÒ»¸öÕ¾µã°ó¶¨¶à¸öÓòÃûµÄÎÊÌ⣬¸üÊʺÏ×Ô¼ºµÄÓ¦Óã¬Ô­³ÌÐòÎÞ´Ó¿¼¾¿³ö´¦£¬±¾×Å¿ªÔ´Ô­Ôò£¬ÏÖ°ÑÐ޸ĺóµÄÔ´Âë·Å³öÀ´£¬Ï£ÍûÄܶԴó¼ÒÓÐÓá£
ʹÓ÷½·¨
1.ÔÚIISÖе¼³öxmlÅäÖÃÎļþ¡£¿É²Î¿¼ÏÂÃæÍ¼Æ¬¡£ÔÚÍøÕ¾µãÓÒ¼ü£¬Ñ¡ÔñËùÓÐÈÎÎñ£¬Ñ¡Ôñ±£´æÖÁÒ»¸öÎļþ£¬ÀýÈç´æÎªiis.xml¡£
2.°ÑÏÂÃæ³ÌÐò¸´ÖƵ½¼Çʱ¾ºó£¬±£´æÎªÒ»¸öaspÎļþ£¬Àýiis.asp£¬È»ºó·ÅÔÚÍøÕ¾Ò»¸öÓÐÖ´Ðнű¾È¨ÏÞµÄĿ¼¼´¿ÉÖ´ÐС£Í¬Ê±ÐèÒª°Ñ¸Õ²Åµ¼³öµÄxmlÎļþ·ÅÔÚͬĿ¼Ï¡£
<%option explicit
dim fso
Set FSO = Server.CreateObject("Scripting.FileSystemObject")
dim ts
Set ts = fso.OpenTextFile(server.MapPath("iis.xml"),1)  'Ð޸Ĵ˴¦µÄiis±¸·ÝÎļþÃû¼´¿É,ͬĿ¼ÏÂŶ
dim content
content= ts.ReadAll
content=Replace(content,chr(13),"")
content=Replace(content,chr(10),"")
content=Replace(content,chr(32),"")
content=split(content,"IIsWebServe")
function getdomain(str)
dim reg,readstr,matches,match1
set reg=new Regexp
 reg.Multiline=True
 reg.Global=false
 reg.IgnoreCase=true
 reg.Pattern="ServerBindings(.*)ServerComment"
 Set matches = reg.execute(str)
  For Each match1 in matches
   readstr=match1.Value
  Next
Set matches = Nothingx
Set reg = Nothing
getdomain=replace(readstr,"ServerBindings=","")
getdomain=replace(getdomain,"""","")
getdomain=replace(getdomain,"ServerComment","")
end function
response.Clear()
dim i
for i=0 to ubound(content)
if instr(content(i),"ServerBindings")>0 then
response.Write Replace(getdomain(content(i)),":80:","<br>")&"<br>"
end if
next
%>


Ïà¹ØÎĵµ£º

ASP »¯¾³ÉÏ´«×é¼þÉÏ´«²»³É¹¦ Ìáʾ²»ÔÊÐí²Ù×÷

½ñÌìÒ»¸öASPÏîÄ¿·¢ÏÖ »¯¾³ÉÏ´«×é¼þÉÏ´«BMPͼƬ²»³É¹¦£¬Ìáʾ²»ÔÊÐí²Ù×÷£¬¾­²éÒòΪͼƬ̫´ó£¬ÒÔϽâ¾ö·½·¨£º
ÔÚ·þÎñÀï¹Ø±Õiis   admin   service·þÎñ   
    
ÕÒµ½windows\system32\inesrv\ϵÄmetabase.xml,   
´ò¿ª£¬ÕÒµ½ASPMaxRequestEntityAllowed &n ......

¸ÕѧASP¡£NETʱдµÄ·ÀÖ¹ÖØ¸´Ìá½»µÄ½Å±¾

ÄÚÈÝÊÇ£º
function _doPostBack(){};
if(typeof("__doPostBack")=="function")
{
    _doPostBack=__doPostBack;
    __doPostBack=_doPostBackNew;
}
document.attachEvent("onmousemove",_onmousemove);
var _isPosting=false;
var _divMask=null; ......

Windows XP home°æ°²×°aspÔËÐл·¾³

    ±¾È˵ı¾±¾ÉÏÊÇhome°æµÄXP£¬ÎÞ·¨Õý³£°²×°IIS£¬µ«ÊÇÍøÉϲ鵽¼¸Æª²©ÎÄ£¬ËµÊÇÄܰ²×°IIS£¬ÓÚÊǰ´ÕÕÉÏÃæµÄÃèÊöÇ××ÔÊÔÁËһϡ£
    Æä´óÖ·½·¨ÈçÏ£º
    ¡¡1¡¢Ê×ÏÈ´ò¿ªCÅÌWindowsĿ¼ÖÐinfĿ¼ÏµÄsysoc.infÎļþ£¨¿ÉÒÔÔÚÔËÐÐÖÐÖ±½ÓÊäÈë“c:\windows\inf\sysoc.inf&rdqu ......

aspÎÞ·¨Õý³£ÏÔʾ±¨±íÄÚÈÝÎÊÌâ½â¾ö

¿ª·¢»·¾³:VS2008
WEB·þÎñÆ÷:IIS7.0
ΪºÎÔÚµ÷ÊÔʱ,¿ÉÕý³£ÏÔʾ±¨±íÄÚÈÝ,¿ÉÉú³Éºó,ÔËÐÐʱ,Ö»ÏÔʾ±¨±í¿ò¼Ü,²¢²»ÄÜÕý³£ÏÔʾ±¨±íÄÚÈÝ.
ÎÒ°Ñä¯ÀÀÆ÷ËùÓÐÏÞÖÆÑ¡ÏȡÏûÁË,»¹ÊÇÒ»ÑùµÄÎÊÌâ,²»ÖªÎªºÎ.ÕýÔÚѰÕÒ´ð°¸................... ......

asp¼ì²â¸÷·þÎñÆ÷×é¼þ


ÔõôÓÃaspÅжÏÏÂÃæµÄÐÅÏ¢ÕâÀïÎÒÊÇ¿´µ½¶¯Ì¬ÍøµÄ.
FSOÎļþ¶Áд  √                                   Jmail·¢ËÍÓʼþÖ§³Ö  ×  
CDONTS·¢ËÍÓʼþÖ§³ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ