
Introduction
In this tutorial we learn how to install shellnoob on Kali Linux.
What is shellnoob
shellnoob is:
Features:
* convert shellcode between different formats and sources. Formats
currently supported: asm, bin, hex, obj, exe, C, Python, ruby, pretty,
safeasm, completec, shellstorm. (All details in the “Formats description”
section.)
* interactive asm-to-opcode conversion (and viceversa) mode. This is
useful when you cannot use specific bytes in the shellcode and you want
to figure out if a specific assembly instruction will cause problems.
* support for both ATT & Intel syntax. Check the –intel switch.
* support for 32 and 64 bits (when playing on x86_64 machine). Check
the –64 switch.
* resolve syscall numbers, constants, and error numbers
* portable and easily deployable (it only relies on gcc/as/objdump and
Python) And it just one self-contained Python script!
* in-place development: you run ShellNoob directly on the target
architecture
* built-in support for Linux/x86, Linux/x86_64, Linux/ARM, FreeBSD/x86,
FreeBSD/x86_64.
* “prepend breakpoint” option. Check the -c switch.
* read from stdin / write to stdout support (use “-” as filename)
* uber cheap debugging: check the –to-strace and –to-gdb option!
* Use ShellNoob as a Python module in your scripts! Check the “ShellNoob
as a library” section.
* Verbose mode shows the low-level steps of the conversion: useful to
debug / understand / learn
* Extra plugins: binary patching made easy with the –file-patch,
–vm-patch, –fork-nopper options
There are three methods to install shellnoob 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 shellnoob Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get update
After updating apt database, We can install shellnoob using apt-get by running the following command:
sudo apt-get -y install shellnoob
Install shellnoob Using apt
Update apt database with apt using the following command.
sudo apt update
After updating apt database, We can install shellnoob using apt by running the following command:
sudo apt -y install shellnoob
Install shellnoob Using aptitude
If you want to follow this method, you might need to install aptitude on Kali Linux 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 shellnoob using aptitude by running the following command:
sudo aptitude -y install shellnoob
How To Uninstall shellnoob on Kali Linux
To uninstall only the shellnoob package we can use the following command:
sudo apt-get remove shellnoob
Uninstall shellnoob And Its Dependencies
To uninstall shellnoob and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove shellnoob
Remove shellnoob Configurations and Data
To remove shellnoob configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge shellnoob
Remove shellnoob configuration, data, and all of its dependencies
We can use the following command to remove shellnoob configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge shellnoob
Dependencies
shellnoob have the following dependencies:
References
Summary
In this tutorial we learn how to install shellnoob package on Kali Linux using different package management tools: apt, apt-get and aptitude.
