Skip to content

Instantly share code, notes, and snippets.

@sbnsec
sbnsec / morse_led
Last active April 3, 2022 17:56
arduino morse code encoder to led
int led_pin = 1;
String code="-.-.-.--.--.--.-.-.-";
int tl=500;
int pause=tl*2;
void setup(){}
void loop() {
for(int i=0;i<code.length();i++)
{
@sbnsec
sbnsec / TI_notes.md
Last active January 13, 2023 10:12
@sbnsec
sbnsec / ImageMagick-6.9.3-9 CVE-2016–3714 RCE Payload
Last active May 12, 2024 16:35 — forked from tutozz/README.md
ImageMagick-6.9.3-9 CVE-2016–3714 RCE Payload
Based on https://github.com/swisskyrepo/PayloadsAllTheThings
This needs to be adapted to exploit a Docker container. Replace the IP with your own.
@sbnsec
sbnsec / init.sh
Last active May 12, 2024 10:22
init linux server
#/bin/bash
function info(){
local -r message="${1}"
echo -e "\033[1;36m[+] ${message}\033[0m" 2>&1
}
function check_sudo_and_run() {
# Vérifier si l'utilisateur a des droits sudo
if sudo -n true 2>/dev/null; then