How To Install phishery on Kali Linux

In this tutorial we learn how to install phishery on Kali Linux. phishery is Basic Auth Credential Harvester with Word Doc Template Injector

Introduction

In this tutorial we learn how to install phishery on Kali Linux.

What is phishery

phishery is:

This package contains a Simple SSL Enabled HTTP server with the primary purpose of phishing credentials via Basic Authentication. The power of phishery is best demonstrated by setting a Word document’s template to a phishery URL. This causes Microsoft Word to make a request to the URL, resulting in an Authentication Dialog being shown to the end-user. The ability to inject any .docx file with a URL is possible using phishery’s -i [in docx], -o [out docx], and -u [url] options.

There are three methods to install phishery on Kali Linux. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install phishery Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install phishery using apt-get by running the following command:

sudo apt-get -y install phishery

Install phishery Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install phishery using apt by running the following command:

sudo apt -y install phishery

Install phishery Using aptitude

If you want to follow this method, you might need to install aptitude on Kali Linux first since aptitude is usually not installed by default on Kali Linux. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install phishery using aptitude by running the following command:

sudo aptitude -y install phishery

How To Uninstall phishery on Kali Linux

To uninstall only the phishery package we can use the following command:

sudo apt-get remove phishery

Uninstall phishery And Its Dependencies

To uninstall phishery and its dependencies that are no longer needed by Kali Linux, we can use the command below:

sudo apt-get -y autoremove phishery

Remove phishery Configurations and Data

To remove phishery configuration and data from Kali Linux we can use the following command:

sudo apt-get -y purge phishery

Remove phishery configuration, data, and all of its dependencies

We can use the following command to remove phishery configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge phishery

Dependencies

phishery have the following dependencies:

References

Summary

In this tutorial we learn how to install phishery package on Kali Linux using different package management tools: apt, apt-get and aptitude.