Skip to content

Commit 79cabc6

Browse files
committed
Fix clean up
1 parent c08993a commit 79cabc6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/exploits/multi/http/visual_mining_netcharts_upload.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ def exploit
7676
print_status("#{peer} - Uploading JSP payload #{jsp_payload}...")
7777
if upload(jsp_payload, payload.encoded)
7878
print_good("#{peer} - JSP payload uploaded successfully")
79-
register_file_for_cleanup('./webapps/Admin/archive/ArchiveCache/v6NN6211GFnwXrgO9.jsp')
79+
register_file_for_cleanup("./webapps/Admin/archive/ArchiveCache/#{jsp_payload}")
8080
else
8181
fail_with(Failure::Unknown, "#{peer} - JSP payload upload failed")
8282
end

0 commit comments

Comments
 (0)