Class: XspearScan::CallbackStringMatch

Inherits:
ScanCallbackFunc show all
Defined in:
lib/XSpear.rb

Instance Method Summary collapse

Methods inherited from ScanCallbackFunc

#initialize

Constructor Details

This class inherits a constructor from XspearScan::ScanCallbackFunc

Instance Method Details

#runObject



75
76
77
78
79
80
81
# File 'lib/XSpear.rb', line 75

def run
  if @response.body.include? @query
    [true, "reflected #{@query}"]
  else
    [false, "not reflected #{@query}"]
  end
end