pwn 0.5.368 → 0.5.369
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 +3 -2
- 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: ddb9e7ee3407311d3a4818e5fb8e1766e95d0cad1963be4dbb073826c7e4e9a5
|
4
|
+
data.tar.gz: fd1aab577447769da5f3f2217d98782ef5b3fbfd09dc356c6a7be57a2bc35bdf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a08c51dfee8578d5468c89d2b75b1dba462808ad596a6a2c18d388b2a51993b59d191cea417ff9917a7ba9dbb43b722cb57129a58aa31e03dad822d7c8418f4f
|
7
|
+
data.tar.gz: a23871b5b0ebbfbb0b4fb90f3d2892d2183b7964bb8710844cd992f559eac1e907466f93affcb6843969ebf21281deb81aa4b55fe4a6e743b3c467ac8e9464af
|
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.369]: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.369]: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.369]: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: 30
|
420
420
|
)
|
421
421
|
|
422
422
|
if debug
|
@@ -428,7 +428,8 @@ module PWN
|
|
428
428
|
# Return response body (assumed to be JSON)
|
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.responds_to?(:response) && e.response.respond_to?(:code) && e.response.respond_to?(:body)
|
432
433
|
rescue StandardError => e
|
433
434
|
stop(burp_obj: burp_obj) unless burp_obj.nil?
|
434
435
|
raise e
|
data/lib/pwn/version.rb
CHANGED