apt-get update && apt-get --allow-unauthenticated install gcc g++ binutils make automake cd /root mkdir bash-fix cd bash-fix wget http://ftp.gnu.org/gnu/bash/bash-4.3.tar.gz wget -r 1 -nH -nd -np http://ftp.gnu.org/gnu/bash/bash-4.3-patches/ && rm *.sig index.html* tar xzpvf bash-4.3.tar.gz cd bash-4.3 for i in ../bash43-0*;do patch -p0 < $i; done ./configure --prefix=/usr --bindir=/bin --sbindir=/sbin --sysconfdir=/etc make -j 4 && make install (env X='() { (a)=>\' bash -c "echo echo vuln"; [[ "$(cat echo)" == "vuln" ]] ) 2>/dev/null && echo "still vulnerable :("