Class: Yawast::Scanner::Php
- Inherits:
-
Object
- Object
- Yawast::Scanner::Php
- Defined in:
- lib/scanner/php.rb
Class Method Summary collapse
Class Method Details
.check_banner(banner) ⇒ Object
4 5 6 7 8 9 10 11 12 13 14 15 16 |
# File 'lib/scanner/php.rb', line 4 def self.() #don't bother if this doesn't include PHP return if !.include? 'PHP/' modules = .split(' ') modules.each do |mod| if mod.include? 'PHP/' Yawast::Utilities.puts_warn "PHP Version: #{mod}" puts '' end end end |