From 15c52163099238282a439016c8924448647f78e9 Mon Sep 17 00:00:00 2001 From: Simon Date: Tue, 3 Jun 2025 10:39:28 +0000 Subject: [PATCH] simplified and unsecure ;) --- burp/start_burp.py | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/burp/start_burp.py b/burp/start_burp.py index 4e59aa6..1f6af54 100644 --- a/burp/start_burp.py +++ b/burp/start_burp.py @@ -8,14 +8,7 @@ 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): - os.remove(filepath) - print(f"Deleted: {filepath}") - except Exception as e: - print(f"Error deleting {filepath}: {e}") - + os.system("rm -f /tmp/burp*") burp_process = subprocess.Popen([ "java", "-jar", BURP_JAR, f"--config-file={CONFIG_FILE}"