avilum / portsscan

A web client port-scanner written in GO, that supports the WASM/WASI interface for Browser WebAssembly runtime execution.

Home Page:http://ports.sh

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

WebAssembly Port Scanner

Written in Go with target WASM/WASI.

Demo:

Watch the live demo on ports.sh

QuickStart

The WASM main function scans all the open ports in the specified range (see main.go), via 0.0.0.0 with no-cors fetch mode in Javascript level.

  • Discovers any TCP open port available on the visiting host.
  • One byte of response / filtered port is enough
  • Scans TCP only (WASM has no UDP support yet)
  • Uses golang 'http' API rather then 'net' API (better browser compatibility)

Setup

Please see ./build.sh

Build and Run

Simply start an HTTP server locally, for example:
python3 -m http.server 5000
Or:
npm i -g serve && serve

About

A web client port-scanner written in GO, that supports the WASM/WASI interface for Browser WebAssembly runtime execution.

http://ports.sh

License:Creative Commons Zero v1.0 Universal


Languages

Language:JavaScript 63.8%Language:Go 27.5%Language:HTML 7.7%Language:Shell 0.9%