-
As of the nmapsql version supporting nmap 3.70, the ~/access.sql file is no longer read. Instead, the configuration file is now /etc/nmapsql.conf, which more standard.
BTW, you shouldn't have to log into to MySQL as root to do any of these.
Here's a sample file:
[database]
db=nmaplog
dbserver=localhost
dbuser=nmap
dbpasswd=scanamanga
[tables]
hoststats=hoststats...
2004-11-12 17:54:24 UTC in nmap-sql
-
I've just uploaded nmapsql-0.0.8 which supports nmap 3.75. I've tried to accommodate all useful suggestions received in this forum as well as via emails off the list.
Although IP addresses are stored both as text and inet_aton(), the search mechanism is still text-based. This is something I need to work on. I'm not yet convinced of the usefulness of logging down hosts.
Sometime in the fu.
2004-11-11 05:11:32 UTC in nmap-sql
-
I've just added nmapsql-0.0.8 which supports nmap 3.75. The target tagging system has been completely rewritten and a some bugs ironed out.
2004-11-11 05:07:24 UTC in nmap-sql
-
I think I've now got a clean version on nmap 3.70. Would any of you like to give it a whirl? email me and I'll send the sources.
I think I'll add the sources to v3.75 and then put up here.
Also, any brave soul want to write an interface to the data collected?
-- Hasnain.
2004-11-04 01:44:24 UTC in nmap-sql
-
I'm aware of the issues and they're mostly fixed in the version Matt is speaking of. I'm still testing a couple of things and hope to put up a working version by tomorrow.
-- Hasnain.
2004-10-29 07:58:48 UTC in nmap-sql
-
I've just added the following functionality following your suggestion:
-- /etc/nmapsql.conf is the default configuration file
-- The default config file can be overridden from the command line with the --sqlconf <filenname> option
-- The configuration file can now be used to specify different database and table names for the tables used by nmapsql.
More info on these will be...
2004-10-09 16:02:47 UTC in nmap-sql
-
Sounds like a good idea. I'll add this if I have time away from real life ;)
2004-10-08 02:45:41 UTC in nmap-sql
-
Ok .. nmap-sql doesn't use nmapfe yet. I've thought about tweaking nmapfe so users could supply scanner_id, target_id and run_id from nmapfe. But GTK isn't my game.
Perhaps some brave soul out there will take up that task?
-- H.
2004-10-08 02:44:49 UTC in nmap-sql
-
I presume you're referring to nmap-sql.h/nmap-sql.cc and nmap-dbi.h/nmap-dbi.cc.
This release 0.0.4 from yesterday is in fact a test release and continues to use MySQL, i.e., nmap-sql.h/nmap-sql.cc.
The nmap-dbi.h/nmap-dbi.cc files are an upcoming release supporting dbi functionality. If you look into the nmal-dbi.cc file you'll notice it just has some function skeletons.
-- H.
2004-10-08 02:43:04 UTC in nmap-sql
-
I've finished the changes to support v3.70. It's now at http://prdownloads.sourceforge.net/nmapsql/nmap-3.70-with-sql-0.0.4.tar.gz?download
It now records MAC address in the targets table. Also, the IP address in targets table is stored in both ASCII and inet_aton() formats.
NOTE: You need to update table structures for this version to work. The added nmaplog.sql is today's snapshot of th.
2004-10-07 17:15:06 UTC in nmap-sql