Class: XspearScan::CallbackStringMatch
- Inherits:
-
ScanCallbackFunc
- Object
- ScanCallbackFunc
- XspearScan::CallbackStringMatch
- Defined in:
- lib/XSpear.rb
Instance Method Summary collapse
Methods inherited from ScanCallbackFunc
Constructor Details
This class inherits a constructor from XspearScan::ScanCallbackFunc
Instance Method Details
#run ⇒ Object
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 |