Skip to content

Latest commit

 

History

History
84 lines (61 loc) · 4.53 KB

README.md

File metadata and controls

84 lines (61 loc) · 4.53 KB

Description

This Bash script is designed to set up a Linux-based penetration testing environment by installing various tools commonly used for security assessments and vulnerability testing. It automates the installation of essential software, including Visual Studio Code, penetration testing tools, and their dependencies.

Please note that this script assumes you are running it on a Linux distribution that uses the apt package manager (e.g., Ubuntu, Debian). Ensure you have the necessary permissions to install packages and modify system configurations.

The ollowing Tools are Installed and Actions Taken

Installed via apt

Tool Description
software-properties-common Provides common properties for software
apt-transport-https Enables HTTPS for APT package manager
wget Command-line file downloader
python3-pip Python package manager
python3-venv Python virtual environment support
code Visual Studio Code

Installed via pipx

Tool Source URL
AutoRecon https://github.com/Tib3rius/AutoRecon
Impacket https://pypi.org/project/impacket/
JWT-cracker https://pypi.org/project/jwt-cracker/

Cloned Repositories

Repository Clone URL Directory
GitTools https://github.com/internetwache/GitTools.git /opt/GitTools
git-dumper https://github.com/arthaud/git-dumper.git /opt/git-dumper

Other Actions

Action Details
Uncompressed rockyou.txt Located at /usr/share/wordlists/
Ensured snapd service is running Includes enabling snapd with apparmor

Download and Running Instructions

  1. Download the Script: You can download the script directly by clicking here. Alternatively, you can clone this repository to access the script:

    git clone https://github.com/ahanel13/PentestBoxSetup.git
    cd PentestBoxSetup
  2. Give Execution Permissions: If the script doesn't already have execution permissions, grant them using the following command:

    chmod +x PentestBoxSetup.sh
  3. Run the Script: Execute the script with root privileges (sudo) to ensure it can install packages and modify configurations:

    sudo ./PentestBoxSetup.sh
  4. Follow the Prompts: The script will prompt you for permission to install various packages and dependencies. Enter your password when requested.

  5. Enjoy Your Penetration Testing Environment: Once the script completes, your penetration testing environment should be set up and ready to use.

Important Notes

  • The script may take some time to install all the necessary tools, depending on your internet connection and system specifications.
  • Make sure to review the script and understand its functionality before running it, especially if you are running it on a production system.
  • The script may modify system configurations and install software. Use it at your own risk.
  • If you encounter any issues or have questions, feel free to open an issue in the repository.

License

This project is licensed under the MIT License. Feel free to use, modify, and distribute the script while adhering to the terms of the license.

Contributing

If you have any improvements, bug fixes, or additional features to contribute, we welcome your pull requests.

Acknowledgments

We acknowledge the contributions of the open-source community and the authors of the various penetration testing tools included in this script. Their efforts make this environment setup possible.