Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

github.com/kernelpryanic/goudpscan

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/kernelpryanic/goudpscan

  • v0.0.0-20230917224516-ab4d1c7ee5ff
  • Source
  • Go
  • Socket score

Version published
Created
Source

GitHub go.mod Go version of a Go module License: MIT

goudpscan

A pretty fast UDP scanner.

Build

go build -o bin/goudpscan

Test

sudo go test -coverprofile=coverage.out ./...

sudo is required in order to create a raw socket for the ICMP listener.

Install

./install.sh

How to use

Run sudo goudpscan -f -t 1 -c 975 -p 7,19-22 -s 127.0.0-32.0/24 127.1.0.1

Also checkout the lists of flags and arguments.

Tip: The Linux users can set the CAP_NET_RAW capability on the binary to execute the verbose scan without super privileges: sudo setcap cap_net_raw+ep $(which goudpscan)

Flags

  • --help - Show context-sensitive help (also try --help-long and --help-man).
  • --print - Print payloads.
  • -l, --payloads=PAYLOADS - Paylaods yml config file.
  • -f, --fast - Fast scan mode. Only "Open" or "Unknown" statuses.
  • -t, --timeout=1 - Timeout. How long to wait for response in seconds.
  • -r, --recheck=0 - Recheck. How many times to check every port.
  • -c, --maxConcurrency=768 - Maximum concurrency. How many to scan concurrently every timeout.
  • -s, --sort - Sort results.
  • -p, --ports=7-1024 ... - Ports to scan.

Arguments

  • <hosts> - Hosts to scan.

FAQs

Package last updated on 17 Sep 2023

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc