Coder Social home page Coder Social logo

outports's Introduction

outPorts

Description

Uses portquiz to check outbound ports (you should check it out!)

note: abandoned and has bugs

INSTALL

go get github.com/nhooyr/outPorts

USAGE

outPorts [-t n][-w n][-c] min[-max][sf]...

The flag -t allows you to change the timeout for each connection in seconds, default is 0. The flag -w allows you to change the number of workers used (concurrent TCP requests), so if you're getting false positives, use less. Default is 1024. The flag -c allows for color/bold output which makes it easier to see.

EXAMPLES

check from ports 1 to 65535

outPorts all

check from ports 20-30 and then 40-50

outPorts 20-30 40-50

check from ports 20-10 and then 40-10

outPorts 20-10 40-10

check port 25

outPorts 25

check from ports 1-65535 and only display failure

outPorts allf

check from ports 20-25 and only display success

outPorts 20-25s

check from ports 20-25 and only display success, then check from ports 30-35 and only display failure, then check from ports 40-50 and display both.

outPorts 20-25s 30-35f 40-50

to see documentation on the terminal

outPorts -h

##NOTE

it works asynchronously so the output will not always be in order, but it is very fast.

outports's People

Contributors

mrnonaki avatar nhooyr avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

outports's Issues

"invalid syntax" error

$ go run main.go 1-1024s -w1 -t10
success on port 53
success on port 21
success on port 22
outPorts: strconv.ParseUint: parsing "": invalid syntax
exit status 1
$ go version
go version go1.7.4

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.