đ Parrot Security Blog - Release Notes
Create a new Virtual Machine in VMWare with preferred specs:
Processors : 1 CPU - 2 Cores
CD : use the Parrot Installer .iso image file - Download here - and check Connect at power on
Edit virtual machine and Remove : Printer
First Boot & Update
Disable CD Connect at power on
Open the Terminal and run the command
Copy sudo parrot-upgrade
# or
sudo apt update && sudo apt full-upgrade
bash alias - Update packages
Copy cp /root/.bashrc ~
nano ~/.bashrc
Append the following text with the necessary commands to update all packages:
Copy # Upgrade all packages and remove unused packages
alias updateos = 'sudo -- sh -c "sudo apt update && sudo apt -y upgrade && sudo apt -y autoremove"'
Search for PS1
and add a space after between ]
and "
of the PS1
variable in the following places, to get a space after the $
of the bash session
Download and add hacking platforms .ovpn
files and set up OpenVpn aliases
Copy mkdir htb tcm pwnx
# Copy every .ovpn file in the respective dir
Copy # OpenVpn Aliases
alias htbvpn = 'sudo openvpn --config ~/htb/htb.ovpn --daemon'
alias thmvpn = 'sudo openvpn --config ~/thm/thm.ovpn --daemon'
alias pwnxvpn = 'sudo openvpn --config ~/pwnx/pwnx.ovpn --daemon'
alias killopenvpn = 'sudo pkill openvpn'
Reload the bash configuration:
Configurations
GRUB Timeout
Set the seconds in the GRUB_TIMEOUT value to 1
Copy sudo sed -E '/^GRUB_TIMEOUT=/s/=(.*)/=1/' -i /etc/default/grub
sudo update-grub
reboot
# Or edit it manually
sudo nano /etc/default/grub
NTP
Copy sudo apt install -y chrony
sudo systemctl enable --now chrony
sudo systemctl status chrony --no-pager
sudo timedatectl status
New SSH Keys
Copy sudo /bin/rm -v /etc/ssh/ssh_host_*
sudo dpkg-reconfigure openssh-server
sudo systemctl restart ssh
ssh-keygen -t rsa
Zsh & Oh-My-Zsh
Follow the guide here to setup ZSH
with Oh-My-Zsh
- Zsh & Oh-My-Zsh - syselement
Tools
Basic Tools
Copy sudo apt install -y apt-transport-https btop chrony curl duf flameshot gdu htop locate nano neofetch net-tools pipx speedtest-cli telegram-desktop terminator tor tree ugrep vlc wget
Copy sudo sh -c '
wget -qO- https://download.sublimetext.com/sublimehq-pub.gpg | gpg --dearmor -o /usr/share/keyrings/sublimehq-archive.gpg
echo "deb [arch="$(dpkg --print-architecture)" signed-by=/usr/share/keyrings/sublimehq-archive.gpg] https://download.sublimetext.com/ apt/stable/" | tee /etc/apt/sources.list.d/sublime-text.list
apt update && apt install -y sublime-text
'
Run it with subl
command.
Copy sudo sh -c '
apt install -y curl
curl -fsSLo /usr/share/keyrings/brave-browser-archive-keyring.gpg https://brave-browser-apt-release.s3.brave.com/brave-browser-archive-keyring.gpg
echo "deb [arch="$(dpkg --print-architecture)" signed-by=/usr/share/keyrings/brave-browser-archive-keyring.gpg] https://brave-browser-apt-release.s3.brave.com/ stable main" | tee /etc/apt/sources.list.d/brave-browser-release.list
wget http://archive.ubuntu.com/ubuntu/pool/main/libu/libu2f-host/libu2f-udev_1.1.10-3.2_all.deb
dpkg -i libu2f-udev_1.1.10-3.2_all.deb
apt update && apt install -y brave-browser
rm -rf libu2f-udev_1.1.10-3.2_all.deb
'
Copy wget -qO - https://apt.packages.shiftkey.dev/gpg.key | gpg --dearmor | sudo tee /usr/share/keyrings/shiftkey-packages.gpg > /dev/null
sudo sh -c 'echo "deb [arch=amd64 signed-by=/usr/share/keyrings/shiftkey-packages.gpg] https://apt.packages.shiftkey.dev/ubuntu/ any main" > /etc/apt/sources.list.d/shiftkey-packages.list'
sudo apt update && sudo apt install -y github-desktop
Copy sudo apt install -y terminator
From the System / Preferences / Personal / Preferred Applications
menu, set terminator
as the default terminal to use
Copy sudo update-alternatives --config x-terminal-emulator
Set up your layout. Full screen the Terminator window and split it in half using CTRL+SHIFT+E
keyboard shortcut.
Go to Preferences - Global
and set Window state to Maximized
Go to Preferences - Profiles - General
and set the Font to Monotspace Regular 16
.
Go to Preferences - Profiles - Background
and set the Background transparency as you like.
Go to Preferences - Profiles - Scrolling
and set the checkmark on Infinite Scrollback .
Go to Preferences - Layouts
and click on Add
button to create a new layout and give it a name.
This should create the ~/.config/terminator/config
file.
Now you can start terminator
using the saved layout using:
Copy terminator -l < yourLayou t >
Edit the ~/.config/terminator/config
file, rename yourLayout to default
and remove/rename the previous default layout. Now, when Terminator starts without any parameters, it will load your custom [[default]] layout!
Copy nano ~/.config/terminator/config
ALT+T
is a keyboard shortcut already configured in ParrotOS. It should open the terminator
with your configured layout.
â Already present in ParrotOS, if not, follow the commands below
Copy sudo wget -q https://gitlab.com/paulcarroty/vscodium-deb-rpm-repo/raw/master/pub.gpg && sudo mv pub.gpg /usr/share/keyrings/vscodium-archive-keyring.asc
sudo sh -c 'echo "deb [ signed-by=/usr/share/keyrings/vscodium-archive-keyring.asc ] https://paulcarroty.gitlab.io/vscodium-deb-rpm-repo/debs vscodium main" > /etc/apt/sources.list.d/vscodium.list'
sudo apt update && sudo apt install -y codium
đ Parrot OS Weird Docker Installation Issues
Copy sudo apt update && sudo apt install -y curl apt-transport-https software-properties-common ca-certificates gnupg
packages = ( "docker.io" "docker-doc" "docker-compose" "podman-docker" "containerd" "runc" )
for pkg in "${packages[ @ ]}" ; do
sudo apt remove "$pkg" -y
done &&
sudo sh -c '
curl -fsSL https://download.docker.com/linux/debian/gpg | gpg --dearmor -o /usr/share/keyrings/docker.gpg &&
chmod a+r /usr/share/keyrings/docker.gpg &&
echo "deb [arch="$(dpkg --print-architecture)" signed-by=/usr/share/keyrings/docker.gpg] https://download.docker.com/linux/debian bullseye stable" | tee /etc/apt/sources.list.d/docker.list &&
apt update &&
apt install -y docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin &&
sudo gpasswd -a "${USER}" docker
'
# Test
docker run hello-world
Offensive Sec Tools
Copy sudo apt update && sudo apt -y install exploitdb
searchsploit -u
Copy sudo apt install -y golang
go install github.com/projectdiscovery/katana/cmd/katana@latest
sudo cp ~/go/bin/katana /bin/
Last updated 3 months ago