Skip to content

Commit 4392912

Browse files
Merge pull request #11 from ProjectZeroDays/locate-app-file
Locate the app file for this app
2 parents 7bef184 + 3de5513 commit 4392912

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/gui.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# This file contains the main GUI implementation for the app
2+
13
import tkinter as tk
24
from tkinter import ttk, messagebox
35
import os
@@ -17,6 +19,7 @@
1719
from tkinter import tooltip
1820

1921
class C2Dashboard:
22+
# This class integrates with other components like the AI model and chatbot assistant
2023
def __init__(self, root):
2124
self.root = root
2225
self.root.title("C2 Dashboard")
@@ -176,7 +179,7 @@ def deploy_exploit(self):
176179
if device_info:
177180
phone_regex = re.compile(r'\+?1?\d{9,15}')
178181
email_regex = re.compile(r'[\w\.-]+@[\w\.-]+')
179-
ip_port_regex = re.compile(r'(\d{1,3}\.){3}\d{1,3}:\d+')
182+
ip_port_regex = re.compile(r'(\d{1,3}\.){3}\d{1,3}:\d{1,3}')
180183

181184
phone_numbers = phone_regex.findall(device_info)
182185
emails = email_regex.findall(device_info)

0 commit comments

Comments
 (0)