Beta is a Port Scanner application developed as a learning tool in the fields of cybersecurity and Python programming. Beta aims to provide practical insights into scanning and analyzing open ports on target machines. This application is designed for use in a testing and learning environment with a focus on network security and software development.
- Port Scanning: Efficiently scans for open ports on specified IP addresses or network ranges. Provides detailed information about discovered services and their associated ports.
- Multi-threading: Utilizes multi-threading to perform concurrent scans, significantly reducing the time required to scan large networks.
- Customizable Scans: Allows users to specify target ports, IP addresses, and scanning options, making it adaptable to different scenarios.
- Result Reporting: Generates structured and formatted scan reports, making it easy to interpret and analyze the results.
- Interactive CLI: Features a command-line interface built using
rich.console
to display real-time progress and results in a user-friendly manner.
- Understanding Port Scanning: Learn about the importance of port scanning in network security and how it can be used to identify vulnerabilities.
- Python Programming: Enhance skills in Python programming, particularly in networking and concurrent programming. Learn how to utilize libraries such as
socket
,threading
, andrich.console
to build effective and responsive applications. - Application Development: Understand techniques and best practices for developing CLI applications, with a focus on usability and performance.
Note: Beta is designed for educational and testing purposes. Use of this application should be conducted in a safe and legal environment and adhere to applicable cybersecurity laws and ethics.
pipx
is a tool to install and run Python applications in isolated environments. Follow these steps to install Beta:
-
Install pipx:
sudo apt install pipx pipx ensurepath
-
Clone the Beta repository:
git clone https://github.com/sh4dowByte/beta.git cd beta
-
Install Beta using pipx:
pipx install .
If you prefer not to use pipx
, you can set up an alias to run beta.py
directly from your terminal.
-
Clone the Beta repository:
git clone https://github.com/sh4dowByte/beta.git cd beta
-
Install the required dependencies from
requirements.txt
:python3 -m pip install -r requirements.txt
-
Open your terminal and add the following alias to your shell configuration file (e.g.,
~/.bashrc
or~/.zshrc
):alias beta='python3 ~/Pentest/beta/beta.py'
-
After adding the alias, run
source ~/.bashrc
(orsource ~/.zshrc
for zsh) to reload your shell configuration.
Now, you can run beta
directly from your terminal!
beta 192.168.1.1
beta -l ip_list.txt
beta 192.168.1.1 example.com 192.168.1.2
beta 192.168.1.0/24
beta 192.168.1.0-192.168.2.254
- Nmap by nmap.org - A well-known network scanning tool used for discovering hosts and services on a computer network.