How To Install desproxy on Kali Linux

In this tutorial we learn how to install desproxy on Kali Linux. desproxy is tunnel TCP traffic through a HTTP proxy

Introduction

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

What is desproxy

Browsers (in general HTTP clients) use HTTP proxies to request web pages. The proxy forwards those request to the destination server. All the negotiation is done via the HTTP protocol, which is designed just to carry HTTP requests and no generic (TCP/IP) traffic. That is why you can’t (normally) use Internet applications beside your browser if you are behind a HTTP proxy.

That is what desproxy is good for. Desproxy is a TCP tunnel, which means desproxy can forward TCP/IP traffic via a HTTP proxy. Desproxy uses a HTTP/1.1 method (CONNECT) to establish TCP/IP connections on demand. CONNECT is used for SSL connections when accessing to secure sites. So if you can access sites that support SSL (www.hotmail.com for example) you can use desproxy.

There are three ways to install desproxy 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 desproxy Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install desproxy

Install desproxy Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install desproxy

Install desproxy Using aptitude

If you want to follow this method, you might need to install aptitude 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 desproxy using aptitude by running the following command:

sudo aptitude -y install desproxy

How To Uninstall desproxy on Kali Linux

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

sudo apt-get remove desproxy

Uninstall desproxy And Its Dependencies

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

sudo apt-get -y autoremove desproxy

Remove desproxy Configurations and Data

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

sudo apt-get -y purge desproxy

Remove desproxy configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge desproxy

References

Summary

In this tutorial we learn how to install desproxy using different package management tools like apt, apt-get and aptitude.