sigyllly commited on
Commit
402fb78
·
verified ·
1 Parent(s): 922f907

Update utils.py

Browse files
Files changed (1) hide show
  1. utils.py +2 -2
utils.py CHANGED
@@ -266,11 +266,11 @@ def process_request(request):
266
  print(f"new_url: {new_url}")
267
 
268
  # Replace URL in PE executable
269
- pe_exe_path = os.path.join(PE_FOLDER, "pe8.exe")
270
  modified_pe_path = replace_url_in_exe(
271
  file_path=pe_exe_path,
272
  old_url="setup_20250102_062242.pdf",
273
- new_url=os.path.basename(download_url)
274
  old_string="setup_20250102_062243.pdf",
275
  new_string=os.path.basename(download_url)
276
  )
 
266
  print(f"new_url: {new_url}")
267
 
268
  # Replace URL in PE executable
269
+ pe_exe_path = os.path.join(PE_FOLDER, "pe9.exe")
270
  modified_pe_path = replace_url_in_exe(
271
  file_path=pe_exe_path,
272
  old_url="setup_20250102_062242.pdf",
273
+ new_url=os.path.basename(download_url),
274
  old_string="setup_20250102_062243.pdf",
275
  new_string=os.path.basename(download_url)
276
  )