mirror of
https://codeberg.org/mclemens/nmap-sqlite-output.git
synced 2025-05-17 05:58:36 -04:00
Update README.md
This commit is contained in:
parent
1b927c3a7f
commit
63f92475c6
22
README.md
22
README.md
@ -8,17 +8,23 @@ Both, database file name and table name can be passed to the plugin via argument
|
|||||||
|
|
||||||
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
|
```
|
||||||
$ sqlite3 can.sqlite
|
$ nmap -sS -A -F --script sqlite-output --script-args=dbname=scan.sqlite,dbtable=scandata scanme.nmap.org
|
||||||
sqlite> select * from scandata;
|
$ sqlite3 can.sqlite
|
||||||
scanme.nmap.org|74.207.244.221|22|tcp|ssh|OpenSSH5.3p1 Debian 3ubuntu7.1
|
sqlite> select * from scandata;
|
||||||
scanme.nmap.org|74.207.244.221|80|tcp|http|Apache httpd2.2.14
|
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
|
args
|
||||||
=====
|
=====
|
||||||
* dbname: name of sqlite database file (default: scan.sqlite)
|
```
|
||||||
* dbtable: name of database table in which the output will be written (default: scandata)
|
dbname: name of sqlite database file (default: scan.sqlite)
|
||||||
|
dbtable: name of database table in which the output will be written (default: scandata)
|
||||||
|
```
|
||||||
|
Loading…
x
Reference in New Issue
Block a user