Cryptosploit
A decryption/decoding/cracking tool using various modules.
To use it, you need to have basic knowledge of cryptography.
Table of Contents
π¨
Installation Guide
We recommend you to install cryptosploit in a python virtual environment, but you can also install cryptosploit on the main system.
With python virtual environment
python -m venv venv
source venv/bin/activate
pip install git+https://github.com/SNESEAR/cryptosploit.git --upgrade
deactivate
On main system with sudo
sudo pip install git+https://github.com/SNESEAR/cryptosploit.git --upgrade
We use sudo
to allow setup.py
to add cryptosploit to /usr/bin
.
On main system
Alternatively, you can install cryptosploit without sudo and modify your $PATH.
pip install git+https://github.com/SNESEAR/cryptosploit.git --upgrade
echo "export PATH=$PATH:~/.local/bin" >> ~/.bashrc
π€
What is this?
Cryptosploit is a new module-based cryptographic tool, it designed to become a tool for automating a lot of routine work with various scripts. You can use it to solve different cryptographic tasks.
In fact, it is a large library of tools. You don't need a directory with gigabytes of cryptographic tools. You mustn't keep in mind all the flags and modes in the cli tools anymore. Cryptosploit will do it for you :Π
πββοΈ
Running Cryptosploit
Very simple way of usage:
Read more about any command
crsconsole> help
Documented commands (type help <topic>):
========================================
cd exit get help run search set shell unset use
crsconsole> help search
Search modules by keyword.
Example: search rot
You can search modules by regular expressions
crsconsole> search hash
[>] Founded:
hashes.cracker
Then just type use founded.module
crsconsole> use hashes.cracker
[>] Module loaded successfully
Get and set module variables
crsconsole (hashes.cracker)> get
ββββββββββββββββββββββ€ββββββββββ€βββββββββββββββββββββββββββββββββββββββββββββββββββ
β Name β Value β Description β
ββββββββββββββββββββββͺββββββββββͺβββββββββββββββββββββββββββββββββββββββββββββββββββ‘
β default_cracker β hashcat β Default program to crack hashes (hashcat/john). β
β β β You must install one of these tools. β
ββββββββββββββββββββββΌββββββββββΌβββββββββββββββββββββββββββββββββββββββββββββββββββ€
β mode β help β Operation mode. May be crack/help/advanced. β
β β β Just type run. Advanced users can β
β β β pass all the arguments in extra_flags β
ββββββββββββββββββββββΌββββββββββΌβββββββββββββββββββββββββββββββββββββββββββββββββββ€
β hash_file β β Path to file with hash. β
ββββββββββββββββββββββΌββββββββββΌβββββββββββββββββββββββββββββββββββββββββββββββββββ€
β wordlist β β Path to wordlist. β
β β β For example, '/usr/share/wordlists/rockyou.txt' β
ββββββββββββββββββββββΌββββββββββΌβββββββββββββββββββββββββββββββββββββββββββββββββββ€
β identify_hash_type β true β We will try to identify hash type β
β β β and pass most possible type in hash_mode β
β β β use 'run' again to try next possible type β
ββββββββββββββββββββββΌββββββββββΌβββββββββββββββββββββββββββββββββββββββββββββββββββ€
β hash_mode β β Mode of your hash for you program. β
β β β For example, '0' (like in hashcat) β
ββββββββββββββββββββββΌββββββββββΌβββββββββββββββββββββββββββββββββββββββββββββββββββ€
β extra_flags β β Add your own flags. β
β β β For example, '--save-memory=1 --fork=10' β
ββββββββββββββββββββββΌββββββββββΌβββββββββββββββββββββββββββββββββββββββββββββββββββ€
β path_to_binary β β Specify the path to your program. β
β β β For example, '/usr/bin/hashcat' β
β β β Must contain hashcat/john β
ββββββββββββββββββββββ§ββββββββββ§βββββββββββββββββββββββββββββββββββββββββββββββββββ
crsconsole (hashes.cracker)> set mode advanced
[>] Setting mode -> advanced
crsconsole (hashes.cracker)> set extra_flags -a 3 -m 0 hash_to_crack ?a?a?a?a?a?a
[>] Setting extra_flags -> -a 3 -m 0 hash_to_crack ?a?a?a?a?a?a
Type run to execute module functionality
crsconsole (hashes.cracker)> run
π»
Modules
As you have already read, this tool is module-based, that's why it is still in development. We want to extend our module's database.
Anybody can write their own module in any programming language and add it to cryptosploit using a very simple and convenient API in python. Visit our modules github wiki to get details about module writing.