Use single quotes consistently

bug/bundler_fix
William Vu 2015-05-07 22:39:36 -05:00
parent a066105a86
commit 2f2169af90
2 changed files with 2 additions and 2 deletions

View File

@ -17,7 +17,7 @@ module Msf::Payload::Java
def generate_stage
stage = ''
@stage_class_files.each do |path|
data = MetasploitPayloads.read("java", path)
data = MetasploitPayloads.read('java', path)
stage << ([data.length].pack("N") + data)
end
stage << [0].pack("N")

View File

@ -98,7 +98,7 @@ class Metasploit3 < Msf::Exploit::Remote
# We need this class as a wrapper to run in a thread. For some reason
# the Payload class is giving illegal access exceptions without it.
servlet = MetasploitPayloads.read("java", "metasploit", "PayloadServlet.class")
servlet = MetasploitPayloads.read('java', 'metasploit', 'PayloadServlet.class')
zip.add_file("metasploit/PayloadServlet.class", servlet)
contents = zip.pack