pwn 0.5.322 → 0.5.324

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: 7eea62d63d5aca2a542137bc5e33843f932593cc739a672402c82011a34f0e12
4
- data.tar.gz: b386f87050ccb4732458c054f682814ae773b2ac707b0416c066483cde789f84
3
+ metadata.gz: 1e0966f69573cedceafbda5f84238d961a4c282a707f4441f1e24e3d66198b35
4
+ data.tar.gz: 3121aa6e1955a9227a1dcfb27ca68e8215e71fda91ee281c737aafc8459ed999
5
5
  SHA512:
6
- metadata.gz: 643a5f55c8dcd1c636a60cbe5e6d3ce66a0764a86277f855329a025713271a85bdc94dc423ae5b97346b417ae628c30ff5c4df9310079005cd44fa3a195c6ca1
7
- data.tar.gz: 5df64318d972e0e265b34047461484b179916c32e9e56034b301bb4077cb6792addb8161e1b25e39ca8a59471c36f6155d3a14bedb8276b972e1c449298656fc
6
+ metadata.gz: d28d950aa7b5dd212d04b23bc019c0dea6f8b74b914147b2a9cc91b37fb6c8b54b60201a1f9a281d67241e17032f10b4a4ccc6da05d06deaa2f697b477bef1e1
7
+ data.tar.gz: a4ebb0f34fb19a25f8bc0fba658d4fa96526b074561c3fbcfdb898a22678465312cd93844632f615c1a2f160ab4def0f135c063dd8a56144312865afee1d2021
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.322]:001 >>> PWN.help
40
+ pwn[v0.5.324]: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.322]:001 >>> PWN.help
55
+ pwn[v0.5.324]: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.322]:001 >>> PWN.help
65
+ pwn[v0.5.324]: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:
@@ -346,12 +346,15 @@ module PWN
346
346
 
347
347
  report_url = Base64.strict_encode64(target_domain)
348
348
  # Ready scanreport API call in burpbuddy to support HTML & XML report generation
349
- # report_resp = rest_browser.get(
350
- # "http://#{burpbuddy_api}/scanreport/#{report_type.to_s.upcase}/#{report_url}"
351
- # )
349
+ # This is for the older burpbuddy-3.1.1-SNAPSHOT-all.jar
352
350
  report_resp = rest_browser.get(
353
- "http://#{burpbuddy_api}/scanreport/#{report_url}"
351
+ "http://#{burpbuddy_api}/scanreport/#{report_type.to_s.upcase}/#{report_url}"
354
352
  )
353
+
354
+ # This is for the older burpbuddy-3.1.0-SNAPSHOT-all.jar
355
+ # report_resp = rest_browser.get(
356
+ # "http://#{burpbuddy_api}/scanreport/#{report_url}"
357
+ # )
355
358
  File.open(output_path, 'w') do |f|
356
359
  f.puts(report_resp.body.gsub("\r\n", "\n"))
357
360
  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.322'
4
+ VERSION = '0.5.324'
5
5
  end
@@ -8,12 +8,13 @@ grok_error
8
8
  $screen_cmd "${apt} install -y libgconf-2-4 ${assess_update_errors}"
9
9
  grok_error
10
10
 
11
- curl --silent 'https://api.github.com/repos/tomsteele/burpbuddy/releases/latest' > /tmp/latest_burpbuddy.json
12
- latest_burpbuddy_jar=$(ruby -e "require 'json'; pp JSON.parse(File.read('/tmp/latest_burpbuddy.json'), symbolize_names: true)[:assets][0][:browser_download_url]")
13
- burpbuddy_jar_url=`echo ${latest_burpbuddy_jar} | sed 's/"//g'`
14
- wget $burpbuddy_jar_url -P /tmp/
11
+ # curl --silent 'https://api.github.com/repos/tomsteele/burpbuddy/releases/latest' > /tmp/latest_burpbuddy.json
12
+ # latest_burpbuddy_jar=$(ruby -e "require 'json'; pp JSON.parse(File.read('/tmp/latest_burpbuddy.json'), symbolize_names: true)[:assets][0][:browser_download_url]")
13
+ # burpbuddy_jar_url=`echo ${latest_burpbuddy_jar} | sed 's/"//g'`
14
+ # wget $burpbuddy_jar_url -P /tmp/
15
15
  burp_root="/opt/burpsuite"
16
- sudo /bin/bash --login -c "mkdir ${burp_root} && cp /tmp/burpbuddy*.jar ${burp_root} && rm /tmp/latest_burpbuddy.json && rm /tmp/burpbuddy*.jar"
16
+ # sudo /bin/bash --login -c "mkdir ${burp_root} && cp /tmp/burpbuddy*.jar ${burp_root} && rm /tmp/latest_burpbuddy.json && rm /tmp/burpbuddy*.jar"
17
+ sudo cp /opt/pwn/third-party/burpbuddy-3.1.1-SNAPSHOT.jar $burp_root/burpbuddy-3.1.1-SNAPSHOT.jar
17
18
 
18
19
  ls $burp_root/burpbuddy*.jar | while read bb_latest; do
19
20
  sudo ln -s $bb_latest $burp_root/burpbuddy.jar
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.322
4
+ version: 0.5.324
5
5
  platform: ruby
6
6
  authors:
7
7
  - 0day Inc.
@@ -2298,6 +2298,7 @@ files:
2298
2298
  - spec/lib/pwn_spec.rb
2299
2299
  - spec/spec_helper.rb
2300
2300
  - third_party/.gitkeep
2301
+ - third_party/burpbuddy-3.1.1-SNAPSHOT-all.jar
2301
2302
  - third_party/http-request-headers-fields-large.txt
2302
2303
  - third_party/pwn_rdoc.jsonl
2303
2304
  - third_party/r2-pwn-layout