Skip to content

Instantly share code, notes, and snippets.

View ShellCode33's full-sized avatar
🐚
can you hear the C ?

ShellCode ShellCode33

🐚
can you hear the C ?
View GitHub Profile
@ShellCode33
ShellCode33 / upgrade_modsecurity.sh
Created July 28, 2020 14:03
ModSecurity automatic upgrade
#!/bin/bash
exec_or_die() {
$@ &>> modsecurity_upgrade_logs || (echo "Error while executing \"$@\", read log file"; exit 1)
}
echo "[+] Upgrading ModSecurity"
cd /root