Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
b3b0 authored Apr 15, 2018
1 parent 9be7b75 commit e682b81
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,8 @@ publicly.

Example usage:

```$ sudo nmap -A -oX scanme.xml scanme.nmap.org
```
$ sudo nmap -A -oX scanme.xml scanme.nmap.org
Starting Nmap ...
Expand All @@ -74,7 +75,8 @@ options:
```

Use -c to create a database from the schema on the first run:
```$ ./nmapdb.py -c nmapdb.sql -d myscan.db scanme.xml
```
$ ./nmapdb.py -c nmapdb.sql -d myscan.db scanme.xml
$ file myscan.db
myscan.db: SQLite 3.x database
$ sqlite3 myscan.db
Expand All @@ -88,7 +90,8 @@ sqlite> select * from ports;

Subsequent scans can be entered into the same database:

```$ ./nmapdb.py -d myscan.db bar.xml foo.xml host1.xml host2.xml \
```
$ ./nmapdb.py -d myscan.db bar.xml foo.xml host1.xml host2.xml \
host3.xml host4.xml meh.xml (or simply *.xml)
$ sqlite3 myscan.db
SQLite version 3.7.7 ...
Expand Down

0 comments on commit e682b81

Please sign in to comment.