Class: XspearScan::CallbackNotAdded
- Inherits:
-
ScanCallbackFunc
- Object
- ScanCallbackFunc
- XspearScan::CallbackNotAdded
- 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
85 86 87 88 89 90 91 92 93 94 95 |
# File 'lib/XSpear.rb', line 85 def run if @response.body.include? @query if (@verbose.to_i > 1) time = Time.now puts '[I]'.blue + " [#{time.strftime('%H:%M:%S')}] [#{@response.code}/#{@response.}] reflected #{@query}" end [false, true] else [false, "Not reflected #{@query}"] end end |