owasp_zap 0.0.6 → 0.0.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/owasp_zap/version.rb +1 -1
- data/lib/owasp_zap.rb +0 -1
- data/spec/zap_spec.rb +0 -5
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6415cfc68c22461c5b18b2b7315511d7e64d9aa0
|
4
|
+
data.tar.gz: e0bbc86650835dae095481fa7576f79afa687063
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ff5f826fc805e9997b91b4283e2807fb5616d99f0ac538fdf2cb028b31b583023ae50ad482a255be2686df2473bea3cd5e31ec4b66babd69815f0063cd356bb3
|
7
|
+
data.tar.gz: 6f7a3e5418e33f26e99aa2ec36dcb4c4275d5be00d8b7bbb0a572afd702190af724a6769660a5971710f60df37d60876a7af639a03a92b3553e2c81d3678f517
|
data/lib/owasp_zap/version.rb
CHANGED
data/lib/owasp_zap.rb
CHANGED
@@ -6,7 +6,6 @@ require "cgi"
|
|
6
6
|
require_relative "owasp_zap/version"
|
7
7
|
require_relative "owasp_zap/string_extension"
|
8
8
|
require_relative "owasp_zap/spider"
|
9
|
-
require_relative "owasp_zap/scan"
|
10
9
|
require_relative "owasp_zap/attack"
|
11
10
|
require_relative "owasp_zap/alert"
|
12
11
|
require_relative "owasp_zap/auth"
|
data/spec/zap_spec.rb
CHANGED
@@ -126,11 +126,6 @@ describe "status_for" do
|
|
126
126
|
@h = Zap::Zap.new :target=>"http://127.0.0.1"
|
127
127
|
stub_request(:get, "http://127.0.0.1:8080/JSON/spider/view/status/?zapapiformat=JSON").to_return(:status => 200, :body => {:status=>"100"}.to_json, :headers => {})
|
128
128
|
stub_request(:get, "http://127.0.0.1:8080/JSON/ascan/view/status/?zapapiformat=JSON").to_return(:status => 200, :body => {:status=>"100"}.to_json, :headers => {})
|
129
|
-
stub_request(:get, "http://127.0.0.1:8080/JSON/scan/view/status/?zapapiformat=JSON").to_return(:status => 200, :body => {:status=>"100"}.to_json, :headers => {})
|
130
|
-
end
|
131
|
-
|
132
|
-
it "should create a ascan" do
|
133
|
-
@h.status_for(:scan).wont_be :nil?
|
134
129
|
end
|
135
130
|
|
136
131
|
it "should create a ascan" do
|