class

Wafalyzer::Waf::SecureSphere

Inherits Wafalyzer::Waf / Wafalyzer::Waf::DSL / Wafalyzer::Waf::Matcher / Reference / Object

Constants

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 methods

instance
Source
instance?
Source

Instance methods

matches?(response : HTTP::Client::Response) : Bool

Returns true if given response matches defined assertions, false otherwise.

Source