mirror of
https://github.com/Z4nzu/hackingtool
synced 2026-05-23 08:58:22 +00:00
change wordlist_generator.py NEW(design)
This commit is contained in:
parent
19f22ecc04
commit
228d24d62e
1 changed files with 65 additions and 0 deletions
|
|
@ -1,7 +1,17 @@
|
|||
# coding=utf-8
|
||||
import os
|
||||
import subprocess
|
||||
|
||||
from rich.console import Console
|
||||
from rich.panel import Panel
|
||||
from rich.table import Table
|
||||
from rich import box
|
||||
|
||||
from core import HackingTool
|
||||
from core import HackingToolsCollection
|
||||
|
||||
console = Console()
|
||||
|
||||
|
||||
class Cupp(HackingTool):
|
||||
TITLE = "Cupp"
|
||||
|
|
@ -11,6 +21,16 @@ class Cupp(HackingTool):
|
|||
RUN_COMMANDS = ["cd cupp && python3 cupp.py -i"]
|
||||
PROJECT_URL = "https://github.com/Mebus/cupp"
|
||||
|
||||
def show_info(self):
|
||||
panel = Panel(
|
||||
f"[bold magenta]{self.TITLE}[/bold magenta]\n\n"
|
||||
f"[cyan]{self.DESCRIPTION}[/cyan]\n\n"
|
||||
f"[green]Repository:[/green] [underline blue]{self.PROJECT_URL}[/underline blue]",
|
||||
border_style="magenta",
|
||||
box=box.ROUNDED,
|
||||
)
|
||||
console.print(panel)
|
||||
|
||||
|
||||
class WlCreator(HackingTool):
|
||||
TITLE = "WordlistCreator"
|
||||
|
|
@ -22,6 +42,16 @@ class WlCreator(HackingTool):
|
|||
"cd wlcreator && sudo gcc -o wlcreator wlcreator.c && ./wlcreator 5"]
|
||||
PROJECT_URL = "https://github.com/Z4nzu/wlcreator"
|
||||
|
||||
def show_info(self):
|
||||
panel = Panel(
|
||||
f"[bold magenta]{self.TITLE}[/bold magenta]\n\n"
|
||||
f"[cyan]{self.DESCRIPTION}[/cyan]\n\n"
|
||||
f"[green]Repository:[/green] [underline blue]{self.PROJECT_URL}[/underline blue]",
|
||||
border_style="magenta",
|
||||
box=box.ROUNDED,
|
||||
)
|
||||
console.print(panel)
|
||||
|
||||
|
||||
class GoblinWordGenerator(HackingTool):
|
||||
TITLE = "Goblin WordGenerator"
|
||||
|
|
@ -31,6 +61,16 @@ class GoblinWordGenerator(HackingTool):
|
|||
RUN_COMMANDS = ["cd GoblinWordGenerator && python3 goblin.py"]
|
||||
PROJECT_URL = "https://github.com/UndeadSec/GoblinWordGenerator.git"
|
||||
|
||||
def show_info(self):
|
||||
panel = Panel(
|
||||
f"[bold magenta]{self.TITLE}[/bold magenta]\n\n"
|
||||
f"[cyan]{self.DESCRIPTION}[/cyan]\n\n"
|
||||
f"[green]Repository:[/green] [underline blue]{self.PROJECT_URL}[/underline blue]",
|
||||
border_style="magenta",
|
||||
box=box.ROUNDED,
|
||||
)
|
||||
console.print(panel)
|
||||
|
||||
|
||||
class showme(HackingTool):
|
||||
TITLE = "Password list (1.4 Billion Clear Text Password)"
|
||||
|
|
@ -46,6 +86,16 @@ class showme(HackingTool):
|
|||
RUN_COMMANDS = ["cd SMWYG-Show-Me-What-You-Got && python SMWYG.py"]
|
||||
PROJECT_URL = "https://github.com/Viralmaniar/SMWYG-Show-Me-What-You-Got"
|
||||
|
||||
def show_info(self):
|
||||
panel = Panel(
|
||||
f"[bold magenta]{self.TITLE}[/bold magenta]\n\n"
|
||||
f"[cyan]{self.DESCRIPTION}[/cyan]\n\n"
|
||||
f"[green]Repository:[/green] [underline blue]{self.PROJECT_URL}[/underline blue]",
|
||||
border_style="magenta",
|
||||
box=box.ROUNDED,
|
||||
)
|
||||
console.print(panel)
|
||||
|
||||
|
||||
class WordlistGeneratorTools(HackingToolsCollection):
|
||||
TITLE = "Wordlist Generator"
|
||||
|
|
@ -55,3 +105,18 @@ class WordlistGeneratorTools(HackingToolsCollection):
|
|||
GoblinWordGenerator(),
|
||||
showme()
|
||||
]
|
||||
|
||||
def show_info(self):
|
||||
header = Panel(f"[bold white on magenta] {self.TITLE} [/bold white on magenta]",
|
||||
border_style="magenta", box=box.DOUBLE)
|
||||
console.print(header)
|
||||
table = Table(box=box.SIMPLE, show_header=True, header_style="bold magenta")
|
||||
table.add_column("#", justify="center", style="cyan", width=4)
|
||||
table.add_column("Tool", style="bold")
|
||||
table.add_column("Description", style="dim", overflow="fold")
|
||||
|
||||
for idx, t in enumerate(self.TOOLS, start=1):
|
||||
desc = getattr(t, "DESCRIPTION", "") or ""
|
||||
table.add_row(str(idx), t.TITLE, desc)
|
||||
|
||||
console.print(table)
|
||||
|
|
|
|||
Loading…
Reference in a new issue