Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions fixbash
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,19 @@ if [ -z "$MAKE" ]; then
exit 1
fi

# Only for cPanel Servers
if [ -f "/var/cpanel/cpanel.config" ]; then
# simple check for HTTPS support
wget --help | grep "HTTPS"
if [ $? -eq 1 ]; then
echo "HTTPS not supported"
echo "Removing WGET from yum.conf ignore list, removing it and reinstalling using YUM"
sed -i "s@wget\*@@g" /etc/yum.conf
rpm -e --nodeps wget
yum install wget -y
fi
fi

echo "Creating folders..."
cd ~/
mkdir bash-shellshocker
Expand Down