simplified and unsecure ;)
This commit is contained in:
@@ -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}"
|
||||
|
||||
Reference in New Issue
Block a user