Sha256: 35c7b98e3671ef913275f11e5878cc472eb37523a682e275193f1df0c817f77b
Contents?: true
Size: 413 Bytes
Versions: 28
Compression:
Stored size: 413 Bytes
Contents
module Yawast module Scanner class Php def self.check_banner(banner) #don't bother if this doesn't include PHP return unless 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
28 entries across 28 versions & 1 rubygems