Skip to content

dnmfarrell/bashfix

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

bashfix

A Perl script that checks your current Bash version, and installs a patched Bash that is fixed from Shellshock but is the same major and minor version of your existing Bash install.

Why do this? Well if your Linux version is no longer supported (e.g. Fedora 18 and below) then you won't get a security release to patch Bash. This script will download, patch and build a new Bash for you.

bashfix has been tested on Perl versions 5.8 and 5.20.0, and Fedora and CentOS Linux.

Synopsis

$ git clone https://github.com/sillymoose/bashfix.git
$ cd bashfix
$ chmod +x bashfix.pl
$ ./bashfix.pl

Requirements

  • Perl 5.8 or higher

  • No extra modules required

  • Linux with Bash version 3.* or 4.*

  • The following C binaries: wget, curl, bison, byacc, gettext, patch, autoconf

  • An internet connection to download Bash and associated patches from GNU

Version

0.03

Thanks

Thanks to Steve Jenkins, his blog post How to patch Bash formed the basis of this solution.

License

FreeBSD 2 clause - see LICENSE file

About

A Linux Perl script to patch Bash to be Shellshock proof

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages