This commit is contained in:
Simon
2025-06-03 10:38:16 +00:00
parent e51de99853
commit 58cff87274

View File

@@ -8,7 +8,6 @@ BURP_JAR = "/headless/burpsuite_community.jar"
CONFIG_FILE = "/app/burp/project_options.json"
def start_burp():
for filepath in glob.glob('/tmp/burp*'):
try:
if os.path.isfile(filepath):
@@ -17,10 +16,10 @@ def start_burp():
except Exception as e:
print(f"Error deleting {filepath}: {e}")
burp_process = subprocess.Popen([
"java", "-jar", BURP_JAR,
f"--config-file={CONFIG_FILE}"
])
burp_process = subprocess.Popen([
"java", "-jar", BURP_JAR,
f"--config-file={CONFIG_FILE}"
])
return burp_process
print("Starting Burp Suite...")