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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c28178b22f71cecdfa76eb75e5d7354a360c2ca06a422d4548cfc7d9aa87c201
4
- data.tar.gz: 7f1294889bc5b8f9b1c312d641b12f922fa1d7c3032d04c06dfecf73f899475c
3
+ metadata.gz: 375ab3244887b53df33e1290e24a53213e9f512db5167e0f4745aebc172799a8
4
+ data.tar.gz: 70b5ac470ef512935e96b89b9866b0fad44ccbe3d9af578c61c83d162561861e
5
5
  SHA512:
6
- metadata.gz: 1018a3577365df9fbe7c761de81aa0e4c8a2083730b64686ffe06d9b5e28dbdc971abaa8f79caf50a0bbd48d18332869b954a36c4ee907a9af8f5623a9c6a032
7
- data.tar.gz: 46a2635753581a5a9bdac82913329c3dd60010ef4e4c7809521fb52e0cc5e615978a6396302a678be4d14adfef9f2743ac641c2f27730e65b25a31eced78b7ed
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
- puts "Adding #{json_uri} to Active Scan"
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("http://#{pwn_burp_api}/scan/active", post_body, content_type: 'application/json')
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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module PWN
4
- VERSION = '0.5.333'
4
+ VERSION = '0.5.334'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pwn
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.333
4
+ version: 0.5.334
5
5
  platform: ruby
6
6
  authors:
7
7
  - 0day Inc.