diff --git a/README.md b/README.md index 65187a7..bad77aa 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ nmap-sqlite =========== -This nmap script stores the following nmap output into a sqlite3 database: Hostname, IP, port number, protocol (tcp/udp), service and version. +This nmap script stores the following nmap output into a sqlite3 database: Hostname, IP, port number, protocol (tcp/udp), state, service and version. Both, database file name and table name can be passed to the script via arguments (see @args or @example), data will always be appended to an existing table. Non-existant database files or tables are created during the scan. Nmap's regular output (-o) will not be modified in any way. @@ -18,8 +18,8 @@ example $ nmap -sS -A -F --script sqlite-output --script-args=dbname=scan.sqlite,dbtable=scandata scanme.nmap.org $ sqlite3 scan.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 +scanme.nmap.org|74.207.244.221|22|tcp|ssh|open|OpenSSH5.3p1 Debian 3ubuntu7.1 +scanme.nmap.org|74.207.244.221|80|tcp|http|open|Apache httpd2.2.14 ``` args