bug/bundler_fix
Erik Lenoir 2017-08-26 17:52:11 +02:00
parent 682851ac59
commit a8067070f2
1 changed files with 2 additions and 1 deletions

View File

@ -61,7 +61,7 @@ class MetasploitModule < Msf::Post
when 'unix', 'linux', 'bsd', 'osx'
files = gathernix
else
print_error("Incompatible platform.")
print_error("Incompatible platform")
end
if files.nil? || files.empty?
print_error("No settings.xml file found")
@ -97,6 +97,7 @@ class MetasploitModule < Msf::Post
print_status("Try to find url from id...")
realm = ""
xml_doc.xpath("//mirror[id = '#{id}']").each do |mirror|
realm = mirror.xpath("url").text
print_status("Found url in mirror : #{realm}")