An open API service indexing awesome lists of open source software.

https://github.com/thiiagoms/harpia

:elephant: :bird: Simple and versatile port scanning tool for assessing system and network security. It helps identify open ports, vulnerabilities, and potential points of attack.
https://github.com/thiiagoms/harpia

php-cli php-linux php-network php-tools portscan portscanner

Last synced: about 1 year ago
JSON representation

:elephant: :bird: Simple and versatile port scanning tool for assessing system and network security. It helps identify open ports, vulnerabilities, and potential points of attack.

Awesome Lists containing this project

README

          



Logo

Harpia - See all ports are open or closed on host! :hearts:

Simple port scan made with elephants :elephants:

- [Dependencies](#Dependencies)
- [Usage](#Usage)

### Dependencies
* PHP 8.1+
* Composer or Docker

### Install Dependencies

- With Composer:

```bash
$ git clone https://github.com/thiiagoms/harpia
$ cd harpia
$ composer installl
$ chmod +x harpia
```
### Usage :hammer:

### You can use `harpia` in twio ways::

* First: Answer the hostname and scan with default ports
```bash
$ ./harpia

██░ ██ ▄▄▄ ██▀███ ██▓███ ██▓ ▄▄▄
▓██░██▒▒████▄ ▓██ ▒ ██▒▓██░ ██▒ ▓██▒████▄
██▀▀██░▒██ ▀█▄ ▓██ ░▄█ ▒▓██░ ██▓▒▒██▒▒██ ▀█▄
▓█ ░██ ░██▄▄▄▄██ ▒██▀▀█▄ ▒██▄█▓▒ ▒░██░░██▄▄▄▄██
▓█▒░██▓ ▓█ ▓██▒░██▓ ▒██▒▒██▒ ░ ░░██░ ▓█ ▓██▒
▒ ░░▒░▒ ▒▒ ▓▒█░░ ▒▓ ░▒▓░▒▓▒░ ░ ░░▓ ▒▒ ▓▒█░
▒ ░▒░ ░ ▒ ▒▒ ░ ░▒ ░ ▒░░▒ ░ ▒ ░ ▒ ▒▒ ░
░ ░░ ░ ░ ▒ ░░ ░ ░░ ▒ ░ ░ ▒
░ ░ ░ ░ ░ ░ ░ ░ ░

[*] Harpia - Port Scan made with Love and Elephants
[*] Author: Thiago Silva AKA thiiagoms
[*] Version: 1.0

> Website address:
```

* Second: With custom ports in your `file.txt` or another file that you choosed
```bash
$ ./harpia -p

██░ ██ ▄▄▄ ██▀███ ██▓███ ██▓ ▄▄▄
▓██░██▒▒████▄ ▓██ ▒ ██▒▓██░ ██▒ ▓██▒████▄
██▀▀██░▒██ ▀█▄ ▓██ ░▄█ ▒▓██░ ██▓▒▒██▒▒██ ▀█▄
▓█ ░██ ░██▄▄▄▄██ ▒██▀▀█▄ ▒██▄█▓▒ ▒░██░░██▄▄▄▄██
▓█▒░██▓ ▓█ ▓██▒░██▓ ▒██▒▒██▒ ░ ░░██░ ▓█ ▓██▒
▒ ░░▒░▒ ▒▒ ▓▒█░░ ▒▓ ░▒▓░▒▓▒░ ░ ░░▓ ▒▒ ▓▒█░
▒ ░▒░ ░ ▒ ▒▒ ░ ░▒ ░ ▒░░▒ ░ ▒ ░ ▒ ▒▒ ░
░ ░░ ░ ░ ▒ ░░ ░ ░░ ▒ ░ ░ ▒
░ ░ ░ ░ ░ ░ ░ ░ ░

[*] Harpia - Port Scan made with Love and Elephants
[*] Author: Thiago Silva AKA thiiagoms
[*] Version: 1.0

> Website address:
```

## Run lints and tests:

Lint:

```bash
$ composer phpcs src
$ ./vendor/bin/phpinsights
```

Tests:
```bash
$ composer phpunit
```

If you want to contribute, you can also open issue or clone this repository to make a Pull Request, thank you so much for choose Harpia :hearts: