How To Install sucrack on CentOS 7

In this tutorial we learn how to install sucrack on CentOS 7. sucrack is A su cracker

Introduction

In this tutorial we learn how to install sucrack on CentOS 7.

What is sucrack

sucrack is a multithreaded Linux/UNIX tool for brute-force cracking local user accounts via su. This tool comes in handy as final instance on a system where you have not to many privileges but you are in the wheel group. Many su implementations require a pseudo terminal to be attached in order to take the password from the user. This is why you couldn’t just use a simple shell script to do this work. This tool, written in c, is highly efficient and can attempt multiple logins at the same time. Please be advised that using this tool will take a lot of the CPU performance and fill up the logs quite quickly.

We can use yum or dnf to install sucrack on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install sucrack.

Install sucrack on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install sucrack using yum by running the following command:

sudo yum -y install sucrack

Install sucrack on CentOS 7 Using dnf

If you don’t have dnf installed you can install DNF on CentOS 7 first. Update yum database with dnf using the following command.

sudo dnf makecache

After updating yum database, We can install sucrack using dnf by running the following command:

sudo dnf -y install sucrack

How To Uninstall sucrack on CentOS 7

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

sudo dnf remove sucrack

References

Summary

In this tutorial we learn how to install sucrack on CentOS 7 using yum and dnf.