Skip to content

Commit

Permalink
Sponsors page (#211)
Browse files Browse the repository at this point in the history
* added sponsors page to cli

* edits to logo
  • Loading branch information
Cx01N authored Aug 29, 2021
1 parent b9e49e4 commit 6d12019
Show file tree
Hide file tree
Showing 4 changed files with 73 additions and 1 deletion.
6 changes: 5 additions & 1 deletion empire/client/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
from empire.client.src.menus.UsePluginMenu import use_plugin_menu
from empire.client.src.menus.UseStagerMenu import use_stager_menu
from empire.client.src.menus.UseCredentialMenu import use_credential_menu
from empire.client.src.menus.SponsorsMenu import sponsors_menu
from empire.client.src.utils import print_util


Expand Down Expand Up @@ -101,7 +102,8 @@ def __init__(self) -> None:
'PluginMenu': plugin_menu,
'UsePluginMenu': use_plugin_menu,
'AdminMenu': admin_menu,
'ChatMenu': chat_menu
'ChatMenu': chat_menu,
'SponsorsMenu': sponsors_menu
}
for menu in self.menus.values():
state.register_menu(menu)
Expand Down Expand Up @@ -236,6 +238,8 @@ def parse_command_line(self, text: str, cmd_line: List[str], resource_file=False
menu_state.current_menu.send_chat(text)
elif text.strip() == 'agents':
menu_state.push(self.menus['AgentMenu'])
elif text.strip() == 'sponsors':
menu_state.push(self.menus['SponsorsMenu'])
elif text.strip() == 'credentials':
menu_state.push(self.menus['CredentialMenu'])
elif text.strip() == 'plugins':
Expand Down
1 change: 1 addition & 0 deletions empire/client/src/menus/MainMenu.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,7 @@ def help(self):
help_list.append(['credentials', 'Add/display credentials to/from the database.', 'credentials'])
help_list.append(['admin', 'View admin menu', 'admin'])
help_list.append(['interact', 'Interact with active listeners.', 'interact <agent_name>'])
help_list.append(['sponsors', 'List of Empire sponsors.', 'sponsors'])

help_list.sort()
help_list.insert(0, ['Name', 'Description', 'Usage'])
Expand Down
1 change: 1 addition & 0 deletions empire/client/src/menus/Menu.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ def autocomplete(self):
'listeners',
'main',
'plugins',
'sponsors',
'uselistener',
'usemodule',
'useplugin',
Expand Down
Loading

0 comments on commit 6d12019

Please sign in to comment.