Skip to content

Instantly share code, notes, and snippets.

View cryptrz's full-sized avatar

Franck Ridel cryptrz

View GitHub Profile
@cryptrz
cryptrz / gist:fdbfdce460ce93d88ff99d6bbb94e4c5
Created June 1, 2024 17:52
AWS Policy - AllowPublicRead
{
"Version": "2008-10-17",
"Statement": [
{
"Sid": "AllowPublicRead",
"Effect": "Allow",
"Principal": {
"AWS": "*"
},
"Action": "s3:GetObject",
@cryptrz
cryptrz / 2-digit-hex.yml
Created July 25, 2023 05:42
2 digit hex numbers
00
01
02
03
04
05
06
07
08
09
#########################################################
https://start.me/p/vjEPvb/thug-bounty # Pentest / Bug bounty bookmarks
https://start.me/p/QRQb0O/trouble-fake # OSINT bookmarks
#########################################################
https://github.com/Hack-with-Github/Awesome-Hacking
https://github.com/sehno/Bug-bounty/blob/master/bugbounty_checklist.md
https://github.com/shieldfy/API-Security-Checklist/blob/master/README.md
https://www.jhaddix.com/post/my-xmind-hunt-template-for-hakluke
https://github.com/Ignitetechnologies/Mindmap
#########################################################
@cryptrz
cryptrz / tor-fedora.yml
Last active January 23, 2023 08:19
Build a Tor website on Fedora Server
Install NGINX, PHP, Tor and Vim:
sudo dnf install nginx php tor vim
Set Tor:
sudo vim /etc/tor/torrc
Uncomment this 2 lines:
HiddenServiceDir /var/lib/tor/hidden_service/
HiddenServicePort 80 127.0.0.1:80
sudo systemctl enable tor
@cryptrz
cryptrz / python-stable-shell.yml
Created November 24, 2021 11:23
Get a stable shell
python3 -c "import pty; pty.spawn('/bin/bash')"
@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 November 2, 2021 20:32
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