Microsoft Network Security Hotfix Checker (HFNetChk) enhancement - correction
From: Marc Stern (mstern@CSC.COM)Date: 04/25/02
- Previous message: GLM: "Q267861 and TSE SRP"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Thu, 25 Apr 2002 14:45:17 +0200 From: Marc Stern <mstern@CSC.COM> To: NTBUGTRAQ@LISTSERV.NTBUGTRAQ.COM
For those who use the Microsoft Network Security Hotfix Checker (HFNetChk), I wrote a little script to add two extra functionalities:
ignore some hot-fixes you do not want to install
allows you to immediately click on the knowledge base article related to a
hot fix
This is very basic, but quite handy.
Installation
Just install these two files described below in a directory, put GAWK (http://gnuwin32.sourceforge.net/packages/gawk.htm) anywhere in your path
or in the same directory and execute HFNetChk.bat
Customisation
The HFNetChk parameters can be modified in HFNetChk.bat
The hot fixes to ignore can be specified in HFNetChk.awk
HFNetChk references
Some of you who want to know more about HFNetChk, see http://www.microsoft.com/downloads/release.asp?releaseid=31154
Enjoy,
Marc Stern
Scripts
------------------ HFNetChk.bat ------------------
@echo off
hfnetchk.exe -v | gawk -f %0\..\hfnetchk.awk -- > %temp%\hfnetchk.html
start %temp%\hfnetchk.html
------------------ end of HFNetChk.bat ------------------
------------------ HFNetChk.awk ------------------
BEGIN { filter="off"; }
# To ignore some hot-fixes, uncomment next line and put the KB numbers
separated by |
# ex: /Q311967|Q296441/ { filter="on"; }
/^[[:space:]]*$/ { filter="off"; }
filter == "off" {
sub( /Q[0-9]+/, "<A
HREF=http://support.microsoft.com/default.aspx?scid=kb;EN-US;&>&</A>" );
print $0, "<BR>";
}
------------------ end of HFNetChk.awk ------------------
- Previous message: GLM: "Q267861 and TSE SRP"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|