mirror of
https://github.com/Z4nzu/hackingtool
synced 2024-11-15 04:05:29 +00:00
eaa920a7e3
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.
75 lines
2.5 KiB
Python
75 lines
2.5 KiB
Python
# coding=utf-8
|
|
import os
|
|
import subprocess
|
|
|
|
from core import HackingTool
|
|
from core import HackingToolsCollection
|
|
|
|
|
|
class InstaBrute(HackingTool):
|
|
TITLE = "Instagram Attack"
|
|
DESCRIPTION = "Brute force attack against Instagram"
|
|
INSTALL_COMMANDS = [
|
|
"sudo git clone https://github.com/chinoogawa/instaBrute.git",
|
|
"cd instaBrute;sudo pip install -r requirements.txt"
|
|
]
|
|
PROJECT_URL = "https://github.com/chinoogawa/instaBrute"
|
|
|
|
def run(self):
|
|
name = input("Enter Username >> ")
|
|
wordlist = input("Enter wordword list >> ")
|
|
os.system("cd instaBrute;")
|
|
subprocess.run(
|
|
["sudo", "python", "instaBrute.py", "-u", f"{name}", "-d",
|
|
f"{wordlist}"])
|
|
|
|
|
|
class BruteForce(HackingTool):
|
|
TITLE = "AllinOne SocialMedia Attack"
|
|
DESCRIPTION = "Brute_Force_Attack Gmail Hotmail Twitter Facebook Netflix \n" \
|
|
"[!] python3 Brute_Force.py -g <Account@gmail.com> -l <File_list>"
|
|
INSTALL_COMMANDS = [
|
|
"sudo git clone https://github.com/Matrix07ksa/Brute_Force.git",
|
|
"cd Brute_Force;sudo pip3 install proxylist;pip3 install mechanize"
|
|
]
|
|
RUN_COMMANDS = ["cd Brute_Force;python3 Brute_Force.py -h"]
|
|
PROJECT_URL = "https://github.com/Matrix07ksa/Brute_Force"
|
|
|
|
|
|
class Faceshell(HackingTool):
|
|
TITLE = "Facebook Attack"
|
|
DESCRIPTION = "Facebook BruteForcer"
|
|
INSTALL_COMMANDS = [
|
|
"sudo git clone https://github.com/Matrix07ksa/Brute_Force.git",
|
|
"cd Brute_Force;sudo pip3 install proxylist;pip3 install mechanize"
|
|
]
|
|
PROJECT_URL = "https://github.com/Matrix07ksa/Brute_Force"
|
|
|
|
def run(self):
|
|
name = input("Enter Username >> ")
|
|
wordlist = input("Enter Wordlist >> ")
|
|
os.system("cd Brute_Force;")
|
|
subprocess.run(
|
|
["python3", "Brute_Force.py", "-f", f"{name}", "-l", f"{wordlist}"])
|
|
|
|
|
|
class AppCheck(HackingTool):
|
|
TITLE = "Application Checker"
|
|
DESCRIPTION = "Tool to check if an app is installed on the target device through a link."
|
|
INSTALL_COMMANDS = [
|
|
"sudo git clone https://github.com/jakuta-tech/underhanded.git",
|
|
"cd underhanded && sudo chmod +x underhanded.sh"
|
|
]
|
|
RUN_COMMANDS = ["cd underhanded;sudo bash underhanded.sh"]
|
|
PROJECT_URL = "https://github.com/jakuta-tech/underhanded"
|
|
|
|
|
|
class SocialMediaBruteforceTools(HackingToolsCollection):
|
|
TITLE = "SocialMedia Bruteforce"
|
|
TOOLS = [
|
|
InstaBrute(),
|
|
BruteForce(),
|
|
Faceshell(),
|
|
AppCheck()
|
|
]
|