class Xezat::Detector::Waf
Public Instance Methods
detect(variables)
click to toggle source
# File lib/xezat/detector/waf.rb, line 6 def detect(variables) if variables.key?(:_waf_CYGCLASS_) Find.find(variables[:S]) do |file| return false if file.end_with?("#{File::SEPARATOR}waf") end return true end false end