Software⏱️ 3 min read📅 2026-06-11

How to Fix: Unable to to install sslstrip in kali linux with "apt-get install sslstrip" causes error "Unable to locate package sslstrip"

Unable to install sslstrip in Kali Linux due to package not found error.

Quick Answer: Try using the Metasploit repository instead of the default Kali repository by adding the following line to your /etc/apt/sources.list file: deb http://downloads.metasploit.com/data/releases/metasploit-framework/apt lucid main.

The error 'Unable to locate package sslstrip' occurs when attempting to install the sslstrip tool in Kali Linux using apt-get. This issue affects users who have not pre-installed sslstrip or have an outdated system.

This error can be frustrating for security researchers and penetration testers who rely on sslstrip to intercept HTTPS traffic. Fortunately, this issue can be resolved by following a simple fix method.

🔍 Why This Happens

  • The primary reason for this error is that the sslstrip package has been deprecated in recent versions of Kali Linux. The package was removed from the default repositories and is no longer available for installation using apt-get.
  • Another possible cause is that the user's system is missing necessary dependencies required by the sslstrip package.

✅ Best Solutions to Fix It

Using the Metasploit Framework to install sslstrip

  1. Step 1: Open a terminal on your Kali Linux VM and navigate to the directory where you want to install sslstrip. You can do this by typing 'cd ~' or use the navigation menu.
  2. Step 2: Download the sslstrip package from the Metasploit Framework repository using the command 'wget https://www.metasploit.com/projects/sslstrip/sslstrip'.
  3. Step 3: Once downloaded, navigate to the directory where you saved the file and install it using the command 'apt-get install -f'.

Installing sslstrip from source

  1. Step 1: Clone the sslstrip repository from GitHub by running the command 'git clone https://github.com/marcosem/sslstrip.git'.
  2. Step 2: Navigate to the cloned repository using the command 'cd sslstrip' and build the package using the command 'make'.

🎯 Final Words

After following one of the above methods, you should be able to successfully install sslstrip in your Kali Linux VM. Remember to update your system after installation to ensure all packages are up-to-date.

Did this fix your problem?

If not, try searching for specific error codes.

🔍 Search Error Database

❓ Frequently Asked Questions