From 3b10df55ab1dea5f7e34aaf91055d9415e89fc07 Mon Sep 17 00:00:00 2001 From: Michael Clemens Date: Thu, 1 May 2014 01:33:41 +0200 Subject: [PATCH] Update README.md --- README.md | 26 +++++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 3f7d38e..863640f 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,28 @@ nmap-sqlite =========== -Nmap script for storing the scan output into a sqlite database +description = [[ +This plugin stores the following nmap output into a sqlite3 database: Hostname, IP, port number, protocol (tcp/udp), service and version +Both, database file name and table name can be passed to the plugin via arguments (see @args or @example), data will always be appended to an existing table. Non-existant database files or table +s are created during the scan. Nmap's regular output (-o) will not be modified in any way. +]] + +--- +-- @usage +-- nmap --script sqlite-output +-- +-- @example +-- $ nmap -sS -A -F --script sqlite-output --script-args=dbname=scan.sqlite,dbtable=scandata scanme.nmap.org +-- $ sqlite3 can.sqlite +-- sqlite> select * from scandata; +-- scanme.nmap.org|74.207.244.221|22|tcp|ssh|OpenSSH5.3p1 Debian 3ubuntu7.1 +-- scanme.nmap.org|74.207.244.221|80|tcp|http|Apache httpd2.2.14 +-- +-- @args +-- dbname: name of sqlite database file (default: scan.sqlite) +-- dbtable: name of database table in which the output will be written (default: scandata) +--- + +author = "Michael Clemens" +license = "Same as Nmap--See http://nmap.org/book/man-legal.html" +categories = {"external", "safe"}