From d0f9ff2dd0c4c7d69c2e2c96f39f5cf31b7557d2 Mon Sep 17 00:00:00 2001 From: Richard Mwewa <74001397+rly0nheart@users.noreply.github.com> Date: Wed, 25 May 2022 10:59:40 +0200 Subject: [PATCH] Delete utils directory --- utils/helper.py | 118 ------------------------------------------------ utils/misc.py | 20 -------- 2 files changed, 138 deletions(-) delete mode 100644 utils/helper.py delete mode 100644 utils/misc.py diff --git a/utils/helper.py b/utils/helper.py deleted file mode 100644 index a39559c..0000000 --- a/utils/helper.py +++ /dev/null @@ -1,118 +0,0 @@ -from utils.colors import Color - -class Help: - usageText = 'Use {} to get started' - def updateCommand(): - print(f''' -{Color.white}Update subcommands{Color.reset} -{'='*18} -{Help.usageText.format('update:')} - - Command Description - ------- ----------- - check Check for updates - install Download and install updates''') - - - def searchCommand(): - print(f''' -{Color.white}Search subcommands{Color.reset} -{'='*18} -{Help.usageText.format('search:')} - - Command Description - ------- ----------- - users Search user(s) - repos Search repositor[yies] - topics Search topic(s) - issues Search issue(s) - commits Search commit(s)''') - - - def userCommand(): - print(f''' -{Color.white}User subcommands{Color.reset} -{'='*17} -{Help.usageText.format('user:')} - - Command Description - ------- ----------- - profile Get a user's profile info - gists Return a users's gists - orgs Return organizations that a user belongs to/owns - repos Return a user's repositories - events Return a user's events - followers Return a user's followers - following Check if user[A] follows user[B] - subscriptions Return a user's subscriptions''') - - - def orgCommand(): - print(f''' -{Color.white}Org subcommands{Color.reset} -{'='*16} -{Help.usageText.format('org:')} - - Command Description - ------- ----------- - profile Get an organization's info - repos Return an organization's repositories - events Return an organization's events - member Check if a specified user is a public member of the target organization''') - - - def repoCommand(): - print(f''' -{Color.white}Repo subcommands{Color.reset} -{'='*17} -{Help.usageText.format('repo:')} - - Command Description - ------- ----------- - profile Get a repository's info - forks Return a repository's forks - releases Return a repository's releases - languages Return a repository's languages - stargazers Return a repository's stargazers - pathcontents List contents in a path of a repository''') - - - def logsCommand(): - print(f''' -{Color.white}Logs subcommands{Color.reset} -{'='*17} -{Help.usageText.format('logs:')} - - Command Description - ------- ----------- - view View logs - read Read log - delete Delete log''') - - - def helpCommand(): - print(f''' -{Color.white}Core commands{Color.reset} -{'='*13} - - {Color.white}Command Description{Color.reset} - ------- ----------- - help Help menu - exit Close session - clear Clear screen - about Program's info - author Developer's info - version Version info - - -{Color.white}Help subcommands{Color.reset} -{'='*16} -{Help.usageText.format('help:')} - - {Color.white}Command Description{Color.reset} - ------- ----------- - logs List all logs management commands - repo List all repository investigation commands - user List all users investigation commands - search List all target discovery commands - update List all program updates managememt commands''') diff --git a/utils/misc.py b/utils/misc.py deleted file mode 100644 index 83bf6e6..0000000 --- a/utils/misc.py +++ /dev/null @@ -1,20 +0,0 @@ -import os -from utils.colors import Color - -class Banner: - versionTag = '2.0.0-beta' - nameLogo = f'''{Color.white} - _______ __ _______ __ __ -| |.----.| |_.-----.| __|.--.--.|__| |_.-----. -| - || __|| _| _ ||__ || | || | _| -__| -|_______||____||____|_____||_______||_____||__|____|_____| - v{versionTag} - {Color.white}— Advanced Github {Color.red}OSINT{Color.white} Framework{Color.reset} - - -.:{Color.white}{Color.green}{os.getlogin()}{Color.reset}:. - -- {Color.white}Use {Color.green}help{Color.reset}{Color.white} command for usage{Color.reset} -- {Color.white}Commands are case insensitive{Color.reset} -{'-'*32} -'''