lib/commands/cms.rb in yawast-0.7.0 vs lib/commands/cms.rb in yawast-0.7.1
- old
+ new
@@ -2,11 +2,14 @@
module Yawast
module Commands
class Cms
def self.process(args, options)
- uri = Yawast::Commands::Utils.extract_uri(args)
- Yawast::Scanner::Core.get_cms(uri, options)
+ args.each do |arg|
+ uri = Yawast::Commands::Utils.extract_uri([arg])
+
+ Yawast::Scanner::Core.get_cms(uri, options)
+ end
end
end
end
end