Skip to content

ni5arga/Portify

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

Portify

Portify is a simple Go-based port scanner that enables you to scan a range of ports on a target host. This tool provides information about open and closed ports and, if desired, can retrieve banners from open ports.

Installation

To use Portify, follow these steps:

  1. Clone this repository to your local machine:

    git clone https://github.com/ni5arga/portify.git
  2. Navigate to the project direcory

    cd portify
  3. Build the project with Go

    go build portify.go

You can now use the portify binary to scan ports.

Command Line Usage

Usage: ./portify [options] <host> <start-port> <end-port>

Options:
  -timeout string
        Connection timeout duration (default "3s")
  -parallel int
        Number of parallel scans (default 100)
  -show-closed
        Show closed ports in the output
  -show-banners
        Show banners from open ports
  -show-open
        Show open ports in the output
  • <host> : The target host you want to scan.
  • <start-port>: The first port in the range you want to scan.
  • <end-port> : The last port in the range you want to scan.

Example Commands

  1. Scan a range of ports on a target host and show open ports:
./portify -show-open example.com 80 100
  1. Scan a range of ports on a target host and show banners from open ports:
./portify -show-banners example.com 20 30
  1. Scan a range of ports with a custom timeout:
./portify -timeout 5s example.com 50 60
  1. Scan with a specific number of parallel scans:
./portify -parallel 50 example.com 2000 2100
  1. Show both open and closed ports in the output:
./portify -show-open -show-closed example.com 7000 7100
  1. Show closed ports only:
./portify -show-closed example.com 4000 4010

Releases

No releases published

Packages

No packages published

Languages