티스토리 뷰
#해당 글의 모든 기준과 내용은 (한국인터넷진흥원) 주요정보 통신 기반 시설 기술적 취약점 분석 평가 상세 가이드 를 기준으로 하고 있습니다.
[출처] : www.kisa.or.kr/public/laws/laws3_View.jspcPage=6&mode=view&p_No=259&b_No=259&d_No=106&ST=T&SV=
# 취약점 개요와 점검대상 및 판단 기준

#점검 및 조치 사례


#배치 파일
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 |
@echo off echo ====주요정보통신기반시설 기준으로 서비스 작성===== echo ============================================================================
net start | find /I "Alerter" >> whatservice.txt net start | find /I "Clipbook" >> whatservice.txt net start | find /I "Computer Browser" >> whatservice.txt net start | find /I "DHCP Client" >> whatservice.txt
net start | find /I "Alerter" >> service.txt net start | find /I "Clipbook" >> service.txt net start | find /I "Computer Browser" >> service.txt net start | find /I "DHCP Client" >> service.txt
for /F %%a in ("service.txt") do set "FileSize=%%~zi" if %FileSize% EQU 0 ( GOTO PC5-Y ) else ( GOTO PC-N )
:PC5-Y echo. echo 양호 del service.txt
:PC-N echo. echo 취약 del service.txt
|
cs |
'인프라 진단 > window 진단' 카테고리의 다른 글
[윈도우 진단 스크립트(배치파일)] 1.2 Guest 계정 상태 (0) | 2020.11.13 |
---|---|
[윈도우 진단 스크립트(배치파일)] 1.1 administator 계정 존재 여부 체크 (0) | 2020.11.13 |