
Security News
Vite+ Joins the Push to Consolidate JavaScript Tooling
Evan You announces Vite+, a commercial, Rust-powered toolchain built on the Vite ecosystem to unify JavaScript development and fund open source.
A simple library that interacts with node-libnmap to perform nmap scans and generate pretty markdown tables from the results.
Exposes the startScan method that accepts 3 arguments: an array containing the scan targets, an object containing options for the scan and resulting output, and a callback which returns the markdown table as an array of rows.
#Options:
The http option specifies whether or not to include ports 80 and 443 in the results. True by default. tableWidth specifies the width of the markdown table generated. 14 by default. highlight specifies what character will be used as a spacer in rows listing ports. By default, ' ' is used. highlightRepeat specifies how many times the highlight will be repeated. Ports define what ports are to be scanned. 1-65535(all ports) is the default. Flags are the command line options passed to nmap. If changed, they must include -oG and be appended with a trailing -. Default flags are
-A -sV -g53 -sS -Pn -n -oG -
Output can be set to json or left blank. If set to json, it will return an array of json objects rather than the default markdown. This option basically forms a convenient wrapper for calling the standard libnmap scans and the downmap scans from the same library.
var scan = require('downmap').startScan
scan(['localhost', 'scanme.nmap.org'],{http: true, tableWidth: 14}, function(output){
console.log(output.join('\n'));
});
HOST | PORT | SERVICE |
---|---|---|
127.0.0.1 | PORT | SERVICE |
631 | ipp | |
8080 | http-proxy | |
74.207.244.221 | PORT | SERVICE |
22 | ssh | |
9929 | nping-echo |
FAQs
Uses libnmap to scan hosts and return markdown formatted tables
We found that downmap demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Evan You announces Vite+, a commercial, Rust-powered toolchain built on the Vite ecosystem to unify JavaScript development and fund open source.
Security News
Ruby Central’s incident report on the RubyGems.org access dispute sparks backlash from former maintainers and renewed debate over project governance.
Research
/Security News
Socket researchers uncover how threat actors weaponize Discord across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.