Skip to content

Commit 97caca4

Browse files
Update modules/exploits/multi/http/dotcms_file_upload_rce.rb
Co-authored-by: cdelafuente-r7 <[email protected]>
1 parent 2c02a60 commit 97caca4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/exploits/multi/http/dotcms_file_upload_rce.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ def check
8181
jsp = <<~EOS
8282
<%@ page import=\"java.io.File\" %>
8383
<%
84-
File jsp=new File(getServletContext().getRealPath(File.separator) + File.separator + "#{@jsp_file}");
84+
File jsp=new File(getServletContext().getRealPath(File.separator) + File.separator + "#{test_file}");
8585
jsp.delete();
8686
%>
8787
#{uuid}

0 commit comments

Comments
 (0)