<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Networknet.nl &#187; Scripts</title>
	<atom:link href="http://www.networknet.nl/apps/wp/archives/category/scripts/feed" rel="self" type="application/rss+xml" />
	<link>http://www.networknet.nl/apps/wp</link>
	<description>Stay Connected</description>
	<lastBuildDate>Fri, 10 Feb 2012 16:46:09 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Install Windows Server 2003 DHCP Server Service with Script</title>
		<link>http://www.networknet.nl/apps/wp/archives/339</link>
		<comments>http://www.networknet.nl/apps/wp/archives/339#comments</comments>
		<pubDate>Sat, 19 Jan 2008 14:52:05 +0000</pubDate>
		<dc:creator>Ivan Versluis</dc:creator>
				<category><![CDATA[Scripts]]></category>
		<category><![CDATA[dhcpserver]]></category>
		<category><![CDATA[NetOptionalComponents]]></category>
		<category><![CDATA[Script]]></category>
		<category><![CDATA[sysocmgr]]></category>
		<category><![CDATA[unattended]]></category>

		<guid isPermaLink="false">http://www.networknet.nl/apps/wp2/archives/339</guid>
		<description><![CDATA[Running the VMNet8 NAT network in VMWare Workstation does not provide me the granular control how the DHCP server should deal with different DHCP clients and options I want to see in my lab environment. As sysadmin I like to script things and re-use the code next time I will need to it. How to install the DHCP service from script? Create new file named c:\dhcp_server.txt [NetOptionalComponents] DHCPServer =1 Save the file and open a cmd box. Execute sysocmgr /i:%windir%\inf\sysoc.inf /u:c:\dhcp_server.txt   For additional components go to here.]]></description>
		<wfw:commentRss>http://www.networknet.nl/apps/wp/archives/339/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>XML Report of Windows EventViewer Security EventID 529</title>
		<link>http://www.networknet.nl/apps/wp/archives/9</link>
		<comments>http://www.networknet.nl/apps/wp/archives/9#comments</comments>
		<pubDate>Wed, 04 Jul 2007 12:43:10 +0000</pubDate>
		<dc:creator>Ivan Versluis</dc:creator>
				<category><![CDATA[Logparser]]></category>

		<guid isPermaLink="false">http://www.networknet.nl/apps/wp2/?p=9</guid>
		<description><![CDATA[The following LogParser.exe command  will query Windows NT Securiy log with EventID 529 and parse the data into %computername%_security_logons_failed_529.xml.]]></description>
		<wfw:commentRss>http://www.networknet.nl/apps/wp/archives/9/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Logparser: how to analyze your log files?</title>
		<link>http://www.networknet.nl/apps/wp/archives/8</link>
		<comments>http://www.networknet.nl/apps/wp/archives/8#comments</comments>
		<pubDate>Mon, 18 Jun 2007 20:26:39 +0000</pubDate>
		<dc:creator>Ivan Versluis</dc:creator>
				<category><![CDATA[Logparser]]></category>
		<category><![CDATA[anaylize]]></category>
		<category><![CDATA[how to]]></category>
		<category><![CDATA[log files]]></category>
		<category><![CDATA[logparses]]></category>

		<guid isPermaLink="false">http://www.networknet.nl/apps/wp2/?p=8</guid>
		<description><![CDATA[As IT security professionals we scan our networks and use different tools to perform our job. In the end we have dozen of log files which we need to analyze. Couple days I found a nice tool developed by Microsoft called LogParser. It has some neat features for queering different data sources. I played with it and came up with some nice command lines. Put your logs in a directory and make sure they all have the same extension e.g. .log or .txt Go to Command Prompt and paste the following command line. Example 1 LogParser.exe -i:textline "select text from C:\Scans\*.log where text like '%VUL%'" -o:CSV This command line will query all log files and find all hosts which are vulnerable. You can change the search text to any string you are looking for. Output: 10.202.1.8 :5900 vnc4:VULNERABLE 10.202.2.7 :5900 vnc4:VULNERABLE Statistics: ----------- Elements processed: 6565 Elements output: 2 Execution time: 0.36 seconds Example 2 LogParser.exe -i:textline "select text from c:\scans\web.log where text like '%2.0.58%'" -o:CSV 10.7.80.171:80 Server: Apache/2.0.58 (Unix) mod_ssl/2.0.58 OpenSSL/0.9.8a DAV/2 PHP/5.1.6 10.7.80.172:80 Server: Apache/2.0.58 (Unix) mod_ssl/2.0.58 OpenSSL/0.9.8a DAV/2 PHP/5.1.6 Statistics: ----------- Elements processed: 638 Elements output: 2 Execution time: 0.07 seconds Example 3 LogParser.exe -i:textline "select text from c:\scans\ban.log where text like '%Imail%'" -o:CSV Output: 10.20.121.73:143 * OK IMAP4 Server (IMail 9.04) 10.20.121.74:143 * OK IMAP4 Server (IMail 9.04) Statistics: ----------- Elements processed: 7390 Elements output: 2 Execution time: 0.66 seconds In both examples I only used text files. The power of this tool is that you ...]]></description>
		<wfw:commentRss>http://www.networknet.nl/apps/wp/archives/8/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

