I want to inform you that we're transitioning the project to a full Docker setup. This move will significantly reduce our concerns, providing a more streamlined and reliable environment. Consequently, the current shell version on the main branch (4.4.2) marks the final update for this branch.
- Introduction
- Requirements
- Usage
- Prompt Styles
- Docker Installation
- Binary Install
- Contribution
- License
- Disclaimer
- Todo
Pegasus is a powerful hacking shell designed for Unix-based operating systems. It provides various tools and functionalities that can be used for security testing and ethical hacking purposes. This tool is intended for educational and responsible use only. Please use it responsibly and with proper authorization.
Linux
bash install/install-pcap
Windows
Install npcap
If you install the binary for any OS you will need to make the file a sudo binary
-
Linux
sudo chown root:root /path/to/your/executable
sudo chmod u+s /path/to/your/executable
-
Mac
sudo visudo
yourusername ALL=(ALL) NOPASSWD: /path/to/your/executable
-
Windows
Run as Administrator
Once Pegasus is successfully installed, you can run it by executing the go run main.go
command in your terminal:
If you want a new style prompt run ./pegasus -style=<prompt>
- windows
- root
- zsh, zsh-git
- mac
- hacker
If you prefer to build the Docker image locally, execute the following commands:
docker build -t pegasus .
docker run -it pegasus
For a more straightforward installation, you can pull the Docker image from Docker Hub:
docker pull nebrix/pegasus:4.4.2
docker run -it docker.io/nebrix/pegasus:4.4.2
Using the Docker Hub image is the recommended and easier approach for most users.
Download the binary pegasus
-
Whois- [Description: Retrieve detailed registration information for a domain, including contact details]
-
DNS - [Description: Perform DNS enumeration on a domain to gather information about its DNS records]
-
Hashing - [Description: Generate a cryptographic hash value for a given input]
-
IP/IP Information - [Description: Retrieve basic information about an IP address, such as its geolocation and ISP]
-
Subnet Calculator - [Description: Calculate subnet details, including network and broadcast addresses, and IP ranges]
-
Port Scanner - [Description: Scan for open ports on a specified IP address or domain]
-
Packet Sniffer - [Description: Capture and analyze network packets on a specified interface]
-
Discover WiFi Networks - [Description: Discover networks]
-
Ping - [Description: Send ICMP echo requests to check the reachability of a host and measure round-trip times]
-
Traceroute - [Description: Reveal the network path and measure transit times of packets to a destination IP address]
-
Web Header - [Description: Retrieve basic header information via an HTTP web request]
-
IP Addresses - [Description: Display local and public IP addresses for the currently connected network]
-
Shell Prompt Styles - [Description: Customize the style of the shell prompt]
-
Custom Prompt Styles - [Description: Create custom shell prompts]
-
Install Script - [Description: Installer for libpcap (Unix only)]
If you find any bugs or want to contribute to Pegasus, please feel free to open an issue or submit a pull request on the GitHub repository. We welcome your feedback and suggestions to make this tool even better.
Pegasus is open-source software licensed under the MIT License. You are free to use, modify, and distribute this software with proper attribution and in compliance with the license terms.
Pegasus is provided for educational and ethical hacking purposes only. The authors and contributors of Pegasus are not responsible for any misuse or illegal activities performed using this tool. Please use it responsibly and in compliance with the laws and regulations of your country.