Class: Scanny::Checks::HttpHeader::HeaderInjectionCheck
- Inherits:
-
Check
- Object
- Check
- Scanny::Checks::HttpHeader::HeaderInjectionCheck
show all
- Defined in:
- lib/scanny/checks/http_header/header_injection_check.rb
Instance Method Summary
collapse
Methods inherited from Check
#compiled_pattern, #issue, #strict?, #visit
Instance Method Details
#check(node) ⇒ Object
9
10
11
|
# File 'lib/scanny/checks/http_header/header_injection_check.rb', line 9
def check(node)
issue :medium, warning_message, :cwe => [20, 113]
end
|
#pattern ⇒ Object
5
6
7
|
# File 'lib/scanny/checks/http_header/header_injection_check.rb', line 5
def pattern
pattern_environment_params
end
|