Class: LibInjection::Result
- Inherits:
-
Data
- Object
- Data
- LibInjection::Result
- Defined in:
- lib/libinjection.rb
Instance Attribute Summary collapse
-
#detected ⇒ Object
readonly
Returns the value of attribute detected.
-
#fingerprint ⇒ Object
readonly
Returns the value of attribute fingerprint.
-
#type ⇒ Object
readonly
Returns the value of attribute type.
Instance Method Summary collapse
Instance Attribute Details
#detected ⇒ Object (readonly)
Returns the value of attribute detected
17 18 19 |
# File 'lib/libinjection.rb', line 17 def detected @detected end |
#fingerprint ⇒ Object (readonly)
Returns the value of attribute fingerprint
17 18 19 |
# File 'lib/libinjection.rb', line 17 def fingerprint @fingerprint end |
#type ⇒ Object (readonly)
Returns the value of attribute type
17 18 19 |
# File 'lib/libinjection.rb', line 17 def type @type end |
Instance Method Details
#detected? ⇒ Boolean
18 |
# File 'lib/libinjection.rb', line 18 def detected? = !!detected |
#sqli? ⇒ Boolean
19 |
# File 'lib/libinjection.rb', line 19 def sqli? = type == :sqli && detected? |
#xss? ⇒ Boolean
20 |
# File 'lib/libinjection.rb', line 20 def xss? = type == :xss && detected? |