libnmap 1.0.0 → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +6 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -6,6 +6,8 @@ Build & leverage [nmap](https://github.com/nmap/nmap) as a node.js module, no ne
|
|
|
6
6
|
|
|
7
7
|
## install ##
|
|
8
8
|
|
|
9
|
+

|
|
10
|
+
|
|
9
11
|
To install `npm install libnmap`
|
|
10
12
|
|
|
11
13
|
The install gets the nmap and OpenSSL sources and compiles them. See `build tools` for details.
|
|
@@ -100,6 +102,8 @@ More examples are in the `examples/` folder.
|
|
|
100
102
|
|
|
101
103
|
### scan ###
|
|
102
104
|
|
|
105
|
+

|
|
106
|
+
|
|
103
107
|
```javascript
|
|
104
108
|
const nmap = require('libnmap');
|
|
105
109
|
const opts = {
|
|
@@ -121,6 +125,8 @@ nmap.scan(opts, function(err, report) {
|
|
|
121
125
|
|
|
122
126
|
### discover ###
|
|
123
127
|
|
|
128
|
+

|
|
129
|
+
|
|
124
130
|
```javascript
|
|
125
131
|
const nmap = require('libnmap');
|
|
126
132
|
|