clarity.tools.sql_tool

 1# coding=utf-8
 2from clarity.core import ClarityTool
 3from clarity.core import ClarityToolsCollection
 4
 5
 6class Sqlmap(ClarityTool):
 7    TITLE = "Sqlmap tool"
 8    DESCRIPTION = """sqlmap is an open source penetration testing tool that automates the process of 
 9detecting and exploiting SQL injection flaws and taking over of database servers.
10
11[!] python sqlmap.py -u [<http://example.com>] --batch --banner
12More Usage [!] https://github.com/sqlmapproject/sqlmap/wiki/Usage"""
13    INSTALL_COMMANDS = [
14        "git clone --depth 1 https://github.com/sqlmapproject/sqlmap.git sqlmap-dev"
15    ]
16    RUN_COMMANDS = ["cd sqlmap-dev && python sqlmap.py --wizard"]
17    PROJECT_URL = "https://github.com/sqlmapproject/sqlmap"
18
19class SqlInjectionTools(ClarityToolsCollection):
20    TITLE = "SQL Injection Tools"
21    DESCRIPTION = "This is a collection of tools for SQL Injection Attacks.\n"
22    TOOLS = [
23        Sqlmap(),
24    ]
class Sqlmap(clarity.core.ClarityTool):
 7class Sqlmap(ClarityTool):
 8    TITLE = "Sqlmap tool"
 9    DESCRIPTION = """sqlmap is an open source penetration testing tool that automates the process of 
10detecting and exploiting SQL injection flaws and taking over of database servers.
11
12[!] python sqlmap.py -u [<http://example.com>] --batch --banner
13More Usage [!] https://github.com/sqlmapproject/sqlmap/wiki/Usage"""
14    INSTALL_COMMANDS = [
15        "git clone --depth 1 https://github.com/sqlmapproject/sqlmap.git sqlmap-dev"
16    ]
17    RUN_COMMANDS = ["cd sqlmap-dev && python sqlmap.py --wizard"]
18    PROJECT_URL = "https://github.com/sqlmapproject/sqlmap"
TITLE = 'Sqlmap tool'
DESCRIPTION = 'sqlmap is an open source penetration testing tool that automates the process of \ndetecting and exploiting SQL injection flaws and taking over of database servers.\n\n[!] python sqlmap.py -u [<http://example.com>] --batch --banner\nMore Usage [!] https://github.com/sqlmapproject/sqlmap/wiki/Usage'
INSTALL_COMMANDS = ['git clone --depth 1 https://github.com/sqlmapproject/sqlmap.git sqlmap-dev']
RUN_COMMANDS = ['cd sqlmap-dev && python sqlmap.py --wizard']
PROJECT_URL = 'https://github.com/sqlmapproject/sqlmap'
class SqlInjectionTools(clarity.core.ClarityToolsCollection):
20class SqlInjectionTools(ClarityToolsCollection):
21    TITLE = "SQL Injection Tools"
22    DESCRIPTION = "This is a collection of tools for SQL Injection Attacks.\n"
23    TOOLS = [
24        Sqlmap(),
25    ]
TITLE = 'SQL Injection Tools'
DESCRIPTION = 'This is a collection of tools for SQL Injection Attacks.\n'
TOOLS = [<Sqlmap object>]