hotfix
This commit is contained in:
@@ -8,7 +8,6 @@ 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*'):
|
for filepath in glob.glob('/tmp/burp*'):
|
||||||
try:
|
try:
|
||||||
if os.path.isfile(filepath):
|
if os.path.isfile(filepath):
|
||||||
@@ -17,10 +16,10 @@ def start_burp():
|
|||||||
except Exception as e:
|
except Exception as e:
|
||||||
print(f"Error deleting {filepath}: {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}"
|
||||||
])
|
])
|
||||||
return burp_process
|
return burp_process
|
||||||
|
|
||||||
print("Starting Burp Suite...")
|
print("Starting Burp Suite...")
|
||||||
|
|||||||
Reference in New Issue
Block a user