Upload files to "/"
This commit is contained in:
12
README.md
Normal file
12
README.md
Normal file
@ -0,0 +1,12 @@
|
||||
Defensive Cyber Operations AI
|
||||
|
||||
This tool helps a threat hunting to make sure they are checking their boxes and observices all possibilities that an attacker can use on their terrain. This bot will help with managing how to threat hunting while giving helpful advice and keeping track of what you have looked at. All of this knowledge is made possible from the amazing support I have been given. learning from my current role, SEC504, FOR508, 13Cubed and many more have allowed me to give this amazing information in one central location.
|
||||
|
||||
|
||||
# Directions
|
||||
|
||||
check off what you have looked at by pressing the number
|
||||
-# to uncheck section
|
||||
ex. -1 will uncheck 1
|
||||
#! will highlight section
|
||||
ex. 1! will highlight 1
|
22
dco.py
22
dco.py
@ -1,19 +1,13 @@
|
||||
from Modules.Imports.all_imports import *
|
||||
from Protocols.menu import MENU_OPTIONS as BASE_MENU_OPTIONS
|
||||
from TTPs.menu import MENU_OPTIONS as BASE_MENU_OPTIONS
|
||||
|
||||
if __name__ == "__main__":
|
||||
box_name = get_box_name()
|
||||
target_ip = get_target_ip() # Ask for the IP before anything else
|
||||
if target_ip: # Ensure the IP is valid before proceeding
|
||||
OPEN_PORTS = scan_ports(target_ip, box_name) # Pass the valid IP and capture open ports
|
||||
|
||||
# Update MENU_OPTIONS to pass necessary arguments
|
||||
MENU_OPTIONS = {
|
||||
key: {
|
||||
**value,
|
||||
"submenu": value["submenu"], # Pass the actual function
|
||||
}
|
||||
for key, value in BASE_MENU_OPTIONS.items()
|
||||
MENU_OPTIONS = {
|
||||
key: {
|
||||
**value,
|
||||
"submenu": value["submenu"], # Pass the actual function
|
||||
}
|
||||
for key, value in BASE_MENU_OPTIONS.items()
|
||||
}
|
||||
|
||||
display_menu(MENU_OPTIONS, OPEN_PORTS, target_ip) # Display the dynamic menu
|
||||
display_menu(MENU_OPTIONS) # Display the dynamic menu
|
||||
|
Reference in New Issue
Block a user