mirror of
https://codeberg.org/mclemens/nmap-sqlite-output.git
synced 2024-12-28 02:56:27 -05:00
Update README.md
This commit is contained in:
parent
9c3c501072
commit
1cb30a1d97
17
README.md
17
README.md
@ -6,20 +6,19 @@ Both, database file name and table name can be passed to the plugin via argument
|
|||||||
s are created during the scan. Nmap's regular output (-o) will not be modified in any way.
|
s are created during the scan. Nmap's regular output (-o) will not be modified in any way.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
usage
|
usage
|
||||||
=====
|
=====
|
||||||
nmap --script sqlite-output <target>
|
nmap --script sqlite-output <target>
|
||||||
|
|
||||||
example
|
example
|
||||||
=======
|
=======
|
||||||
$ nmap -sS -A -F --script sqlite-output --script-args=dbname=scan.sqlite,dbtable=scandata scanme.nmap.org
|
$ nmap -sS -A -F --script sqlite-output --script-args=dbname=scan.sqlite,dbtable=scandata scanme.nmap.org
|
||||||
$ sqlite3 can.sqlite
|
$ sqlite3 can.sqlite
|
||||||
sqlite> select * from scandata;
|
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|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|80|tcp|http|Apache httpd2.2.14
|
||||||
|
|
||||||
args
|
args
|
||||||
=====
|
=====
|
||||||
dbname: name of sqlite database file (default: scan.sqlite)
|
dbname: name of sqlite database file (default: scan.sqlite)
|
||||||
dbtable: name of database table in which the output will be written (default: scandata)
|
dbtable: name of database table in which the output will be written (default: scandata)
|
||||||
|
Loading…
Reference in New Issue
Block a user