2026-03-15 08:25:04 +00:00
from core import HackingTool , HackingToolsCollection , console
2020-08-14 11:11:59 +00:00
2025-10-14 06:02:18 +00:00
from rich . panel import Panel
from rich . prompt import Prompt
2020-08-14 11:11:59 +00:00
class Sqlmap ( HackingTool ) :
TITLE = " Sqlmap tool "
DESCRIPTION = " sqlmap is an open source penetration testing tool that " \
2025-10-14 06:02:18 +00:00
" automates the process of detecting and exploiting SQL injection flaws " \
" and taking over database servers. [!] python3 sqlmap.py -u [http://example.com] --batch --banner. More usage: https://github.com/sqlmapproject/sqlmap/wiki/Usage "
2026-03-15 08:25:05 +00:00
INSTALL_COMMANDS = [ " git clone --depth 1 https://github.com/sqlmapproject/sqlmap.git sqlmap-dev " ]
2020-12-26 21:19:39 +00:00
RUN_COMMANDS = [ " cd sqlmap-dev;python3 sqlmap.py --wizard " ]
2020-08-14 11:11:59 +00:00
PROJECT_URL = " https://github.com/sqlmapproject/sqlmap "
2025-10-14 06:02:18 +00:00
2020-08-14 11:11:59 +00:00
class NoSqlMap ( HackingTool ) :
TITLE = " NoSqlMap "
2025-10-14 06:02:18 +00:00
DESCRIPTION = " NoSQLMap is an open source Python tool designed to audit and automate injection attacks. [*] Please install MongoDB. "
2026-03-15 08:24:03 +00:00
INSTALL_COMMANDS = [
" git clone https://github.com/codingo/NoSQLMap.git " ,
# Bug 25 fix: was "python setup.py install" (Python 2) and "python NoSQLMap"
" cd NoSQLMap && pip install --user . " ,
]
# Bug 25 fix: "python" → "python3"
RUN_COMMANDS = [ " python3 -m nosqlmap " ]
2020-08-14 11:11:59 +00:00
PROJECT_URL = " https://github.com/codingo/NoSQLMap "
class SQLiScanner ( HackingTool ) :
TITLE = " Damn Small SQLi Scanner "
2025-10-14 06:02:18 +00:00
DESCRIPTION = " DSSS is a fully functional SQL injection vulnerability scanner also supporting GET and POST parameters. Usage: python3 dsss.py -h | -u [URL] "
2020-08-14 11:11:59 +00:00
INSTALL_COMMANDS = [ " git clone https://github.com/stamparm/DSSS.git " ]
PROJECT_URL = " https://github.com/stamparm/DSSS "
def __init__ ( self ) :
2026-03-15 08:25:04 +00:00
super ( ) . __init__ ( runnable = False )
2020-08-14 11:11:59 +00:00
class Explo ( HackingTool ) :
TITLE = " Explo "
2025-10-14 06:02:18 +00:00
DESCRIPTION = " Explo is a simple tool to describe web security issues in human and machine readable format. Usage: explo [--verbose|-v] testcase.yaml | explo [--verbose|-v] examples/*.yaml "
2026-03-15 08:25:05 +00:00
INSTALL_COMMANDS = [
" git clone https://github.com/dtag-dev-sec/explo.git " ,
" cd explo && pip install --user . " ,
]
2020-08-14 11:11:59 +00:00
PROJECT_URL = " https://github.com/dtag-dev-sec/explo "
def __init__ ( self ) :
2026-03-15 08:25:04 +00:00
super ( ) . __init__ ( runnable = False )
2020-08-14 11:11:59 +00:00
class Blisqy ( HackingTool ) :
TITLE = " Blisqy - Exploit Time-based blind-SQL injection "
2025-10-14 06:02:18 +00:00
DESCRIPTION = " Blisqy helps web security researchers find time-based blind SQL injections on HTTP headers and exploit them. "
2020-08-14 11:11:59 +00:00
INSTALL_COMMANDS = [ " git clone https://github.com/JohnTroony/Blisqy.git " ]
PROJECT_URL = " https://github.com/JohnTroony/Blisqy "
def __init__ ( self ) :
2026-03-15 08:25:04 +00:00
super ( ) . __init__ ( runnable = False )
2020-08-14 11:11:59 +00:00
class Leviathan ( HackingTool ) :
TITLE = " Leviathan - Wide Range Mass Audit Toolkit "
2025-10-14 06:02:18 +00:00
DESCRIPTION = " Leviathan is a mass audit toolkit with service discovery, brute force, SQL injection detection, and custom exploit capabilities. Requires API keys. "
INSTALL_COMMANDS = [ " git clone https://github.com/leviathan-framework/leviathan.git " ,
2026-03-15 08:25:05 +00:00
" cd leviathan;pip install --user -r requirements.txt " ]
2020-08-14 11:11:59 +00:00
RUN_COMMANDS = [ " cd leviathan;python leviathan.py " ]
PROJECT_URL = " https://github.com/leviathan-framework/leviathan "
class SQLScan ( HackingTool ) :
TITLE = " SQLScan "
2025-10-14 06:02:18 +00:00
DESCRIPTION = " SQLScan is a quick web scanner to find SQL injection points. Not for educational purposes. "
INSTALL_COMMANDS = [ " sudo apt install php php-bz2 php-curl php-mbstring curl " ,
" sudo curl https://raw.githubusercontent.com/Cvar1984/sqlscan/dev/build/main.phar --output /usr/local/bin/sqlscan " ,
" chmod +x /usr/local/bin/sqlscan " ]
2020-08-14 11:11:59 +00:00
RUN_COMMANDS = [ " sudo sqlscan " ]
PROJECT_URL = " https://github.com/Cvar1984/sqlscan "
class SqlInjectionTools ( HackingToolsCollection ) :
TITLE = " SQL Injection Tools "
2025-10-14 06:02:18 +00:00
TOOLS = [ Sqlmap ( ) , NoSqlMap ( ) , SQLiScanner ( ) , Explo ( ) , Blisqy ( ) , Leviathan ( ) , SQLScan ( ) ]
if __name__ == " __main__ " :
tools = SqlInjectionTools ( )
tools . show_options ( )