Skip to content

Commit fa0d01f

Browse files
Update modules/exploits/windows/fileformat/cve_2025_33053.rb
Co-authored-by: msutovsky-r7 <[email protected]>
1 parent 78f982e commit fa0d01f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/exploits/windows/fileformat/cve_2025_33053.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ def exploit
8383

8484
def write_url_file
8585
content = generate_url_content
86-
outfile = %(#{Rex::Text.rand_text_alphanumeric(8)}.url)
86+
outfile = if datastore['OUTFILE'] then datastore['OUTFILE'] else %(#{Rex::Text.rand_text_alphanumeric(8)}.url) end
8787
path = store_local('webdav.url', nil, content, outfile)
8888
print_status("URL file: #{path}, deliver to target's machine and wait for shell")
8989
end

0 commit comments

Comments
 (0)