Git Product home page Git Product logo

crappybashportscanner's Introduction

CrappyBashPortScanner

A simple port scanner in bash, for when you dont have nmap available.

Usage

cbps.sh -i [Target IP addresses/hostnames] {-m <Scan mode> | -p [Ports to scan]} -o <Output file name (Without extension)> -q -s
-i [IP address list]            Comma seperated list of IP addresses (or hostnames) to scan.
-m <quick|full>                 Scanning mode, quick scans only most popular ports, full scans all ports (1-65535).
-p [Port numbers]               Comma seperated list of ports to scan, can also be used with with -m quick.
-q                              Quiet mode, prints no output to terminal.
-s                              Skip ping scan of hosts
-o <Output filename>            Scan results will be saved to <Output filename>.json in the current directory.
                                If not set, the output will be printed to the console in json format


Examples:
    Scan ports 22 and 80 of 1.2.3.4 and save output to outputFile.json
    cbps.sh -i 1.2.3.4 -p 22,80 -o outputFile 

    Scan both 1.2.3.4 and 127.0.0.1 for most common ports and print output to console
    cbps.sh -i 1.3.4.5,127.0.0.1 -m q 

    Scan all for all possible ports on stackexchange.com and save to file stackexchange.json
    cbps.sh -i stackexchange.com -m f -o stackexchange
    

crappybashportscanner's People

Contributors

amahlaka avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

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.