Ufkabakan adlı üyeden alıntı:
mesajı görüntüle
36
●2.754

env x='() { :;}; echo vulnerable' bash -c "echo patched"id karşısında değer görürseniz tehlikedesiniz.rm -f echo && env -i X='() { (a)=>\' bash -c 'echo id'; cat echofixlemek için sırayla aşağıdaki kodları ssh de girin. for daki tırnaklara dikkat.mkdir src cd src wget http://ftp.gnu.org/gnu/bash/bash-4.3.tar.gz #download all patches for i in $(seq -f "%03g" 0 27); do wget http://ftp.gnu.org/gnu/bash/bash-4.3-patches/bash43-$i; done tar zxvf bash-4.3.tar.gz cd bash-4.3 #apply all patches for i in $(seq -f "%03g" 0 27); do patch -p0 < ../bash43-$i; done #build and install ./configure && make && make install cd .. cd .. rm -rf srcreboot etmeyi unutmayın.
rpm -ivh http://mirror.centos.org/centos/6.5/updates/x86_64/Packages/bash-4.1.2-15.el6_5.2.x86_64.rpmyükseltmesi gerekecek.