IIS에서 접근 제한이 걸려있는 Web document Directory 리스트 목록을 출력해주는 스크립트입니다.

※ Windows Server 2003 Only



strComputer = "." Set objWMIService = GetObject _ ("winmgmts:{authenticationLevel=pktPrivacy}\\" _ & strComputer & "\root\microsoftiisv2") Set colItems = objWMIService.ExecQuery _ ("Select * from IIsIPSecuritySetting") For Each objItem in colItems Wscript.Echo "Name: " & objItem.Name For Each strDeny in objItem.DomainDeny Wscript.Echo "Domain Deny: " & strDeny Next For Each strGrant in objItem.DomainGrant Wscript.Echo "Domain Grant: " & strGrant Next Wscript.Echo "Grant By Default: " & objItem.GrantByDefault For Each strDeny in objItem.IPDeny Wscript.Echo "IP Deny: " & strDeny Next For Each strGrant in objItem.IPGrant Wscript.Echo "IP Grant: " & strGrant Next Next

참고 SITE : http://gallery.technet.microsoft.com/scriptcenter/en-us/75380fde-4f06-4605-95ee-342e3a5089c3
Posted by n3015m
:
BLOG main image
'네오이즘'의 보안LAB 블로그입니다........... n3oism@gmail.com by n3015m

카테고리

분류 전체보기 (228)
[ HappyDevTool ] (29)
[ HappyToolRelease ] (4)
[Book] (6)
[ Security Studies ] (0)
- CII (2)
- BigData (2)
- Web Hacking (10)
- SQL Injection (25)
- Mobile Security (9)
- Network (6)
- OperatingSystem (4)
- Malware & Reversing (4)
- Phishing (5)
- Compliance (0)
- Programming (13)
- Tools (13)
- IoT (6)
- etc (21)
[Pentration Testing] (3)
[OS X] (4)
[ Security Trends ] (16)
[ Fixing Guideline ] (7)
My Way, My Life (34)
About Me (2)

최근에 올라온 글

최근에 달린 댓글

최근에 받은 트랙백

Total :
Today : Yesterday :