pwn 0.4.524 → 0.4.525
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 +2 -2
- data/bin/pwn_www_uri_buster +4 -4
- 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: 5a9473dde4c822125ce621a5fbb80390572776d98315e1ff7e0be4ae4324b561
|
|
4
|
+
data.tar.gz: 04cf6c753f70d1dc25ad254d7317eda494058fefb1ff93d5fc45dc7216170bb4
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 016a924abcc0933cb536b51ee8c89516b1ac9c087da9dedf083722c89b5b6d089b7ec9bbca4f056c60b02507060db060e2e3f82ee21c2bb3082171589a058ada
|
|
7
|
+
data.tar.gz: 200b6b0866968deb6ecb66df6a342ee72e1e3b64fe24fd7f332d9f7ca29248ee3923ea27f63817fff073d5770bbb2c31d20b46c14c80be7d69a018240844566a
|
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.525]:001 >>> PWN.help
|
|
41
41
|
```
|
|
42
42
|
|
|
43
43
|
[](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.525]:001 >>> PWN.help
|
|
56
56
|
```
|
|
57
57
|
|
|
58
58
|
|
data/bin/pwn_www_uri_buster
CHANGED
|
@@ -28,7 +28,7 @@ OptionParser.new do |options|
|
|
|
28
28
|
opts[:wordlist] = w
|
|
29
29
|
end
|
|
30
30
|
|
|
31
|
-
options.on('-nREPORTNAME', '--report-name=REPORTNAME', '<Optional Report Name (Defaults to, "<TARGET_URL_HOST>-<Time.now.strftime("%Y-%m-%d_%H-%M-%S")>")>') do |n|
|
|
31
|
+
options.on('-nREPORTNAME', '--report-name=REPORTNAME', '<Optional Report Name (Defaults to, "<TARGET_URL_HOST>-<File.basename(wordlist)>-<Time.now.strftime("%Y-%m-%d_%H-%M-%S")>")>') do |n|
|
|
32
32
|
opts[:report_name] = n
|
|
33
33
|
end
|
|
34
34
|
|
|
@@ -56,7 +56,7 @@ begin
|
|
|
56
56
|
dir_path ||= '.'
|
|
57
57
|
|
|
58
58
|
report_name = opts[:report_name]
|
|
59
|
-
report_name ||= "#{parsed_target_url.host}-#{Time.now.strftime('%Y-%m-%d_%H-%M-%S')}"
|
|
59
|
+
report_name ||= "#{parsed_target_url.host}-#{File.basename(wordlist)}-#{Time.now.strftime('%Y-%m-%d_%H-%M-%S')}"
|
|
60
60
|
|
|
61
61
|
start_reporting_server = opts[:start_reporting_server]
|
|
62
62
|
|
|
@@ -97,7 +97,7 @@ begin
|
|
|
97
97
|
http_uri: http_uri,
|
|
98
98
|
http_method: http_method,
|
|
99
99
|
http_resp_code: response.code,
|
|
100
|
-
http_resp: response.body
|
|
100
|
+
http_resp: response.body[0..300]
|
|
101
101
|
}
|
|
102
102
|
rescue RestClient::Forbidden,
|
|
103
103
|
RestClient::BadRequest,
|
|
@@ -108,7 +108,7 @@ begin
|
|
|
108
108
|
http_uri: http_uri,
|
|
109
109
|
http_method: http_method,
|
|
110
110
|
http_resp_code: e.response.code,
|
|
111
|
-
http_resp: e.response.body
|
|
111
|
+
http_resp: e.response.body[0..300]
|
|
112
112
|
}
|
|
113
113
|
next
|
|
114
114
|
ensure
|
data/lib/pwn/version.rb
CHANGED