Metadata-Version: 2.1
Name: target-ports
Version: 1.0.2
Summary: Scan ports of a target
Author-email: Soumyo Deep Gupta <deep.main.ac@gmail.com>
Maintainer-email: Soumyo Deep Gupta <deep.main.ac@gmail.com>
License: License
        
        Copyright (c) 2024 Soumyo Deep Gupta
        
        Permission is hereby granted, free of charge, to any person obtaining a copy
        of this software and associated documentation files (the "Software"), to deal
        in the Software without restriction, including without limitation the rights
        to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
        copies of the Software, and to permit persons to whom the Software is
        furnished to do so, subject to the following conditions:
        
        The above copyright notice and this permission notice shall be included in
        all copies or substantial portions of the Software.
        
        THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
        IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
        FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
        AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
        LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
        OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
        THE SOFTWARE.
        
        BY USING THIS SOFTWARE, YOU ACKNOWLEDGE AND AGREE THAT THE AUTHOR(S) SHALL NOT BE
        HELD RESPONSIBLE OR LIABLE FOR ANY MISUSE, ILLEGAL ACTIVITIES, OR DAMAGES ARISING
        FROM THE USE OF THE SOFTWARE. THE RESPONSIBILITY FOR THE USE AND CONSEQUENCES OF THE
        SOFTWARE RESTS SOLELY WITH THE USERS AND NOT WITH THE AUTHOR(S).
Project-URL: GitHub, https://github.com/d33pster/target-ports
Project-URL: Issues, https://github.com/d33pster/target-ports/issues
Project-URL: Documentation, https://d33pster.github.io/target-ports/
Keywords: d33pster,port scanner,port,scanner,recon,portscanner,target-ports,targetports
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: Topic :: Software Development
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Operating System :: OS Independent
Requires-Python: >=3.9
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: termcolor
Requires-Dist: optioner >=1.4.5

![PyPI - Version](https://img.shields.io/pypi/v/target-ports)
![GitHub last commit](https://img.shields.io/github/last-commit/d33pster/target-ports)
![Static Badge](https://img.shields.io/badge/Dependencies-optioner%3E%3D1.4.4%2C%20termcolor-purple?style=plastic&logo=python&logoColor=pink&link=https%3A%2F%2Fgithub.com%2Fd33pster%2Foptioner)


# Overview

target-ports is a basic port scanner written in python and makes use of socket programming to identify open ports.

## Installation

```bash
# install using pip, check the latest pypi version badge from the top of the readme file

pip install target-ports==<version> # without the <>
```

## Usage

```console
# call from terminal

$ tports -h
usage:
    target-ports v0.1

    help text

    |  -h or --help      : show this help text and exit.
    |  -v or --version   : show version and exit.
    |  -c or --current   : scan localhost.
    |  -t or --target    : specify single target.
    |  -ts or --targets  : specify multiple targets.
    |  -p or --ports     : number of ports to scan (each, if more than one target is provided.)[optional: default -> 100]

    Note:
        (i) -t(or --target) and -ts(or --targets) are mutually exclusive.
       (ii) -p(or --ports) is optional.
      (iii) This tool is just for educational pursose. The author(s) are not responsible for any misuse (AS STATED IN THE LICENSE).
```

## Uninstallation

```bash
pip uninstall target-ports
```

## Note to Users [IMPORTANT]

READ LICENSE BEFORE USE.

BY USING THIS SOFTWARE, YOU ACKNOWLEDGE AND AGREE THAT THE AUTHOR(S) SHALL NOT BE
HELD RESPONSIBLE OR LIABLE FOR ANY MISUSE, ILLEGAL ACTIVITIES, OR DAMAGES ARISING
FROM THE USE OF THE SOFTWARE. THE RESPONSIBILITY FOR THE USE AND CONSEQUENCES OF THE
SOFTWARE RESTS SOLELY WITH THE USERS AND NOT WITH THE AUTHOR(S).
