Module: HttpMimic::Waf
- Defined in:
- lib/http_mimic/waf.rb,
lib/http_mimic/waf/detector.rb,
lib/http_mimic/waf/akamai_solver.rb
Defined Under Namespace
Classes: AkamaiSolver, Detector
Class Method Summary collapse
Class Method Details
.solve(url, response, options = {}) ⇒ Object
9 10 11 12 13 14 15 16 17 18 19 |
# File 'lib/http_mimic/waf.rb', line 9 def solve(url, response, = {}) waf_type = Detector.detect(response) return nil unless waf_type case waf_type when :akamai AkamaiSolver.solve(url, response, ) else nil end end |