pwn 0.5.502 → 0.5.503
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 +9 -8
- 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: fd561ae532d36fea188dbd8a3344d5803912e45f20b100c6d2783441e52c9c7e
|
|
4
|
+
data.tar.gz: dec66439bcef3c6d8f05b2b655385923477c90060e3ef2d120858075b4b9aae1
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e24cb600887dba7365f9947c88689fb3d416517594a51deb440fba7fc13c4a5b59352ff99eab10941a70f0114b25268ae45e0aba176eb8b8d14d4ecec0f61003
|
|
7
|
+
data.tar.gz: 322e6ed5eefa780c44f5a0f459043d093cbd5d4e6915c42d1039ed6bc984f48fb2dce01894f2974164ba0fa5bb7e2c817b93cce2653d87cd19f187b64ba9a8d7
|
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.503]: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.503]: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.503]: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:
|
|
@@ -147,7 +147,11 @@ module PWN
|
|
|
147
147
|
proxy_entry[:request] == entry[:request]
|
|
148
148
|
end
|
|
149
149
|
end
|
|
150
|
-
|
|
150
|
+
|
|
151
|
+
if proxy_history_entry.is_a?(Hash) && proxy_history_entry[:comment].length.positive?
|
|
152
|
+
entry[:comment] = proxy_history_entry[:comment]
|
|
153
|
+
entry[:highlight] = proxy_history_entry[:highlight]
|
|
154
|
+
else
|
|
151
155
|
request = Base64.strict_decode64(request)
|
|
152
156
|
response = Base64.strict_decode64(response)
|
|
153
157
|
http_request_response = PWN::Plugins::Char.force_utf8("#{request}\r\n\r\n#{response}")
|
|
@@ -161,9 +165,6 @@ module PWN
|
|
|
161
165
|
|
|
162
166
|
entry[:comment] = ai_analysis
|
|
163
167
|
entry[:highlight] = get_highlight_color.call(ai_analysis: ai_analysis)
|
|
164
|
-
else
|
|
165
|
-
entry[:comment] = proxy_history_entry[:comment]
|
|
166
|
-
entry[:highlight] = proxy_history_entry[:highlight]
|
|
167
168
|
end
|
|
168
169
|
|
|
169
170
|
update_sitemap(
|
|
@@ -196,7 +197,10 @@ module PWN
|
|
|
196
197
|
end
|
|
197
198
|
end
|
|
198
199
|
|
|
199
|
-
if sitemap_entry.
|
|
200
|
+
if sitemap_entry.is_a?(Hash) && sitemap_entry[:comment].length.positive?
|
|
201
|
+
entry[:comment] = sitemap_entry[:comment]
|
|
202
|
+
entry[:highlight] = sitemap_entry[:highlight]
|
|
203
|
+
else
|
|
200
204
|
request = Base64.strict_decode64(request)
|
|
201
205
|
response = Base64.strict_decode64(response)
|
|
202
206
|
|
|
@@ -211,9 +215,6 @@ module PWN
|
|
|
211
215
|
|
|
212
216
|
entry[:comment] = ai_analysis
|
|
213
217
|
entry[:highlight] = get_highlight_color.call(ai_analysis: ai_analysis)
|
|
214
|
-
else
|
|
215
|
-
entry[:comment] = sitemap_entry[:comment]
|
|
216
|
-
entry[:highlight] = sitemap_entry[:highlight]
|
|
217
218
|
end
|
|
218
219
|
|
|
219
220
|
update_proxy_history(
|
data/lib/pwn/version.rb
CHANGED