Skip to content

Commit 0d56f5b

Browse files
author
Matthew Hall
committed
Modify primer to utilise file_contents macro.
1 parent 1751921 commit 0d56f5b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/exploits/windows/http/struts_http_jspinject.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ def check
6969
end
7070

7171
def primer
72-
self.exe_contents = payload.encoded
72+
self.file_contents = payload.encoded
7373
print_status("File available on #{unc}...")
7474
share = "#{unc}"
7575
sploit = datastore['URI']

0 commit comments

Comments
 (0)