simplified and unsecure ;)

This commit is contained in:
Simon
2025-06-03 10:39:28 +00:00
parent 58cff87274
commit 15c5216309

View File

@@ -8,14 +8,7 @@ BURP_JAR = "/headless/burpsuite_community.jar"
CONFIG_FILE = "/app/burp/project_options.json" CONFIG_FILE = "/app/burp/project_options.json"
def start_burp(): def start_burp():
for filepath in glob.glob('/tmp/burp*'): os.system("rm -f /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}")
burp_process = subprocess.Popen([ burp_process = subprocess.Popen([
"java", "-jar", BURP_JAR, "java", "-jar", BURP_JAR,
f"--config-file={CONFIG_FILE}" f"--config-file={CONFIG_FILE}"