import colors sys.path.append(os.path.join(os.getcwd(), "..", "..", "src")) import requires from var import global_vars ########################### #SECTION 1 - IMPORTS ########################### try: import telnetlib #HERE except ModuleNotFoundError: colors.PrintColor("WARN", "Unable to find 'telnetlib', install?") #HERE ans = input("[Y/N] ") if ans.lower() == "y": requires.install('telnetlib') #HERE import telnetlib else: colors.PrintColor("FAIL", "'telnetlib' is a dependency!") #HERE input() ########################### #SECTION 2 - ABOUT ########################### name = "" description = ''' The telnet plugin helps with probing the telnet authentication service to determine valid credentials.\ This is a simple plugin that comes with the default 'broot' framework. ''' author = "" version = "1.0"
sys.path.append(os.path.join(os.getcwd(), "..", "..", "src")) import sys import os from printlib import * import requires import requests import urllib3 urllib3.disable_warnings(urllib3.exceptions.InsecureRequestWarning) try: from bs4 import BeautifulSoup except ModuleNotFoundError: print_warn("Unable to find 'bs4', install?") ans = input("[Y/N] ") if ans.lower() == "y": requires.install('bs4') from bs4 import BeautifulSoup else: print_fail("'bs4' is a dependency!") input() ################### #ABOUT SECTION ################### name = "pfsense" description = ''' The pfense plugin helps with probing the pfense web GUI authentication service to determine valid credentials.\ This is a simple plugin that comes with the default 'broot' framework. ''' author = "midnightseer" version = "1.0"
sys.path.append(os.path.join(os.getcwd(), "..", "..", "src")) from printlib import * import requires from var import global_vars ########################### #SECTION 1 - PLUGIN IMPORTS ########################### try: import imaplib #HERE except ModuleNotFoundError: print_warn("Unable to find 'imaplib', install?") #HERE ans = input("[Y/N] ") if ans.lower() == "y": requires.install('imaplib') #HERE import rdpy else: print_fail("'imaplib' is a dependency!") #HERE input() ########################### #SECTION 2 - ABOUT ########################### name = "" description = ''' The IMAP plugin allows you to test credentials using the python3 imap library ''' author = "midnightseer" version = "1.0" art = r"""
import sys sys.path.append(os.path.join(os.getcwd(), "..", "..", "src")) import os from printlib import * import requires from var import global_vars try: import paramiko except ModuleNotFoundError: print_warn("Unable to find 'paramiko', install?") ans = input("[Y/N] ") if ans.lower() == "y": requires.install('paramiko') import paramiko else: print_fail("'Paramiko' is a dependency!") input() ################### #ABOUT SECTION ################### name = "ssh broot-forcer" description = ''' The SSH plugin helps with probing the ssh authentication service to determine valid credentials.\ This is a simple plugin that comes with the default 'broot' framework. ''' author = "midnightseer" version = "1.0" art = ''' $$\
sys.path.append(os.path.join(os.getcwd(), "..", "..", "src")) import requires from var import global_vars, system_vars MODULE_NAME = __file__.split("/")[len(__file__.split("/"))-1] ########################### #SECTION 1 - Module IMPORTS ########################### try: import <new_module_here> #HERE except ModuleNotFoundError: print_warn("WARN", "Unable to find '<new_module_here>', install?") #HERE ans = input("[Y/N] ") if ans.lower() == "y": requires.install('<new_module_here>') #HERE import <new_module_here> else: print_fail("'<new_module_here>' is a dependency!") #HERE input() ########################### #SECTION 2 - ABOUT ########################### name = "" description = ''' The <example> plugin helps with probing the ssh authentication service to determine valid credentials.\ This is a simple plugin that comes with the default 'broot' framework. ''' author = "" version = "1.0"
#This file a list of all the common variables available to any given import os import sys import requires import importlib from time import sleep from printlib import * try: from prettytable import PrettyTable except ModuleNotFoundError: print_warn("Unable to find 'Prettytable', install?") ans = input("[Y/N] ") if ans.lower() == "y": requires.install('prettytable') from prettytable import PrettyTable else: print_fail("'Prettytable' is a dependency") input() #GLOBALS global_cmds = {} global_vars = { 'threads': { "Name": "Threads", "Value": 1, "Type": 'Integer', "Default": 1, "Help": "Amount of concurrent threads to run. High values may slow down your computer.",