Code Monkey home page Code Monkey logo

ports2packets's Introduction

ports2packets

Generates a CSV file with the packets that are to be sent in order to check if a UDP port is open.

Overview

ports2packets is a tool that is meant to solve the following problem: Knowing the packets that need to be sent to a UDP port in order to check whether it is open. This is done by UDP scanning Go UDP listeners on registered ports with nmap and taking note of the port and packet, which are then writen in base64 format to a CSV file. The output CSV file based on the latest service names and port numbers by the IANA is also built weekly and available to download below.

Installation

Prebuilt Binaries

Linux, macOS and Windows binaries are available on GitHub Releases.

Go Package

A Go package is available.

Prebuilt CSV File

As mentioned above, the CSV file is also pre-built every week and can be downloaded from GitHub Releases.

Usage

See liwasc's database package for a Go library implementation based on the CSV output file.

% ports2packets -help
Usage of ports2packets:
  -in string
        Path to the CSV input file containing the registered services. Download from https://www.iana.org/assignments/service-names-port-numbers/service-names-port-numbers.xhtml (default "/etc/ports2packets/service-names-port-numbers.csv")
  -out string
        Path of the generated CSV output file (default "ports2packets.csv")

License

ports2packets (c) 2020 Felicitas Pojtinger

SPDX-License-Identifier: AGPL-3.0

ports2packets's People

Contributors

pojntfx avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Forkers

saidayousef

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.