Skip to content

Commit 2f2169a

Browse files
committed
Use single quotes consistently
1 parent a066105 commit 2f2169a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/msf/core/payload/java.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ module Msf::Payload::Java
1717
def generate_stage
1818
stage = ''
1919
@stage_class_files.each do |path|
20-
data = MetasploitPayloads.read("java", path)
20+
data = MetasploitPayloads.read('java', path)
2121
stage << ([data.length].pack("N") + data)
2222
end
2323
stage << [0].pack("N")

modules/exploits/multi/http/axis2_deployer.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ def upload_exec(session,rpath)
9898

9999
# We need this class as a wrapper to run in a thread. For some reason
100100
# 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')
102102
zip.add_file("metasploit/PayloadServlet.class", servlet)
103103

104104
contents = zip.pack

0 commit comments

Comments
 (0)