How To Install weevely on Debian 12

Learn how to install weevely on Debian 12 with this tutorial. weevely is Stealth tiny web shell

Introduction

In this tutorial we learn how to install weevely on Debian 12.

What is weevely

weevely is:

Weevely is a stealth PHP web shell that simulate telnet-like connection. It is an essential tool for web application post exploitation, and can be used as stealth backdoor or as a web shell to manage legit web accounts, even free hosted ones.

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

Install weevely Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install weevely

Install weevely Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install weevely

Install weevely 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 Debian. Update apt database with aptitude using the following command.

sudo aptitude update

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

sudo aptitude -y install weevely

How To Uninstall weevely on Debian 12

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

sudo apt-get remove weevely

Uninstall weevely And Its Dependencies

To uninstall weevely and its dependencies that are no longer needed by Debian 12, we can use the command below:

sudo apt-get -y autoremove weevely

Remove weevely Configurations and Data

To remove weevely configuration and data from Debian 12 we can use the following command:

sudo apt-get -y purge weevely

Remove weevely configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge weevely

Dependencies

weevely have the following dependencies:

References

Summary

In this tutorial we learn how to install weevely package on Debian 12 using different package management tools: apt, apt-get and aptitude.