lib/owasp_zap.rb in owasp_zap-0.0.92 vs lib/owasp_zap.rb in owasp_zap-0.0.93
- old
+ new
@@ -9,10 +9,11 @@
require_relative "owasp_zap/string_extension"
require_relative "owasp_zap/spider"
require_relative "owasp_zap/attack"
require_relative "owasp_zap/alert"
require_relative "owasp_zap/auth"
+require_relative "owasp_zap/scanner"
module OwaspZap
class ZapException < Exception;end
class Zap
@@ -55,9 +56,13 @@
def alerts
Zap::Alert.new(:base=>@base,:target=>@target)
end
+ def scanner
+ Zap::Scanner.new(:base=>@base)
+ end
+
#attack
def ascan
Zap::Attack.new(:base=>@base,:target=>@target)
end