Skip to content

Instantly share code, notes, and snippets.

View hobson's full-sized avatar
💭
dev4

Hobson Lane hobson

💭
dev4
View GitHub Profile
@hobson
hobson / patch-bash.sh
Last active August 29, 2015 14:07
Shellshock bash patch and vulnerability tests, manually compiled and installed -- no package manager required
#!/bin/sh
# Manually patch and compile bash for systems like FC16 that don't have shellshock protection
# availalbe through their package managers.
# sudo yum install patch byacc texinfo bison autoconf gettext ncurses-devel
VERSION1=4
VERSION2=2
VERSION_PATCH=52