Skip to content

Instantly share code, notes, and snippets.

View cryptrz's full-sized avatar

Franck Ridel cryptrz

View GitHub Profile
@cryptrz
cryptrz / wsl2-move-kali.yml
Last active September 22, 2023 01:59
WSL2: Move Kali Linux on another hard drive
Install Kali Linux:
https://www.microsoft.com/en-us/p/kali-linux/9pkr34tncv07?activetab=pivot:overviewtab
Open Powershell as admin and go to the second hard drive (Let's say D for the example, change it if needed according to yours):
cd D:\
Create a wsl folder:
mkdir wsl
Enter the new folder:
@cryptrz
cryptrz / nessus-fedora.yml
Last active November 24, 2021 11:23
Install Nessus on Fedora
Download the Fedora rpm file:
https://www.tenable.com/downloads/nessus?loginAttempted=true
Go to the Downloads folder:
cd ~/Downloads
Install Nessus using "dnf" (Replace <version> with the real version number):
sudo dnf install ./Nessus-<version>.x86_64.rpm
Start Nessus:
@cryptrz
cryptrz / upgrade-fedora.yml
Last active November 2, 2021 20:32
Upgrade Fedora Linux to next version
Upgrade all packages:
sudo dnf upgrade --refresh
Install the DNF system upgrade plugin, if not already installed:
sudo dnf install dnf-plugin-system-upgrade
Download the files (Replace XX by the version number):
sudo dnf system-upgrade download --releasever=XX
Upgrade the system and reboot:
@cryptrz
cryptrz / pihole-fedora.yml
Last active May 19, 2025 00:19
Pi-Hole on Fedora Linux (the easy way)
SELinux will be configured in permissive mode, don't follow this steps if you're not on a secure network:
1) Switch to root user, set SELinux on permissive and reboot:
sudo -i
sed -i 's/^SELINUX=enforcing/SELINUX=permissive/g' /etc/selinux/config
reboot
2) Switch to root user and install Pi-Hole:
sudo -i
curl -sSL https://install.pi-hole.net | bash
@cryptrz
cryptrz / firefox-linux.yml
Last active December 30, 2023 05:12
Manual Firefox install on a Linux distro and icon creation
FIREFOX DEVELOPER EDITION:
Download Firefox Developer: https://www.mozilla.org/en-US/firefox/developer/
Go to /opt folder:
cd /opt
Decompress the downloaded file (Adapt <user> and <version>):
sudo tar -xvf /home/<user>/Downloads/firefox-<version>.tar.bz2