All Projects → ChiChou → Grab.js

ChiChou / Grab.js

Licence: other
fast TCP banner grabbing with node.js

Programming Languages

shell
77523 projects

Projects that are alternatives of or similar to Grab.js

Pbscan
Faster and more efficient stateless SYN scanner and banner grabber due to userland TCP/IP stack usage.
Stars: ✭ 122 (+269.7%)
Mutual labels:  nmap, port-scanner
nmap-formatter
A tool that allows you to convert NMAP results to html, csv, json, markdown, graphviz (dot). Simply put it's nmap converter.
Stars: ✭ 129 (+290.91%)
Mutual labels:  nmap, port-scanner
Awesome Internet Scanning
A curated list of awesome Internet port and host scanners, plus related components and much more, with a focus on free and open source projects.
Stars: ✭ 130 (+293.94%)
Mutual labels:  nmap, port-scanner
Sandmap
Nmap on steroids. Simple CLI with the ability to run pure Nmap engine, 31 modules with 459 scan profiles.
Stars: ✭ 1,180 (+3475.76%)
Mutual labels:  nmap, port-scanner
Webmap
WebMap-Nmap Web Dashboard and Reporting
Stars: ✭ 357 (+981.82%)
Mutual labels:  cybersecurity, nmap
Asset Scan
asset-scan是一款适用甲方企业的外网资产周期性扫描监控系统
Stars: ✭ 149 (+351.52%)
Mutual labels:  nmap, port-scanner
Pycurity
Python Security Scripts
Stars: ✭ 218 (+560.61%)
Mutual labels:  nmap, port-scanner
HostEnumerator
A tool that automates the process of enumeration
Stars: ✭ 29 (-12.12%)
Mutual labels:  cybersecurity, nmap
Nmapgui
Advanced Graphical User Interface for NMap
Stars: ✭ 318 (+863.64%)
Mutual labels:  cybersecurity, nmap
findssh
Asyncio concurrent Python finds SSH servers (or other services with open ports) on an IPv4 subnet, WITHOUT NMAP
Stars: ✭ 36 (+9.09%)
Mutual labels:  nmap, port-scanner
Nmap
Nmap - the Network Mapper. Github mirror of official SVN repository.
Stars: ✭ 5,792 (+17451.52%)
Mutual labels:  nmap, port-scanner
A Red Teamer Diaries
RedTeam/Pentest notes and experiments tested on several infrastructures related to professional engagements.
Stars: ✭ 382 (+1057.58%)
Mutual labels:  cybersecurity, nmap
Silver
Mass scan IPs for vulnerable services
Stars: ✭ 588 (+1681.82%)
Mutual labels:  nmap, port-scanner
Goscan
Interactive Network Scanner
Stars: ✭ 795 (+2309.09%)
Mutual labels:  nmap
Turnscan.js
Scanning LAN hosts from Chrome using ICE servers
Stars: ✭ 27 (-18.18%)
Mutual labels:  port-scanner
Packer Fuzzer
Packer Fuzzer is a fast and efficient scanner for security detection of websites constructed by javascript module bundler such as Webpack.
Stars: ✭ 753 (+2181.82%)
Mutual labels:  cybersecurity
Zeus Scanner
Advanced reconnaissance utility
Stars: ✭ 706 (+2039.39%)
Mutual labels:  port-scanner
Scanless
online port scan scraper
Stars: ✭ 875 (+2551.52%)
Mutual labels:  port-scanner
Microsoft 365 Defender Hunting Queries
Sample queries for Advanced hunting in Microsoft 365 Defender
Stars: ✭ 922 (+2693.94%)
Mutual labels:  cybersecurity
Memlabs
Educational, CTF-styled labs for individuals interested in Memory Forensics
Stars: ✭ 696 (+2009.09%)
Mutual labels:  cybersecurity

grab.js Coverage Status Build Status

Usage

Quick Example

const grabber = require('grab.js');
grabber.grab(ip, port)
  .run()
  .then(result => { /* process the result */ })
  .catch(err => { /* error handling */ })

Api

grabber.grab(ip, port, options}

Returns a Grab object. You need to call run method to execute it.

  • ip: target ip
  • port port number
  • options (optional): An object contains initial settings for the Grab, supports tls and payload and both of them are optional.

Grab#run()

Exeute the task, returns a Promise which yields a record. The record can have following fields:

  • record.banner: the banner Buffer
  • record.certificate: certificate information (only avaliable when TLS is enabled)

Grab.tls

Enable TLS.

Grab.payload

The Buffer to send when connection established. Payload file can be found under nmap/paylaods.

grabber.escape(buffer)

Escape buffer to printable chars.

grabber.parser(service)

Returns a promise that loads a parser function with given parser rule name. Rule names can be found under nmap/parsers.

Parser.parse(buffer)

Parse buffer to fingerprints. Fingerprint could have following fields:

  • cpes: common platform enumeration
  • os: operating system
  • product: product name
  • device: device type
  • service: service name, same as the only arguments for grabber.parser
  • version: software version

Notice that a Parser object instance is not exported. This is by design.

Command util

This project provides a cli tool for quick banner grab like zgrab

For example, scanning ftp banner on given CIDR:

sudo zmap -p 80 [cidr] | node cli.js -p 80 --payload=tcp/GetRequest --parse http > http.json

Leave cidr blank to scan 0.0.0.0/20

find nmap to checkout all avaliable parsers and payloads.

Options

  • -p, --port the port
  • -s, --tls use tls (https, imaps, etc)
  • --payload send a payload upon connection. ls -R nmap/payloads to see all supported parsers.
  • --parser parse banner with nmap's rule. ls nmap/parsers to see all supported parsers.

Special thanks

Thanks to the marvellous nmap project who has collected so many rules for fingerprinting.

License

GPLv2

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].