Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion src/gui.py
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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")
Expand Down Expand Up @@ -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)
Expand Down
Loading