Skip to content

Instantly share code, notes, and snippets.

@isaqueprofeta
isaqueprofeta / siem_training.md
Last active March 31, 2025 06:44
SIEM Training
# Source: https://gist.github.com/bc1188d2a4b8d5295890e9c5438b9ce4
#################################
# 10 Must-Have Kubernetes Tools #
# https://youtu.be/CB79eTFbR0w #
#################################
# Additional Info:
# - How To Replace Docker With nerdctl And Rancher Desktop: https://youtu.be/evWPib0iNgY
# - k9s Kubernetes UI - A Terminal-Based Vim-Like Kubernetes Dashboard: https://youtu.be/boaW9odvRCc
@byt3bl33d3r
byt3bl33d3r / log4j_rce_check.py
Created December 10, 2021 06:02
Python script to detect if an HTTP server is potentially vulnerable to the log4j 0day RCE (https://www.lunasec.io/docs/blog/log4j-zero-day/)
#! /usr/bin/env python3
'''
Needs Requests (pip3 install requests)
Author: Marcello Salvati, Twitter: @byt3bl33d3r
License: DWTFUWANTWTL (Do What Ever the Fuck You Want With This License)
This should allow you to detect if something is potentially exploitable to the log4j 0day dropped on December 9th 2021.
@azriel91
azriel91 / paint_net_install.sh
Created February 27, 2021 07:58
Wine paint.net
sudo apt install wine winetricks
winetricks -q dotnet472
wine ~/Downloads/Paint.NET.3.5.11.Install.exe
@timvw
timvw / terraform.yml
Created January 20, 2021 05:54
github actions to plan/apply multiple terraform projects
name: "Terraform"
on:
push:
branches:
- master
pull_request:
jobs:
terraform:
@ryanburnette
ryanburnette / Caddyfile
Last active February 16, 2025 00:07
Caddy v2.1+ CORS whitelist
(cors) {
@cors_preflight{args.0} method OPTIONS
@cors{args.0} header Origin {args.0}
handle @cors_preflight{args.0} {
header {
Access-Control-Allow-Origin "{args.0}"
Access-Control-Allow-Methods "GET, POST, PUT, PATCH, DELETE, OPTIONS"
Access-Control-Allow-Headers *
Access-Control-Max-Age "3600"
@Splaxi
Splaxi / download-latest-release.ps1
Last active April 22, 2025 15:55 — forked from MarkTiedemann/download-latest-release.ps1
Download latest GitHub release via Powershell
# Download latest dotnet/codeformatter release from github
$repo = "jgm/pandoc"
$filenamePattern = "*x86_64.zip"
$pathExtract = "C:\Tools\pandoc"
$innerDirectory = $true
$preRelease = $false
if ($preRelease) {
$releasesUri = "https://api.github.com/repos/$repo/releases"
@pascalandy
pascalandy / compose-caddy.yml
Last active March 31, 2025 16:35
Traefik V2 / my docker compose files
version: "3.3"
services:
caddy:
image: abiosoft/caddy:1.0.3-no-stats
container_name: caddy
hostname: caddy
restart: unless-stopped
volumes:
Reload .bashrc without logging out and back in:
==============================================
Two ways to do this:
1- source ~/.bashrc (or . ~/.bashrc)
2 - exec bash
With this, you won't even have to type "source ~/.bashrc":
Include your bashrc file:
@bespokoid
bespokoid / linux_wifi_setup.md
Created October 13, 2019 21:14
Connecting to wifi network through command line #linux #cmd

Connecting to wifi network through command line

I am trying to connect to my WEP network just using the command-line (Linux).

I run:

sudo iwconfig wlan0 mode Managed essid 'my_network' key 'xx:xx:... hex key, 26 digits'

Then I try to obtain an IP with