How To Install neopi on Ubuntu 18.04

In this tutorial we learn how to install neopi on Ubuntu 18.04. neopi is web shell code detection

Introduction

In this tutorial we learn how to install neopi on Ubuntu 18.04.

What is neopi

neopi is:

NeoPI is a Python script that uses a variety of statistical methods to detect obfuscated and encrypted content within text/script files.

The intended purpose of NeoPI is to aid in the detection of hidden web shell code.

The development focus of NeoPI was creating a tool that could be used in conjunction with other established detection methods such as Linux Malware Detect or traditional signature/keyword based searches.

NeoPI recursively scans through the file system from a base directory and will rank files based on the results of a number of tests. It also presents a “general” score derived from file rankings within the individual tests.

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

Install neopi Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install neopi

Install neopi Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install neopi

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

sudo aptitude update

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

sudo aptitude -y install neopi

How To Uninstall neopi on Ubuntu 18.04

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

sudo apt-get remove neopi

Uninstall neopi And Its Dependencies

To uninstall neopi and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove neopi

Remove neopi Configurations and Data

To remove neopi configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge neopi

Remove neopi configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge neopi

References

Summary

In this tutorial we learn how to install neopi package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.