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 +4 -4
- data/README.md +3 -3
- data/lib/pwn/plugins/burp_suite.rb +7 -4
- data/lib/pwn/version.rb +1 -1
- data/packer/provisioners/burpsuite.sh +6 -5
- data/third_party/burpbuddy-3.1.1-SNAPSHOT-all.jar +0 -0
- metadata +2 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1e0966f69573cedceafbda5f84238d961a4c282a707f4441f1e24e3d66198b35
|
4
|
+
data.tar.gz: 3121aa6e1955a9227a1dcfb27ca68e8215e71fda91ee281c737aafc8459ed999
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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.
|
40
|
+
pwn[v0.5.324]:001 >>> PWN.help
|
41
41
|
```
|
42
42
|
|
43
43
|
[](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.
|
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.
|
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
|
-
#
|
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
@@ -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
|
Binary file
|
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.
|
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
|