class Wafalyzer::Waf::SecureSphere
- Wafalyzer::Waf::SecureSphere
- Wafalyzer::Waf
- Reference
- Object
Defined in:
wafalyzer/wafs/securesphere.crConstant Summary
-
FALLBACK_PATTERN =
/the.destination.of.your.request.has.not.been.configured/i
-
PATTERN =
Regex.union(/<h2>error<.h2>/, /<title>error<.title>/i, /<b>error<.b>/i, /<td.class="(?:errormessage|error)".height="[0-9]{1,3}".width="[0-9]{1,3}">/i, /the.incident.id.(?:is|number.is)./i, /page.cannot.be.displayed/i, /contact.support.for.additional.information/i)
Class Method Summary
Instance Method Summary
-
#matches?(response : HTTP::Client::Response) : Bool
Returns
true
if given response matches defined assertions,false
otherwise.
Instance methods inherited from class Wafalyzer::Waf
clone
clone,
product : String
product,
to_json(json : JSON::Builder)
to_json,
to_s(io : IO) : Nil
to_s
Constructor methods inherited from class Wafalyzer::Waf
find(klass : Waf.class) : Waf
find,
new(product : String)new new
Class methods inherited from class Wafalyzer::Waf
detect(response : HTTP::Client::Response) : Array(Waf)
detect,
find?(klass : Waf.class) : Waf | Nil
find?,
instances
instances,
instances=(instances : Hash(::Wafalyzer::Waf.class, Wafalyzer::Waf))
instances=
Constructor methods inherited from module Wafalyzer::Waf::DSL
new
new
Instance methods inherited from module Wafalyzer::Waf::Matcher
matches?(response : HTTP::Client::Response) : Bool
matches?
Class Method Detail
Instance Method Detail
def matches?(response : HTTP::Client::Response) : Bool
#
Description copied from module Wafalyzer::Waf::Matcher
Returns true
if given response matches defined
assertions, false
otherwise.