Class: Yawast::Scanner::Plugins::Servers::Python
- Inherits:
-
Object
- Object
- Yawast::Scanner::Plugins::Servers::Python
- Defined in:
- lib/scanner/plugins/servers/python.rb
Class Method Summary collapse
Class Method Details
.check_banner(banner) ⇒ Object
8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 |
# File 'lib/scanner/plugins/servers/python.rb', line 8 def self.() Yawast::Shared::Output.log_hash 'vulnerabilities', 'python_version_exposed', {vulnerable: false, version: nil} # don't bother if this doesn't include Python return unless .include? 'Python/' Yawast::Utilities.puts_warn "Python Version: #{}" puts '' Yawast::Shared::Output.log_hash 'vulnerabilities', 'python_version_exposed', {vulnerable: true, version: } end |