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.
- Host: GitHub
- URL: https://github.com/thiiagoms/harpia
- Owner: thiiagoms
- License: mit
- Created: 2021-09-24T00:55:32.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2023-05-08T22:21:34.000Z (about 3 years ago)
- Last Synced: 2025-03-05T22:44:32.753Z (over 1 year ago)
- Topics: php-cli, php-linux, php-network, php-tools, portscan, portscanner
- Language: PHP
- Homepage:
- Size: 85 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
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: