File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
modules/exploits/multi/http Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ module Msf::Payload::Java
17
17
def generate_stage
18
18
stage = ''
19
19
@stage_class_files . each do |path |
20
- data = MetasploitPayloads . read ( " java" , path )
20
+ data = MetasploitPayloads . read ( ' java' , path )
21
21
stage << ( [ data . length ] . pack ( "N" ) + data )
22
22
end
23
23
stage << [ 0 ] . pack ( "N" )
Original file line number Diff line number Diff line change @@ -98,7 +98,7 @@ def upload_exec(session,rpath)
98
98
99
99
# We need this class as a wrapper to run in a thread. For some reason
100
100
# the Payload class is giving illegal access exceptions without it.
101
- servlet = MetasploitPayloads . read ( " java" , " metasploit" , " PayloadServlet.class" )
101
+ servlet = MetasploitPayloads . read ( ' java' , ' metasploit' , ' PayloadServlet.class' )
102
102
zip . add_file ( "metasploit/PayloadServlet.class" , servlet )
103
103
104
104
contents = zip . pack
You can’t perform that action at this time.
0 commit comments