Skip to content

Instantly share code, notes, and snippets.

View rcg4u's full-sized avatar

SleepyNerdLive rcg4u

View GitHub Profile
echo ""
echo "Apple OS X ShellShock BASH Fix Script"
echo "---------------------------------------------------------"
echo "Version : 20140926-2"
echo "Maintainer : T.Veluwenkamp <contact@timveluwenkamp.eu>"
echo "Copyright : Copyright (C) 2014 T.Veluwenkamp"
echo "---------------------------------------------------------"
echo ""
echo "Making TEMP dir to recompile BASH in..."
mkdir bash-fix
@rcg4u
rcg4u / bashup.sh
Last active August 29, 2015 14:06 — forked from thom-nic/bashup.sh
# shellshock upgrade & patch for Mac OSX
# OSX ships with a horribly old version of bash (3.2) which is vulnerable to
# the Shellshock exploit (CVE-2014-6271)
# We use homebrew to get a recent version of bash, then symlink it to
# /bin/bash and /bin/sh (because sh is really bash)
#
# Use this to see if you're vulnerable
# env X="() { :;} ; echo vulnerable" /bin/bash -c "echo testing"
brew update && brew install bash
#!/usr/bin/env sh
URL="https://api.pushover.net/1/messages.json"
API_KEY=""
USER_KEY=""
DEVICE=""
TITLE="${1}"
MESSAGE="${2}"
#!/usr/bin/perl
# This script will download and install the latest wine compatible version
# of the IMVUClient
# Be strict to avoid messy code
use strict;
# Use FindBin module to get script directory
use FindBin;