Skip to content

enenumxela/ps.sh

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

69 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ps.sh

Made with Bash Maintenance Open Issues Closed Issues License

ps.sh is a bash script that automates port scanning on specified target host(s). The aim of the scripts is reducing scan time, increasing scan efficiency and automating the workflow.

Resource

Features

  • Automated service discovery using various workflows:
    • nmap2nmap: Use Nmap for both port discovery and service discovery.
    • masscan2nmap: Use Masscan for port discovery, followed by Nmap for service discovery.
  • Multiple target support - Scan a single target or a list of targets.

Installation

To install ps.sh:

  • ... with curl:

     F=${HOME}/.local/bin/ps.sh; curl -fsSL https://raw.githubusercontent.com/enenumxela/ps.sh/main/ps.sh > ${F} && chmod u+x ${F} && ${F} --setup
  • ...with wget:

     F=${HOME}/.local/bin/ps.sh; wget -qO- https://raw.githubusercontent.com/enenumxela/ps.sh/main/ps.sh > ${F} && chmod u+x ${F} && ${F} --setup

Usage

To display this script's help message, use the -h flag:

ps.sh -h

Here's what the help message looks like:


                                                  _
                                  _ __  ___   ___| |__
                                 | '_ \/ __| / __| '_ \
                                 | |_) \__  _\__ \ | | |
                                 | .__/|___(_)___/_| |_|
                                 |_|                    [ v1.0.0 ]

<>--------------------------<><> A Port Scanning Script. <><>--------------------------<>

 USAGE:
   ps.sh [OPTIONS]

 OPTIONS:
   -t, --target              target IP
   -l, --list                target IPs file
   -p, --ports               target port(s) (default: 0-65535)
   -w, --workflow            discovery workflow (default: nmap2nmap)
       --workflows           list supported discovery workflows
   -o, --output              output directory (default: $PWD)
       --setup               install required dependencies
   -h, --help                display this help message

Contributing

Contributions are welcome and encouraged! Feel free to submit Pull Requests or report Issues. For more details, check out the contribution guidelines.

A big thank you to all the contributors for your ongoing support!

contributors

Licensing

This utility is licensed under the MIT license. You are free to use, modify, and distribute it, as long as you follow the terms of the license. You can find the full license text in the repository - Full MIT license text.

Releases

No releases published

Sponsor this project

  •  

Packages

 
 
 

Contributors

Languages