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"
|
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}"
|
||||||
|
|||||||
Reference in New Issue
Block a user