Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.
Kaj Forney a380b8fe97
Remove package removed by Kali.
7 meses atrás
build Add directories. 2 anos atrás
config Remove package removed by Kali. 7 meses atrás
debs Move Resilio Sync install to later in build. 9 meses atrás
filesystem Add MIME association with Thunar to prevent VS Codium from hijacking the inode/directory MIME type. 8 meses atrás
images Add directories. 2 anos atrás
logs Quality of life update. 1 ano atrás
modules We want to build on Debian too... 9 meses atrás
.gitignore Add .gitignore file. 1 ano atrás
LICENSE Initial commit 2 anos atrás
README.md Quality of life update. 1 ano atrás
runme.sh We want to build on Debian too... 9 meses atrás


Pentest Distro Builder

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.

  • Add any .deb files to the debs/ folder that you want installed into the image.
  • Add any files to the filesystem/ folder that you want on the final system.
  • Add any extra software from the repository you wish to install to the config/software.list.chroot file.
  • Add any commands you want to have run during the build process to the config/pentest-distro-builder.chroot file.

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):

Flag Option Description
-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

This will build a Kali Linux .iso, with the MATE desktop environment, using a local repository at

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.