Class: Rack::LibInjection::Attack
- Inherits:
-
Data
- Object
- Data
- Rack::LibInjection::Attack
- Defined in:
- lib/rack/libinjection.rb
Instance Attribute Summary collapse
-
#bytes ⇒ Object
readonly
Returns the value of attribute bytes.
-
#fingerprint ⇒ Object
readonly
Returns the value of attribute fingerprint.
-
#key ⇒ Object
readonly
Returns the value of attribute key.
-
#key_name ⇒ Object
readonly
Returns the value of attribute key_name.
-
#location ⇒ Object
readonly
Returns the value of attribute location.
-
#type ⇒ Object
readonly
Returns the value of attribute type.
Instance Method Summary collapse
Instance Attribute Details
#bytes ⇒ Object (readonly)
Returns the value of attribute bytes
62 63 64 |
# File 'lib/rack/libinjection.rb', line 62 def bytes @bytes end |
#fingerprint ⇒ Object (readonly)
Returns the value of attribute fingerprint
62 63 64 |
# File 'lib/rack/libinjection.rb', line 62 def fingerprint @fingerprint end |
#key ⇒ Object (readonly)
Returns the value of attribute key
62 63 64 |
# File 'lib/rack/libinjection.rb', line 62 def key @key end |
#key_name ⇒ Object (readonly)
Returns the value of attribute key_name
62 63 64 |
# File 'lib/rack/libinjection.rb', line 62 def key_name @key_name end |
#location ⇒ Object (readonly)
Returns the value of attribute location
62 63 64 |
# File 'lib/rack/libinjection.rb', line 62 def location @location end |
#type ⇒ Object (readonly)
Returns the value of attribute type
62 63 64 |
# File 'lib/rack/libinjection.rb', line 62 def type @type end |
Instance Method Details
#detected_in_key_name? ⇒ Boolean
65 |
# File 'lib/rack/libinjection.rb', line 65 def detected_in_key_name? = !!key_name |
#sqli? ⇒ Boolean
63 |
# File 'lib/rack/libinjection.rb', line 63 def sqli? = type == :sqli |
#xss? ⇒ Boolean
64 |
# File 'lib/rack/libinjection.rb', line 64 def xss? = type == :xss |