pwn 0.4.818 → 0.4.820
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -2
- data/bin/pwn_www_uri_buster +8 -0
- data/lib/pwn/reports/uri_buster.rb +8 -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: d8df5d7c582978e8fa4ecfc81eec8c26a92c1f2e0cd928c9ed70a84b7acb7898
|
4
|
+
data.tar.gz: 56ea7c8f855ffd418e2270444e00d9e061bc3c4ded6d2b4551b935f92a174f0b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2d43f7e04a180f628addbdb453efd553e4700c582d2392c79e1f48d576fffeccf18a590ceb2000a357c32e4165d533da35318f55c75f7debcf774933006696a6
|
7
|
+
data.tar.gz: 00d38ba7c69d76481491df2f86530513a8f8553bd8b7ad83562eb832df80b321df4f43e38bd3bb7eee064fa521618154e1d7d0103aaaaa3d0d56f840528aeca8
|
data/README.md
CHANGED
@@ -37,7 +37,7 @@ $ rvm use ruby-3.2.2@pwn
|
|
37
37
|
$ rvm list gemsets
|
38
38
|
$ gem install --verbose pwn
|
39
39
|
$ pwn
|
40
|
-
pwn[v0.4.
|
40
|
+
pwn[v0.4.820]: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.2.2@pwn
|
|
52
52
|
$ gem uninstall --all --executables pwn
|
53
53
|
$ gem install --verbose pwn
|
54
54
|
$ pwn
|
55
|
-
pwn[v0.4.
|
55
|
+
pwn[v0.4.820]:001 >>> PWN.help
|
56
56
|
```
|
57
57
|
|
58
58
|
|
data/bin/pwn_www_uri_buster
CHANGED
@@ -103,6 +103,7 @@ def request_path(opts = {})
|
|
103
103
|
http_method: http_method,
|
104
104
|
http_resp_code: response.code,
|
105
105
|
http_resp_length: response.body.length,
|
106
|
+
http_resp_headers: response.headers,
|
106
107
|
http_resp: "#{response.body[0..300]}..."
|
107
108
|
}
|
108
109
|
rescue Errno::ECONNREFUSED
|
@@ -117,6 +118,7 @@ def request_path(opts = {})
|
|
117
118
|
http_method: http_method,
|
118
119
|
http_resp_code: e.class,
|
119
120
|
http_resp_length: 'N/A',
|
121
|
+
http_resp_headers: 'N/A',
|
120
122
|
http_resp: e.class
|
121
123
|
}
|
122
124
|
rescue RestClient::ExceptionWithResponse => e
|
@@ -127,6 +129,7 @@ def request_path(opts = {})
|
|
127
129
|
http_method: http_method,
|
128
130
|
http_resp_code: e.response.code,
|
129
131
|
http_resp_length: e.response.body.length,
|
132
|
+
http_resp_headers: e.response.headers,
|
130
133
|
http_resp: "#{e.response.body[0..300]}..."
|
131
134
|
}
|
132
135
|
else
|
@@ -136,6 +139,7 @@ def request_path(opts = {})
|
|
136
139
|
http_method: http_method,
|
137
140
|
http_resp_code: 'N/A',
|
138
141
|
http_resp_length: 'N/A',
|
142
|
+
http_resp_headers: 'N/A',
|
139
143
|
http_resp: 'N/A'
|
140
144
|
}
|
141
145
|
end
|
@@ -149,6 +153,10 @@ def request_path(opts = {})
|
|
149
153
|
retry
|
150
154
|
rescue RestClient::TooManyRequests
|
151
155
|
sleep 60
|
156
|
+
ensure
|
157
|
+
browser_obj = PWN::Plugins::TransparentBrowser.close(
|
158
|
+
browser_obj: browser_obj
|
159
|
+
)
|
152
160
|
end
|
153
161
|
|
154
162
|
rest_client_resp_hash
|
@@ -100,7 +100,8 @@ module PWN
|
|
100
100
|
<a class="toggle-vis" data-column="3" href="#">HTTP Method</a> |
|
101
101
|
<a class="toggle-vis" data-column="4" href="#">HTTP Response Code</a> |
|
102
102
|
<a class="toggle-vis" data-column="5" href="#">HTTP Response Length</a> |
|
103
|
-
<a class="toggle-vis" data-column="6" href="#">HTTP Response</a> |
|
103
|
+
<a class="toggle-vis" data-column="6" href="#">HTTP Response Headers</a> |
|
104
|
+
<a class="toggle-vis" data-column="7" href="#">HTTP Response Body</a> |
|
104
105
|
</div>
|
105
106
|
<br /><br />
|
106
107
|
|
@@ -114,7 +115,8 @@ module PWN
|
|
114
115
|
<th>HTTP Method</th>
|
115
116
|
<th>HTTP Response Code</th>
|
116
117
|
<th>HTTP Response Length</th>
|
117
|
-
<th>HTTP Response
|
118
|
+
<th>HTTP Response Headers</th>
|
119
|
+
<th>HTTP Response Body (300 bytes)</th>
|
118
120
|
</tr>
|
119
121
|
</thead>
|
120
122
|
<!-- DataTables <tbody> -->
|
@@ -182,6 +184,10 @@ module PWN
|
|
182
184
|
"data": "http_resp_length",
|
183
185
|
"render": $.fn.dataTable.render.text()
|
184
186
|
},
|
187
|
+
{
|
188
|
+
"data": "http_resp_headers",
|
189
|
+
"render": $.fn.dataTable.render.text()
|
190
|
+
},
|
185
191
|
{
|
186
192
|
"data": "http_resp",
|
187
193
|
"render": $.fn.dataTable.render.text()
|
data/lib/pwn/version.rb
CHANGED