Home » Uncategorized » simple bash shellshock patch

simple bash shellshock patch

#!/bin/sh
wget http://ftp.gnu.org/gnu/bash/bash-4.3.tar.gz
tar xf bash-4.3.tar.gz
wget http://ftp.gnu.org/gnu/bash/bash-4.3-patches/bash43-0{01..30}
cd bash-4.3
for i in ../bash43-0* ; do patch -p0 < ${i}; done
# ./configure --prefix=/usr
# make
# sudo make install

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s