pwn 0.5.370 → 0.5.372
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/.rubocop.yml +1 -1
- data/README.md +3 -3
- data/lib/pwn/plugins/burp_suite.rb +8 -3
- 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: 30f6af2864825daf73f441f4514d403f6ec8285c1aca533f12478897d311517d
|
4
|
+
data.tar.gz: d403f602bcf9dfc75d57d11cc96ab5a9fffc8cda9fcf81ef0dbc557c3a355ea1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 28741ba677e71a721874d623f6876e3ea68f8437ff58e102d45ba66f627b531bbcb788cd1d5997151b5f012b0e6a061fad98129a405af244b6dd0b3c4e712170
|
7
|
+
data.tar.gz: 842169d61f868c45c9c68259abe9cf547e559176a314a29a5d75e5a2702921e0a99c611f84237b0b85a1ebd8edf2d14d5012a327da26fa80fa0586dd9f1f9035
|
data/.rubocop.yml
CHANGED
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.372]: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.372]: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.372]: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:
|
@@ -416,7 +416,7 @@ module PWN
|
|
416
416
|
url: "http://#{pwn_burp_api}/sitemap",
|
417
417
|
payload: sitemap.to_json,
|
418
418
|
headers: { content_type: 'application/json; charset=UTF-8' },
|
419
|
-
timeout:
|
419
|
+
timeout: 10
|
420
420
|
)
|
421
421
|
|
422
422
|
if debug
|
@@ -429,7 +429,7 @@ module PWN
|
|
429
429
|
JSON.parse(response.body, symbolize_names: true)
|
430
430
|
rescue RestClient::ExceptionWithResponse => e
|
431
431
|
puts "ERROR: Failed to add to sitemap: #{e.message}"
|
432
|
-
puts "HTTP error adding to sitemap: Status #{e.response.code}, Response: #{e.response.body}" if e.
|
432
|
+
puts "HTTP error adding to sitemap: Status #{e.response.code}, Response: #{e.response.body}" if e.respond_to?(:response) && e.response.respond_to?(:code) && e.response.respond_to?(:body)
|
433
433
|
rescue StandardError => e
|
434
434
|
stop(burp_obj: burp_obj) unless burp_obj.nil?
|
435
435
|
raise e
|
@@ -765,7 +765,12 @@ module PWN
|
|
765
765
|
end
|
766
766
|
end
|
767
767
|
|
768
|
-
sitemap_arr.each
|
768
|
+
sitemap_arr.each do |sitemap|
|
769
|
+
add_to_sitemap(burp_obj: burp_obj, sitemap: sitemap)
|
770
|
+
rescue RestClient::ExceptionWithResponse => e
|
771
|
+
puts e.message
|
772
|
+
next
|
773
|
+
end
|
769
774
|
|
770
775
|
sitemap_arr
|
771
776
|
rescue StandardError => e
|
data/lib/pwn/version.rb
CHANGED