|Kaj Forney 4e36f6e507 Add sleep statement to pingsweep.||1 month ago|
|build||2 years ago|
|config||1 month ago|
|debs||1 month ago|
|filesystem||1 month ago|
|images||2 years ago|
|logs||2 years ago|
|modules||11 months ago|
|.gitignore||2 years ago|
|LICENSE||2 years ago|
|README.md||1 month ago|
|convert.sh||1 month ago|
|runme.sh||1 month ago|
This script automates the process of building the most common pentesting Linux distributions, Kali Linux and Parrot Security OS.
Clone this repository with
git clone --recursive, then make whatever changes you wish to make.
When you’re ready to build, run
sudo ./runme.sh . Once it’s complete, the finished image will be copied to the images/ folder, and a log file will be created in the logs/ folder.
If you run the script without any options, it will build whichever OS you are currently running, and prompt for which desktop environment and repository you wish to use. If you wish, however, you can manually specify these options instead (for example, to script an image to be built nightly or weekly):
|-u||Unattended mode||Skip the menu (required for the other options to function)|
|-l||Distribution||Can be either “Kali” or “Parrot”|
|-d||Desktop environment||Can be one of “cinnamon”, “gnome”, “kde”, “lxde”, “mate”, or “xfce”|
|-r||Repository (optional)||Can be either “default” for the distribution’s default repo, or an IP address|
sudo ./runme.sh -u -l Kali -d mate -r 192.168.0.30
This will build a Kali Linux .iso, with the MATE desktop environment, using a local repository at 192.168.0.30
sudo ./runme.sh -u -l Parrot -d cinnamon
This will build a Parrot Security OS .iso, with the Cinnamon desktop environment, using the default Parrot repository.
If -r is unspecified, then the default will be used.
If you already have a copy of Kali installed, and just want to add our changes on top of it, simply run the “convert.sh” script. It will apply the modifications this script would have built into the image automatically. You do not have to be root to run the script; it will prompt for sudo as needed.