pwn 0.5.162 → 0.5.164
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +3 -3
- data/bin/pwn_www_uri_buster +1 -0
- data/lib/pwn/plugins/transparent_browser.rb +6 -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: 8f78ea5b6f4385d8d1958510be2beea8dbf58c86b1c13da7d500f098dcaaad45
|
4
|
+
data.tar.gz: f216cdba12537f7888f0847e31d2783e8f9be38431e69698647b349415e53ef7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '08cbd80147f31a23b2ad0f379aba358afe96290658447a2060adcb7a58b4e1e19f73aef265e0a1b9627b7394d443bcb59bdf510bc2998eec16f23d281ede83a8'
|
7
|
+
data.tar.gz: 90e4389b63a5869249995a543b89563fedb28b2529f4efce3b163f628341fefb33fb130487f522ddf4bcb112d7eba2dcd15318e56e157f6ae9e26db87b19e892
|
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.164]: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.3.1@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.164]: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.3.1@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.164]: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:
|
data/bin/pwn_www_uri_buster
CHANGED
@@ -232,6 +232,7 @@ begin
|
|
232
232
|
|
233
233
|
http_methods = %i[DELETE GET HEAD OPTIONS PATCH POST PUT TRACE].shuffle
|
234
234
|
http_methods.each do |http_method|
|
235
|
+
# TODO: Implement HTTP response timeout
|
235
236
|
rest_client_resp_hash = request_path(
|
236
237
|
target_url: target_url,
|
237
238
|
proxy: proxy,
|
@@ -335,16 +335,14 @@ module PWN
|
|
335
335
|
|
336
336
|
public_class_method def self.close(opts = {})
|
337
337
|
browser_obj = opts[:browser_obj]
|
338
|
+
browser = browser_obj[:browser]
|
339
|
+
tor_obj = browser_obj[:tor_obj]
|
338
340
|
|
339
|
-
|
340
|
-
|
341
|
-
|
342
|
-
|
341
|
+
PWN::Plugins::Tor.stop(tor_obj: browser_obj[:tor_obj]) if tor_obj
|
342
|
+
|
343
|
+
# Close the browser unless browser.nil? (thus the &)
|
344
|
+
browser&.close unless browser.to_s == 'RestClient'
|
343
345
|
|
344
|
-
unless browser_obj[:browser].to_s.include?('RestClient')
|
345
|
-
# Close the browser unless this_browser_obj.nil? (thus the &)
|
346
|
-
browser_obj[:browser]&.close
|
347
|
-
end
|
348
346
|
nil
|
349
347
|
rescue StandardError => e
|
350
348
|
raise e
|
data/lib/pwn/version.rb
CHANGED