Sha256: 8c4f22adaa78968355846ffb692389e3beb4b27512decd1552bda90484af60fe
Contents?: true
Size: 410 Bytes
Versions: 6
Compression:
Stored size: 410 Bytes
Contents
module Yawast module Scanner class Php def self.check_banner(banner) #don't bother if this doesn't include PHP return if !banner.include? 'PHP/' modules = banner.split(' ') modules.each do |mod| if mod.include? 'PHP/' Yawast::Utilities.puts_warn "PHP Version: #{mod}" puts '' end end end end end end
Version data entries
6 entries across 6 versions & 1 rubygems