Karkinos
Penetration Testing and Hacking CTF's Swiss Army Knife with: Reverse Shell Handling - Encoding/Decoding - Encryption/Decryption - Cracking Hashes / Hashing
Install / Use
/learn @helich0pper/KarkinosREADME
Disclaimer
This is an OLD project I did in university... all code was improvised as I progressed, and hardly anything was planned. This tool should be used on applications/networks that you have permission to attack only. Any misuse or damage caused will be solely the users’ responsibility. <br>
What is Karkinos?
Karkinos is a light-weight 'Swiss Army Knife' for penetration testing and/or hacking CTF's. Karkinos was made for a university Web Development project; feel free to add any features :) <br>
Currently, Karkinos offers the following:
- Encoding/Decoding characters
- Encrypting/Decrypting text or files
- 3 Modules
- Cracking and generating hashes
Dependencies
- Any server capable of hosting PHP
- Tested with PHP 7.4.9
- Tested with Python 3.8 <br>
Make sure it is in your path as: <br>
Windows:
python<br> Linux:python3<br> If it is not, change the commands inincludes/pid.php. - Pip3
- Raspberry Pi Zero friendly :) (crack hashes at your own risk)
Newest Feature
New Module
Port Scanning Demo
More information can be found in the Modules section. <br> <br>
![]()
Installing
This installation guide assumes you have all the dependencies. A Wiki page with troubleshooting steps can be found <a href="https://helich0pper.github.io/karkinos/" target="_blank">here</a>.
Linux/BSD
A video going through these steps can be found here <br>
git clone https://github.com/helich0pper/Karkinos.gitcd Karkinospip3 install -r requirements.txtcd wordlists && unzip passlist.zipYou can also unzip it manually using file explorer. Just make sure passlist.txt is in wordlists directory.Make sure you have write privileges for db/main.db- Enable
extension=sqlite3in your php.ini file. You will also need to install it usingsudo apt-get install php7.0-sqlite3. Replace "7.0" with your PHP version!php --version<br> Note: MySQLi is used to store statistics such as the total number of cracked hashes. - Thats it! Now just host it using your preferred web server that supports multithreading eg. Apache Server or Nginx. <br>
Warning: Using the built in web server
php -S 127.0.0.1:8888in the Karkinos directory uses a single thread. You will only be able to use 1 module at a time! (it may stall until the task is complete) <br> <br> Important: using port 5555, 5556, or 5557 will conflict with the Modules <br> If you insist on using these ports, change thePORTvalue in:
/bin/Server/app.py Line 87/bin/Busting/app.py Line 155/bin/PortScan/app.py Line 128
Windows
git clone https://github.com/helich0pper/Karkinos.gitcd Karkinospip3 install -r requirements.txtcd wordlists && unzip passlist.zip<br> You can also unzip it manually using file explorer. Just make sure passlist.txt is in wordlists directory.Make sure you have write privileges for db/main.db- Enable
extension=php_sqlite3.dllin your php.ini file. Refer to the installation page here.<br> Note: MySQLi is used to store statistics such as the total number of cracked hashes. - Thats it! Now just host it using your preferred web server that supports multithreading eg. Apache Server or Nginx. <br>
Warning: Using the built in web server
php -S 127.0.0.1:8888in the Karkinos directory uses a single thread. You will not be able to multitask modules! (it may stall until the task is complete) <br> <br> Important: using port 5555, 5556, or 5557 will conflict with the Modules <br> If you insist on using these ports, change thePORTvalue in:
/bin/Server/app.py Line 87/bin/Busting/app.py Line 155/bin/PortScan/app.py Line 128
Demo
Open screenshots in full screen for a better view
Home Menu
Landing page and quick access menu. <br>
<br>
User stats are displayed here. Currently, the stats recorded are only the total hashes and hash types cracked successfully. <br>
<br>
Encoding/Decoding
This page allows you to encode/decode in common formats (more may be added soon) <br>
<br>
Encrypt/Decrypt
Encrypting and decrypting text or files is made easy and is fully trusted since it is done locally. <br>
<br>
Modules
More modules will be added. <br>
<br>
Reverse Shell Handling
Reverse shells can be captured and interacted with on this page. <br>
Create a listener instance
<br>
Configure the listener
<br>
Start the listener and capture a shell
<br>
Full reverse shell handling demo:
Directory and File Busting
Create an instance
<br>
Configure it
<br>
Start scanning
<br>
Full Directory and File Busting demo:
Port Scanning
Launch the scanner
<br>
Configure it
<br>
Start scanning
<br>
Full Port Scanning Demo:
Generating Hashes
Karkinos can generate commonly used hashes such as:
- MD5
- SHA1
- SHA256
- SHA512
<br>
<br>
Cracking Hashes
Karkinos offers the option to simultaneously crack hashes using a built-in wordlist consisting of over 15 million common and breached passwords. This list can easily be modified and/or completely replaced. <br>
<br>
Future Work
Pull requests and bug reports are always appreciated. <br> Below are features to be added/fixed:
- Creating a Wiki page to help customize Karkinos or troubleshoot common issues
Find me on
<a href="https://twitter.com/helich0pper">Twitter</a>
