Ways to Uninstall and Install sucrack Ubuntu 22.04

Updated: September 8, 2022

sucrack is a multithreaded Linux/UNIX tool for cracking local user accounts via wordlist bruteforcing su. This tool comes in handy when you’ve gained access to a low-privilege user account but are allowed to su to other users. Many su implementations require a pseudo terminal to be attached in order to take the password from the user. This can’t be easily achieved with a simple shell script. This tool, written in C, is highly efficient and can attempt multiple logins at the same time. In this tutorial, I will show you ways to install sucrack Ubuntu 22.04.

Software Requirement

  • Operating system: Ubuntu 22.04 or older versions with more than 2GB RAM
  • Privileges: Ensure that you are able to execute the sudo commands line.

Prerequisites to install sucrack on Ubuntu 22.04

Install sucrack Ubuntu 22.04

sucrack is one of the popular ways on Ubuntu now so that this tutorial will show you how to install it in various ways. Choose the one you believe is simple and easy to follow.

Install sucrack using APT

This is one of the popular ways to install any Ubuntu packages because it’s easy to follow, even if you are a newbie in Linux. Following these steps to install sucrack on your Ubuntu 22.04.

Step 1: You must update the APT package repository cache before attempting to install, update, or remove any packages. Update the APT database to download new packages from Ubuntu. Opening the terminal and executing this Linux command:

sudo apt-get update

Step 2: Install the package on Ubuntu 22.04. After updating the system, you can install sucrack Ubuntu by pasting this command into the terminal and executing it.

sudo apt -y install sucrack

Install sucrack using Aptitude

You must run this command to install Aptitude if you haven’t already done so on Ubuntu.

sudo apt -y install aptitude

Then, you can now install sucrack, just following these steps:

Step 1: The APT package repository cache needs to be updated before you try to install, update, or remove any packages. Update the APT database to download new packages from Ubuntu. Opening the terminal and executing this Linux command:

sudo apt-get update

Step 2: Start installing the packages on Ubuntu 22.04. After updating the system, you can install sucrack Ubuntu by executing this command in the terminal.

sudo aptitude -y install sucrack

Uninstall sucrack on Ubuntu 22.04

Have you ever thought about how difficult it is to uninstall an application from Ubuntu? You are mistaken; anyone can easily uninstall any program, not just a package.

If you installed sucrack using APT or Aptitude, you could uninstall sucrack on Ubuntu by running this command

sudo apt remove --auto-remove sucrack

If you want to uninstall sucrack and delete its data and dependencies, you can also run the following command:

sudo apt autoremove --purge sucrack

Conclusion

In this guide, I showed you ways to install sucrack on Ubuntu 22.04 and some ways to uninstall sucrack too. If you need any help, don’t hesitate to contact me. I’m very glad to answer them.