diff --git a/src/gui.py b/src/gui.py index 52cac8d..fbb9cc3 100644 --- a/src/gui.py +++ b/src/gui.py @@ -1,3 +1,5 @@ +# This file contains the main GUI implementation for the app + import tkinter as tk from tkinter import ttk, messagebox import os @@ -17,6 +19,7 @@ from tkinter import tooltip class C2Dashboard: + # This class integrates with other components like the AI model and chatbot assistant def __init__(self, root): self.root = root self.root.title("C2 Dashboard") @@ -176,7 +179,7 @@ def deploy_exploit(self): if device_info: phone_regex = re.compile(r'\+?1?\d{9,15}') email_regex = re.compile(r'[\w\.-]+@[\w\.-]+') - ip_port_regex = re.compile(r'(\d{1,3}\.){3}\d{1,3}:\d+') + ip_port_regex = re.compile(r'(\d{1,3}\.){3}\d{1,3}:\d{1,3}') phone_numbers = phone_regex.findall(device_info) emails = email_regex.findall(device_info)