<?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>Hidden In the Grass &#187; nmap</title>
	<atom:link href="http://www.cyberkni.net/blog/category/nmap/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.cyberkni.net/blog</link>
	<description>Ideas/Concepts/Nerdery emerging from my head</description>
	<lastBuildDate>Thu, 17 Jun 2010 17:32:08 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.2</generator>
		<item>
		<title>nmap-sqlgen.xsl v1</title>
		<link>http://www.cyberkni.net/blog/2006/03/22/nmap-sqlxsl-v1/</link>
		<comments>http://www.cyberkni.net/blog/2006/03/22/nmap-sqlxsl-v1/#comments</comments>
		<pubDate>Thu, 23 Mar 2006 03:57:54 +0000</pubDate>
		<dc:creator>cyberkni</dc:creator>
				<category><![CDATA[nmap]]></category>

		<guid isPermaLink="false">http://www.cyberkni.net/blog/?p=493</guid>
		<description><![CDATA[The Reasoning: The past few weeks I have been doing a network survey at client&#8217;s site. Part of the survey has been nmaping the whole network and trying to match the hosts I discover with the physical location of the device. This has been a some what tedious process that has been some what prettified [...]]]></description>
			<content:encoded><![CDATA[<p><b>The Reasoning:</b><br />
The past few weeks I have been doing a network survey at client&#8217;s site. Part of the survey has been nmaping the whole network and trying to match the hosts I discover with the physical location of the device. This has been a some what tedious process that has been some what prettified by Benjamin Erb&#8217;s <a href="http://www.benjamin-erb.de/software/nmap_xsl/">nmap.xsl</a> stylesheet. However I still need to visually grep many pages of data to sort switch from server.<br />
<b>The Solution:</b><br />
During this process I realized that once I get a baseline of what a particular device looks like to nmap it would be nice to be able to search and identify them all quickly. To me a database that I could throw SQL queries at would be easiest to dig through.<br />
<b>The Result:</b><br />
Armed with the nmap.xsl stylesheet I had inspiration to create another stylesheet to output SQL instead of HTML. The result is posted below. Please be nice, this is my first foray in to XSLT and only my second swing at utilizing XML. If you make improvements, find bugs, have suggestions just drop me a comment here.</p>
<p><a href="http://www.cyberkni.net/nmap-sqlgen.xsl">nmap-sqlgen.xsl</a> (you will likely need to right-click &#8220;save as&#8221;)<br />
<a href="http://www.cyberkni.net/nmap-sqlgen.sql">nmap-sqlgen.sql</a> &#8211; database schema that is used by the XSL</p>
<p><b>Usage:</b><br />
A database will be needed to fully use the file. Execute the sql file provided against a new database. To use this file you will need an XSL parser. During development I used <a href="http://www.entropy.ch/software/macosx/">TestXSLT</a> for OS X. Some other options I have not tested yet are: <a href="http://saxon.sourceforge.net/">saxon</a> and <a href="http://xml.apache.org/xalan-j/">xalan</a>. Execute the results of the XSL parser against the database you setup with the nmap-sql.sql file. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.cyberkni.net/blog/2006/03/22/nmap-sqlxsl-v1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

