pwn 0.5.333 → 0.5.334
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/pwn/plugins/burp_suite.rb +10 -2
- data/lib/pwn/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 375ab3244887b53df33e1290e24a53213e9f512db5167e0f4745aebc172799a8
|
4
|
+
data.tar.gz: 70b5ac470ef512935e96b89b9866b0fad44ccbe3d9af578c61c83d162561861e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 28c56a5f7e5b3b7316ec074779d42758a0bf55d8bccbb1059f4ad3a5b615e5709a9f8f0fe23ac9ceb943b40f7149146464c8f73ee741c1bddec402385d2e17a3
|
7
|
+
data.tar.gz: 775c7e70da1d7182d2d9c64ab6bbe0a3d48d2af1e4a9f241c8f9915e5d132a46b9356aaf519315a47316fcdbf2bc0a5cb4f73add677a82bb4f3a09e13f04d2ad
|
@@ -618,7 +618,7 @@ module PWN
|
|
618
618
|
use_https = false
|
619
619
|
use_https = true if json_protocol == 'https'
|
620
620
|
|
621
|
-
|
621
|
+
print "Adding #{json_uri} to Active Scan"
|
622
622
|
active_scan_url_arr.push(json_uri)
|
623
623
|
post_body = {
|
624
624
|
host: json_host,
|
@@ -627,7 +627,15 @@ module PWN
|
|
627
627
|
request: json_req
|
628
628
|
}.to_json
|
629
629
|
# Kick off an active scan for each given page in the json_sitemap results
|
630
|
-
rest_browser.post(
|
630
|
+
resp = rest_browser.post(
|
631
|
+
"http://#{pwn_burp_api}/scan/active",
|
632
|
+
post_body,
|
633
|
+
content_type: 'application/json'
|
634
|
+
)
|
635
|
+
puts " => #{resp.code}"
|
636
|
+
rescue RestClient::ExceptionWithResponse => e
|
637
|
+
puts " => #{e.response.code}"
|
638
|
+
next
|
631
639
|
end
|
632
640
|
|
633
641
|
# Wait for scan completion
|
data/lib/pwn/version.rb
CHANGED