pwn 0.4.529 → 0.4.530
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 +9 -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: 612f547ef710363dbb2354048dbae80679dc8153f74512d09847f8d43e29e90c
|
4
|
+
data.tar.gz: ce2ef03d718183d5130749244cd0237774b3b58003e693b790c59abf21abbe5f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6fd3b7a65884a9551eb6b8cec0b34f1d96dd3211d2d511c144ef31a93ba5ca828327c7c768e42b694765f46af93cfd8b858275c5cf4b9b1065336c430edb1ce7
|
7
|
+
data.tar.gz: 0bef199fc9669b712205d3dac1d30e50b24135dd389a28ceccc1a7e193c9fc01fbf33f578665f808d52f22e0d67d55fc72eccda2819b230317eaa7010b7b2f9e
|
data/README.md
CHANGED
@@ -37,7 +37,7 @@ $ rvm use ruby-3.1.2@pwn
|
|
37
37
|
$ rvm list gemsets
|
38
38
|
$ gem install --verbose pwn
|
39
39
|
$ pwn
|
40
|
-
pwn[v0.4.
|
40
|
+
pwn[v0.4.530]: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.1.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.530]:001 >>> PWN.help
|
56
56
|
```
|
57
57
|
|
58
58
|
|
data/bin/pwn_www_uri_buster
CHANGED
@@ -82,12 +82,11 @@ begin
|
|
82
82
|
|
83
83
|
next if wordlist_line.match?(/^#/)
|
84
84
|
|
85
|
-
http_uri = "#{target_url}/#{CGI.escape(wordlist_line)}"
|
86
|
-
|
87
85
|
http_methods = %i[GET HEAD POST PUT DELETE OPTIONS TRACE]
|
88
86
|
http_methods.each do |http_method|
|
89
87
|
begin
|
90
88
|
print '.'
|
89
|
+
http_uri = "#{target_url}/#{wordlist_line}"
|
91
90
|
rest_client_resp_hash = {}
|
92
91
|
rest_client = PWN::Plugins::TransparentBrowser.open(browser_type: :rest)::Request
|
93
92
|
response = rest_client.execute(
|
@@ -116,6 +115,14 @@ begin
|
|
116
115
|
http_resp: e.response.body[0..300]
|
117
116
|
}
|
118
117
|
next
|
118
|
+
rescue URI::InvalidURIError
|
119
|
+
url_encoded_wordlist_arr = []
|
120
|
+
wordlist_line.split('/').each do |path|
|
121
|
+
url_encoded_wordlist_arr.push(CGI.escape(path))
|
122
|
+
end
|
123
|
+
wordlist_line = url_encoded_wordlist_arr.join('/')
|
124
|
+
|
125
|
+
retry
|
119
126
|
rescue RestClient::TooManyRequests
|
120
127
|
sleep 60
|
121
128
|
ensure
|
data/lib/pwn/version.rb
CHANGED