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:
46
tools/other_tools.py
Normal file
46
tools/other_tools.py
Normal file
@ -0,0 +1,46 @@
|
||||
# coding=utf-8
|
||||
import os
|
||||
import subprocess
|
||||
|
||||
from core import HackingTool
|
||||
from core import HackingToolsCollection
|
||||
from tools.others.android_attack import AndroidAttackTools
|
||||
from tools.others.email_verifier import EmailVerifyTools
|
||||
from tools.others.hash_crack import HashCrackingTools
|
||||
from tools.others.homograph_attacks import IDNHomographAttackTools
|
||||
from tools.others.mix_tools import MixTools
|
||||
from tools.others.payload_injection import PayloadInjectorTools
|
||||
from tools.others.socialmedia import SocialMediaBruteforceTools
|
||||
from tools.others.socialmedia_finder import SocialMediaFinderTools
|
||||
from tools.others.web_crawling import WebCrawlingTools
|
||||
from tools.others.wifi_jamming import WifiJammingTools
|
||||
|
||||
|
||||
class HatCloud(HackingTool):
|
||||
TITLE = "HatCloud(Bypass CloudFlare for IP)"
|
||||
DESCRIPTION = "HatCloud build in Ruby. It makes bypass in CloudFlare for " \
|
||||
"discover real IP."
|
||||
INSTALL_COMMANDS = ["git clone https://github.com/HatBashBR/HatCloud.git"]
|
||||
PROJECT_URL = "https://github.com/HatBashBR/HatCloud"
|
||||
|
||||
def run(self):
|
||||
site = input("Enter Site >> ")
|
||||
os.system("cd HatCloud;")
|
||||
subprocess.run(["sudo", "ruby", "hatcloud.rb", "-b", site])
|
||||
|
||||
|
||||
class OtherTools(HackingToolsCollection):
|
||||
TITLE = "Other tools"
|
||||
TOOLS = [
|
||||
SocialMediaBruteforceTools(),
|
||||
AndroidAttackTools(),
|
||||
HatCloud(),
|
||||
IDNHomographAttackTools(),
|
||||
EmailVerifyTools(),
|
||||
HashCrackingTools(),
|
||||
WifiJammingTools(),
|
||||
SocialMediaFinderTools(),
|
||||
PayloadInjectorTools(),
|
||||
WebCrawlingTools(),
|
||||
MixTools()
|
||||
]
|
Reference in New Issue
Block a user