pwn 0.5.161 → 0.5.163
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 +2 -1
- data/lib/pwn/plugins/transparent_browser.rb +2 -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: 8e92e4afa29b64aeb0f637997a141a37e14583f67fbc2e25102adb4341ce429b
|
4
|
+
data.tar.gz: d619e2fa3517d6c2a4b1006047f66564b44ca6da090f0bd2f140a7059899216a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a76ed168c818975c5a685dd997f41ed69cc2e632aa5ef0b108ad1d053a8a8c167783e40d05c3702b41fb45b9fd01c96d0f77c11cd9ef8ed7e1a5e50b6f6f0dd0
|
7
|
+
data.tar.gz: d61cf3de8474f63bc02bfddc4b9ab7bef7e1d08d12c08873c46cfa4874e4259865ecb932a76df4973a1fdad9cac28647993f13fd4567889538edbbf95c11207b
|
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.163]: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.163]: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.163]: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
@@ -230,7 +230,7 @@ begin
|
|
230
230
|
|
231
231
|
next if wordlist_line.match?(/^#/)
|
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
235
|
rest_client_resp_hash = request_path(
|
236
236
|
target_url: target_url,
|
@@ -285,5 +285,6 @@ begin
|
|
285
285
|
rescue SystemExit, Interrupt
|
286
286
|
puts "\nGoodbye."
|
287
287
|
rescue StandardError => e
|
288
|
+
puts e.backtrace
|
288
289
|
raise e
|
289
290
|
end
|
@@ -336,12 +336,12 @@ module PWN
|
|
336
336
|
public_class_method def self.close(opts = {})
|
337
337
|
browser_obj = opts[:browser_obj]
|
338
338
|
|
339
|
-
|
339
|
+
if browser_obj[:tor_obj]
|
340
340
|
tor_obj = browser_obj[:tor_obj]
|
341
341
|
PWN::Plugins::Tor.stop(tor_obj: browser_obj[:tor_obj])
|
342
342
|
end
|
343
343
|
|
344
|
-
unless browser_obj[:browser].
|
344
|
+
unless browser_obj[:browser].is_a?(RestClient)
|
345
345
|
# Close the browser unless this_browser_obj.nil? (thus the &)
|
346
346
|
browser_obj[:browser]&.close
|
347
347
|
end
|
data/lib/pwn/version.rb
CHANGED