Skip to content

Commit

Permalink
Merge branch 'v0.4.17'
Browse files Browse the repository at this point in the history
  • Loading branch information
jas- committed Oct 29, 2019
2 parents 9a1e1de + b32aa91 commit 3cda3ba
Show file tree
Hide file tree
Showing 23 changed files with 31 additions and 31 deletions.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2013 - 2018 Jason Gerfen <jason.gerfen@gmail.com>
Copyright (c) 2013 - 2019 Jason Gerfen <jason.gerfen@gmail.com>

Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ To install `npm install libnmap`
* `verbose` {Boolean} Turn on verbosity during scan(s)
* `ports` {String} Range of ports to scan
* `range` {Array} An array of hostnames/ipv4/ipv6, CIDR or ranges
* `timeout` {Number} Number of minutes to wait for host/port response
* `timeout` {Number} Number of seconds to wait for host/port response
* `blocksize` {Number} Number of hosts per network scanning block
* `threshold` {Number} Max number of spawned process
* `flags` {Array} Array of flags for .spawn()
Expand Down Expand Up @@ -92,4 +92,4 @@ to help facilitate pull requests.

This software is licensed under the [MIT License](https://github.com/jas-/node-libnmap/blob/master/LICENSE).

Copyright Jason Gerfen, 2013-2018.
Copyright Jason Gerfen, 2013-2019.
4 changes: 2 additions & 2 deletions examples/accuracy.js
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
/*!
* libnmap
* Copyright(c) 2013-2018 Jason Gerfen <jason.gerfen@gmail.com>
* Copyright(c) 2013-2019 Jason Gerfen <jason.gerfen@gmail.com>
* License: MIT
*/

'use strict'

const nmap = require('../');
const opts = {
timeout: 900, // 900s = 10m and increases the reliability of scan results
timeout: 900, // 900s = 15m and increases the reliability of scan results
flags: [
'-T0', // Paranoid scan type; very slow but accurate
'--max-retries 10', // Don't give up on slow responding hosts
Expand Down
2 changes: 1 addition & 1 deletion examples/blocksize.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*!
* libnmap
* Copyright(c) 2013-2018 Jason Gerfen <jason.gerfen@gmail.com>
* Copyright(c) 2013-2019 Jason Gerfen <jason.gerfen@gmail.com>
* License: MIT
*/

Expand Down
2 changes: 1 addition & 1 deletion examples/default.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*!
* libnmap
* Copyright(c) 2013-2018 Jason Gerfen <jason.gerfen@gmail.com>
* Copyright(c) 2013-2019 Jason Gerfen <jason.gerfen@gmail.com>
* License: MIT
*/

Expand Down
2 changes: 1 addition & 1 deletion examples/default2io.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*!
* libnmap
* Copyright(c) 2013-2018 Jason Gerfen <jason.gerfen@gmail.com>
* Copyright(c) 2013-2019 Jason Gerfen <jason.gerfen@gmail.com>
* License: MIT
*/

Expand Down
2 changes: 1 addition & 1 deletion examples/discover.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*!
* libnmap
* Copyright(c) 2013-2018 Jason Gerfen <jason.gerfen@gmail.com>
* Copyright(c) 2013-2019 Jason Gerfen <jason.gerfen@gmail.com>
* License: MIT
*/

Expand Down
2 changes: 1 addition & 1 deletion examples/flags.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*!
* libnmap
* Copyright(c) 2013-2018 Jason Gerfen <jason.gerfen@gmail.com>
* Copyright(c) 2013-2019 Jason Gerfen <jason.gerfen@gmail.com>
* License: MIT
*/

Expand Down
2 changes: 1 addition & 1 deletion examples/ipv6.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*!
* libnmap
* Copyright(c) 2013-2018 Jason Gerfen <jason.gerfen@gmail.com>
* Copyright(c) 2013-2019 Jason Gerfen <jason.gerfen@gmail.com>
* License: MIT
*/

Expand Down
2 changes: 1 addition & 1 deletion examples/ports.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*!
* libnmap
* Copyright(c) 2013-2018 Jason Gerfen <jason.gerfen@gmail.com>
* Copyright(c) 2013-2019 Jason Gerfen <jason.gerfen@gmail.com>
* License: MIT
*/

Expand Down
2 changes: 1 addition & 1 deletion examples/threshold.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*!
* libnmap
* Copyright(c) 2013-2018 Jason Gerfen <jason.gerfen@gmail.com>
* Copyright(c) 2013-2019 Jason Gerfen <jason.gerfen@gmail.com>
* License: MIT
*/

Expand Down
4 changes: 2 additions & 2 deletions examples/timeout.js
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
/*!
* libnmap
* Copyright(c) 2013-2018 Jason Gerfen <jason.gerfen@gmail.com>
* Copyright(c) 2013-2019 Jason Gerfen <jason.gerfen@gmail.com>
* License: MIT
*/

'use strict'

const nmap = require('../');
const opts = {
timeout: 900, // 900s = 10m and increases the reliability of scan results
timeout: 900, // 900s = 15m and increases the reliability of scan results
range: ['scanme.nmap.org', '192.168.0.0/26']
};

Expand Down
2 changes: 1 addition & 1 deletion examples/udp.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*!
* libnmap
* Copyright(c) 2013-2018 Jason Gerfen <jason.gerfen@gmail.com>
* Copyright(c) 2013-2019 Jason Gerfen <jason.gerfen@gmail.com>
* License: MIT
*/

Expand Down
2 changes: 1 addition & 1 deletion examples/xml.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*!
* libnmap
* Copyright(c) 2013-2018 Jason Gerfen <jason.gerfen@gmail.com>
* Copyright(c) 2013-2019 Jason Gerfen <jason.gerfen@gmail.com>
* License: MIT
*/

Expand Down
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*!
* libnmap
* Copyright(c) 2013-2018 Jason Gerfen <jason.gerfen@gmail.com>
* Copyright(c) 2013-2019 Jason Gerfen <jason.gerfen@gmail.com>
* License: MIT
*/

Expand Down
2 changes: 1 addition & 1 deletion lib/classes/networking.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*!
* libnmap
* Copyright(c) 2013-2018 Jason Gerfen <jason.gerfen@gmail.com>
* Copyright(c) 2013-2019 Jason Gerfen <jason.gerfen@gmail.com>
* License: MIT
*/

Expand Down
2 changes: 1 addition & 1 deletion lib/classes/reporting.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*!
* libnmap
* Copyright(c) 2013-2018 Jason Gerfen <jason.gerfen@gmail.com>
* Copyright(c) 2013-2019 Jason Gerfen <jason.gerfen@gmail.com>
* License: MIT
*/

Expand Down
4 changes: 2 additions & 2 deletions lib/classes/tools.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*!
* libnmap
* Copyright(c) 2013-2018 Jason Gerfen <jason.gerfen@gmail.com>
* Copyright(c) 2013-2019 Jason Gerfen <jason.gerfen@gmail.com>
* License: MIT
*/

Expand Down Expand Up @@ -120,7 +120,7 @@ class tools extends emitter {
const args = obj.slice(1);

if (opts.verbose)
console.log(`Running: ${cmd}`);
console.log(`Running: ${cmd} ${args}`);

// Push it on to the heap
const execute = proc(cmd, args);
Expand Down
2 changes: 1 addition & 1 deletion lib/classes/validation.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*!
* libnmap
* Copyright(c) 2013-2018 Jason Gerfen <jason.gerfen@gmail.com>
* Copyright(c) 2013-2019 Jason Gerfen <jason.gerfen@gmail.com>
* License: MIT
*/

Expand Down
2 changes: 1 addition & 1 deletion lib/libnmap.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*!
* libnmap
* Copyright(c) 2013-2018 Jason Gerfen <jason.gerfen@gmail.com>
* Copyright(c) 2013-2019 Jason Gerfen <jason.gerfen@gmail.com>
* License: MIT
*/

Expand Down
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "libnmap",
"version": "v0.4.16",
"version": "v0.4.19",
"description": "libnmap for node.js",
"author": "Jason Gerfen <jason.gerfen@gmail.com>",
"keywords": [
Expand Down Expand Up @@ -33,14 +33,14 @@
"test": "./node_modules/.bin/mocha -R spec"
},
"dependencies": {
"async": "^2.6.1",
"async": "^2.6.3",
"cidr-js": "git+https://github.com/jas-/cidr-js.git#v2.3.2",
"deepmerge": "^2.1.1",
"deepmerge": "^2.2.1",
"hasbin": "^1.2.3",
"ip-address": "^5.8.9",
"ip-address": "^5.9.4",
"netmask": "^1.0.6",
"stack-trace": "0.0.10",
"xml2js": "^0.4.19"
"xml2js": "^0.4.22"
},
"devDependencies": {
"mocha": "latest",
Expand Down
2 changes: 1 addition & 1 deletion test/discover.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*!
* libnmap
* Copyright(c) 2013-2018 Jason Gerfen <jason.gerfen@gmail.com>
* Copyright(c) 2013-2019 Jason Gerfen <jason.gerfen@gmail.com>
* License: MIT
*/

Expand Down
2 changes: 1 addition & 1 deletion test/scan.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*!
* libnmap
* Copyright(c) 2013-2018 Jason Gerfen <jason.gerfen@gmail.com>
* Copyright(c) 2013-2019 Jason Gerfen <jason.gerfen@gmail.com>
* License: MIT
*/

Expand Down

0 comments on commit 3cda3ba

Please sign in to comment.