https://github.com/dnmfarrell/bashfix
A Linux Perl script to patch Bash to be Shellshock proof
https://github.com/dnmfarrell/bashfix
Last synced: about 1 year ago
JSON representation
A Linux Perl script to patch Bash to be Shellshock proof
- Host: GitHub
- URL: https://github.com/dnmfarrell/bashfix
- Owner: dnmfarrell
- License: other
- Created: 2014-10-05T16:48:24.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2014-10-10T19:25:40.000Z (over 11 years ago)
- Last Synced: 2025-04-14T11:16:59.448Z (about 1 year ago)
- Language: Perl
- Size: 118 KB
- Stars: 6
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.pod
- License: LICENSE
Awesome Lists containing this project
README
=head1 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.
=head2 Synopsis
$ git clone https://github.com/sillymoose/bashfix.git
$ cd bashfix
$ chmod +x bashfix.pl
$ ./bashfix.pl
=head2 Requirements
=over 4
=item *
Perl 5.8 or higher
=item *
No extra modules required
=item *
Linux with Bash version 3.* or 4.*
=item *
The following C binaries: wget, curl, bison, byacc, gettext, patch, autoconf
=item *
An internet connection to download Bash and associated patches from GNU
=back
=head2 Version
0.03
=head2 Thanks
Thanks to Steve Jenkins, his blog post L formed the basis of this solution.
=head2 License
FreeBSD 2 clause - see LICENSE file
=cut