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

Version Path
yawast-0.7.0.beta1 lib/scanner/php.rb
yawast-0.6.0 lib/scanner/php.rb
yawast-0.6.0.beta6 lib/scanner/php.rb
yawast-0.6.0.beta5 lib/scanner/php.rb
yawast-0.6.0.beta4 lib/scanner/php.rb
yawast-0.6.0.beta3 lib/scanner/php.rb
yawast-0.6.0.beta2 lib/scanner/php.rb
yawast-0.6.0.beta1 lib/scanner/php.rb
yawast-0.5.2 lib/scanner/php.rb
yawast-0.5.1 lib/scanner/php.rb
yawast-0.5.1.beta1 lib/scanner/php.rb
yawast-0.5.0 lib/scanner/php.rb
yawast-0.5.0.beta8 lib/scanner/php.rb
yawast-0.5.0.beta7 lib/scanner/php.rb
yawast-0.5.0.beta6 lib/scanner/php.rb
yawast-0.5.0.beta5 lib/scanner/php.rb
yawast-0.5.0.beta4 lib/scanner/php.rb
yawast-0.5.0.beta3 lib/scanner/php.rb
yawast-0.5.0.beta2 lib/scanner/php.rb
yawast-0.5.0.beta1 lib/scanner/php.rb