Skip to content
KitploitKITPLOIT
ToolsExploitsBlog
Log in
Submit
ToolsExploitsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

··Feeds·Contact·Privacy·© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
CVE-2024-6387fixshell — Automated bash script to patch CVE-2024-6387 by compiling and installing OpenSSH 9.8p1 from source on Debian/Ubuntu systems. | Kitploit
Tools/GitHubGitHub/muyuanlove/cve-2024-6387fixshell
Vulnerability ScannersVulnerability AnalysisScripting & AutomationConfiguration Auditing
GitHubmuyuanlove/cve-2024-6387fixshell

CVE-2024-6387fixshell

Automated bash script to patch CVE-2024-6387 by compiling and installing OpenSSH 9.8p1 from source on Debian/Ubuntu systems.

View Repository
2102 years agoNot yet reviewed

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share

CVE-2024-6387fixshell

Only affects 8.5p1 <= OpenSSH < 9.8p1

Install build dependencies

sudo apt-get update
sudo apt-get install -y build-essential zlib1g-dev libssl-dev

Download specified version source code

wget https://cdn.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-9.8p1.tar.gz

Extract and enter directory

tar -xzf openssh-9.8p1.tar.gz
cd openssh-9.8p1

Compile and install

./configure
make
sudo make install

Start and verify installation

sudo systemctl restart ssh
ssh -V

Complete fix script saved as fix.sh chmod 777 fix.sh | ./fix.sh

#!/bin/bash

# Update package list
echo "Updating package list..."
sudo apt-get update

# Install build dependencies
echo "Installing build dependencies..."
sudo apt-get install -y build-essential zlib1g-dev libssl-dev

# Download specified version source code
echo "Downloading OpenSSH 9.8p1 source code..."
wget https://cdn.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-9.8p1.tar.gz

# Extract and enter directory
echo "Extracting OpenSSH 9.8p1 source code..."
tar -xzf openssh-9.8p1.tar.gz
cd openssh-9.8p1

# Compile and install
echo "Compiling and installing OpenSSH 9.8p1..."
./configure
make
sudo make install

# Start and verify installation
echo "Restarting SSH service and verifying installation..."
sudo systemctl restart ssh
ssh -V

echo "OpenSSH 9.8p1 installation completed and successfully started. -By muyuanhuck.cn"
Download Tool