pwn 0.5.320 → 0.5.321

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: 3345d8d2650b34e2e1f18b2bb66d02fc9cbd24805bb115fb395b161c5a0133e7
4
- data.tar.gz: a2dbe1818c8bba10dc03aec5d518191fc001d1803787c643e7a403853e9ff2bf
3
+ metadata.gz: 349ddd1370a5b868db2bdae174401fb63b8ada6e60cd8b78c97cbe45a2c90176
4
+ data.tar.gz: 57ee03f785c621c45dc2447210dde1436ccc1a35058afc8b6bae14d0a4f69844
5
5
  SHA512:
6
- metadata.gz: dd4c499818137e8cfb71c8633199367cb33653b1bf284ef483f5ac5c2e75d4a5f43051072eaed10c90350a43b23ffab3941b300cdb544494aa6df4a81763ea14
7
- data.tar.gz: c69355e3035a7d3833a12f1a3d0f4ea3c40420e53c3e000f0a6aa51889216933b190060aec48529d678b7790ee2d97ad937f79341ef13f562cabe74bc58a9952
6
+ metadata.gz: 2aa9651cc3d56c99fa1c95700c2ce682845329d95acb3eb3c7dfe783a2fd82f0a50bc49b7ef327a0d5adae021b8190a8d8cd84f652e80f5d2c3878ab87396658
7
+ data.tar.gz: 96e3d1cf3940d2ec27c35d6340f2201d30e8550607f95db2aa34793b7194f14fd3983caa7e382da29c6eb96a14ffa93ff43edff552d6edf463509280ca3be316
data/README.md CHANGED
@@ -37,7 +37,7 @@ $ cd /opt/pwn
37
37
  $ ./install.sh
38
38
  $ ./install.sh ruby-gem
39
39
  $ pwn
40
- pwn[v0.5.320]:001 >>> PWN.help
40
+ pwn[v0.5.321]:001 >>> PWN.help
41
41
  ```
42
42
 
43
43
  [![Installing the pwn Security Automation Framework](https://raw.githubusercontent.com/0dayInc/pwn/master/documentation/pwn_install.png)](https://youtu.be/G7iLUY4FzsI)
@@ -52,7 +52,7 @@ $ rvm use ruby-3.4.4@pwn
52
52
  $ gem uninstall --all --executables pwn
53
53
  $ gem install --verbose pwn
54
54
  $ pwn
55
- pwn[v0.5.320]:001 >>> PWN.help
55
+ pwn[v0.5.321]:001 >>> PWN.help
56
56
  ```
57
57
 
58
58
  If you're using a multi-user install of RVM do:
@@ -62,7 +62,7 @@ $ rvm use ruby-3.4.4@pwn
62
62
  $ rvmsudo gem uninstall --all --executables pwn
63
63
  $ rvmsudo gem install --verbose pwn
64
64
  $ pwn
65
- pwn[v0.5.320]:001 >>> PWN.help
65
+ pwn[v0.5.321]:001 >>> PWN.help
66
66
  ```
67
67
 
68
68
  PWN periodically upgrades to the latest version of Ruby which is reflected in `/opt/pwn/.ruby-version`. The easiest way to upgrade to the latest version of Ruby from a previous PWN installation is to run the following script:
@@ -209,10 +209,11 @@ module PWN
209
209
 
210
210
  next unless json_host == target_domain_name && json_port == target_port
211
211
 
212
+ # More info on the BurpBuddy API can be found here:
213
+ # https://github.com/tomsteele/burpbuddy/blob/master/src/main/kotlin/burp/API.kt
212
214
  puts "Adding #{json_uri} to Active Scan"
213
215
  active_scan_url_arr.push(json_uri)
214
- # post_body = "{ \"host\": \"#{json_host}\", \"port\": \"#{json_port}\", \"useHttps\": #{use_https}, \"request\": \"#{json_req['raw']}\" }"
215
- post_body = "{ \"host\": \"#{json_host}\", \"port\": \"#{json_port}\", \"useHttps\": \"#{use_https}\", \"request\": \"#{json_req['raw']}\" }"
216
+ post_body = "{ \"host\": \"#{json_host}\", \"port\": \"#{json_port}\", \"use_https\": #{use_https}, \"request\": \"#{json_req['raw']}\" }"
216
217
  # Kick off an active scan for each given page in the json_sitemap results
217
218
  rest_browser.post("http://#{burpbuddy_api}/scan/active", post_body, content_type: 'application/json')
218
219
  end
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.320'
4
+ VERSION = '0.5.321'
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.320
4
+ version: 0.5.321
5
5
  platform: ruby
6
6
  authors:
7
7
  - 0day Inc.