You've already forked hackingtool
mirror of
https://github.com/Z4nzu/hackingtool.git
synced 2025-06-20 06:15:54 +02:00
Refactored the whole project
List of changes + Handling information about a tool has been improved a lot by providing a `HackingTool` class, which takes care of showing the options, running the selected option, executing the required commands + This class is designed with flexibililty and simplicity in mind, so adding a new tool is a lot easier, mention TITLE, DESCRIPTION, list of INSTALL_COMMANDS, RUN_COMMANDS and PROJECT_URL and there you go... + grouping all the `HackingTool`s is also made super simpler by providing a `HackingToolsCollection` class which groups the tools into their respective categories. Just add the instances of `HackingTool` classes to the TOOLS property of the `HackingToolsCollection`. + Refactored all the tools into separate files based on their categories. + Added a READM_template.md and generate_readme.py script to automatically generate Table of contents and the list of tools available automatically. + Now each tool in the README.md points to its project url if provided. This makes it easier to visit the project from the readme.
This commit is contained in:
50
tools/exploit_frameworks.py
Normal file
50
tools/exploit_frameworks.py
Normal file
@ -0,0 +1,50 @@
|
||||
# coding=utf-8
|
||||
from core import HackingTool
|
||||
from core import HackingToolsCollection
|
||||
from tools.webattack import Web2Attack
|
||||
|
||||
|
||||
class RouterSploit(HackingTool):
|
||||
TITLE = "RouterSploit"
|
||||
DESCRIPTION = "The RouterSploit Framework is an open-source exploitation " \
|
||||
"framework dedicated to embedded devices"
|
||||
INSTALL_COMMANDS = [
|
||||
"sudo git clone https://github.com/threat9/routersploit.git",
|
||||
"cd routersploit && sudo python3 -m pip install -r requirements.txt"
|
||||
]
|
||||
RUN_COMMANDS = ["cd routersploit && sudo python3 rsf.py"]
|
||||
PROJECT_URL = "https://github.com/threat9/routersploit"
|
||||
|
||||
|
||||
class WebSploit(HackingTool):
|
||||
TITLE = "WebSploit"
|
||||
DESCRIPTION = "Websploit is an advanced MITM framework."
|
||||
INSTALL_COMMANDS = ["https://github.com/The404Hacking/websploit.git"]
|
||||
RUN_COMMANDS = ["cd websploit;python3 websploit.py"]
|
||||
PROJECT_URL = "https://github.com/The404Hacking/websploit "
|
||||
|
||||
|
||||
class Commix(HackingTool):
|
||||
TITLE = "Commix"
|
||||
DESCRIPTION = "Automated All-in-One OS command injection and exploitation " \
|
||||
"tool.\nCommix can be used from web developers, penetration " \
|
||||
"testers or even security researchers\n in order to test " \
|
||||
"web-based applications with the view to find bugs,\n " \
|
||||
"errors or vulnerabilities related to command injection " \
|
||||
"attacks.\n Usage: python commix.py [option(s)]"
|
||||
INSTALL_COMMANDS = [
|
||||
"git clone https://github.com/commixproject/commix.git commix"]
|
||||
PROJECT_URL = "https://github.com/commixproject/commix"
|
||||
|
||||
def __init__(self):
|
||||
super(Commix, self).__init__(runnable = False)
|
||||
|
||||
|
||||
class ExploitFrameworkTools(HackingToolsCollection):
|
||||
TITLE = "Exploit framework"
|
||||
TOOLS = [
|
||||
RouterSploit(),
|
||||
WebSploit(),
|
||||
Commix(),
|
||||
Web2Attack()
|
||||
]
|
Reference in New Issue
Block a user