pwn 0.4.520 → 0.4.523
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 +6 -8
- data/lib/pwn/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7bc470b95387f5ab93968d1f368cc48904ae50465b74cbcdddaf4d5211b4ce4f
|
4
|
+
data.tar.gz: 6d04dbdb7b479faff47ab162fe03330be7f8ab2b851307167a44d3c0628114e4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 97bfd2924108fdeb1c0762b5cf99f99a1b8094d2687a41f7e0ba501dabf962a815a52e0ed126b15b2c9b715282341da7cbd896dc4a5d531a8f044a455f71b338
|
7
|
+
data.tar.gz: 3ac24cdf702f4ade7ea3eeff59efcd812ffaee25f76f8267622495bb3be5c16df8d042176db64c7fc7ef205aefea919e0b9557f450bcc93f5f470478fda43f15
|
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.523]: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.523]:001 >>> PWN.help
|
56
56
|
```
|
57
57
|
|
58
58
|
|
data/bin/pwn_www_uri_buster
CHANGED
@@ -12,7 +12,7 @@ OptionParser.new do |options|
|
|
12
12
|
#{$PROGRAM_NAME} [opts]
|
13
13
|
"
|
14
14
|
|
15
|
-
options.on('-
|
15
|
+
options.on('-uURL', '--target-url=URL', '<Required - Target URL)>') do |t|
|
16
16
|
opts[:target_url] = t
|
17
17
|
end
|
18
18
|
|
@@ -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>-<
|
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|
|
32
32
|
opts[:report_name] = n
|
33
33
|
end
|
34
34
|
|
@@ -44,8 +44,6 @@ end
|
|
44
44
|
|
45
45
|
begin
|
46
46
|
target_url = opts[:target_url]
|
47
|
-
raise "ERROR: Invalid URL #{target_url}\nBe sure to include URL scheme (e.g. http://)" if target_url =~ URI::DEFAULT_PARSER.make_regexp.nil?
|
48
|
-
|
49
47
|
parsed_target_url = URI.parse(target_url)
|
50
48
|
|
51
49
|
wordlist = opts[:wordlist]
|
@@ -58,7 +56,7 @@ begin
|
|
58
56
|
dir_path ||= '.'
|
59
57
|
|
60
58
|
report_name = opts[:report_name]
|
61
|
-
report_name ||= "#{parsed_target_url.host}-#{
|
59
|
+
report_name ||= "#{parsed_target_url.host}-#{Time.now.strftime('%Y-%m-%d_%H-%M-%S')}"
|
62
60
|
|
63
61
|
start_reporting_server = opts[:start_reporting_server]
|
64
62
|
|
@@ -88,14 +86,14 @@ begin
|
|
88
86
|
rest_client_resp_hash = {}
|
89
87
|
http_uri = "#{target_url}/#{wordlist_line}"
|
90
88
|
rest_client = PWN::Plugins::TransparentBrowser.open(browser_type: :rest)::Request
|
91
|
-
response =
|
89
|
+
response = rest_client.execute(
|
92
90
|
method: http_method,
|
93
91
|
url: http_uri,
|
94
92
|
verify_ssl: false
|
95
93
|
)
|
96
94
|
|
97
95
|
rest_client_resp_hash = {
|
98
|
-
request_timestamp:
|
96
|
+
request_timestamp: Time.now.strftime('%Y-%m-%d_%H-%M-%S'),
|
99
97
|
http_uri: http_uri,
|
100
98
|
http_method: http_method,
|
101
99
|
http_resp_code: response.code,
|
@@ -106,7 +104,7 @@ begin
|
|
106
104
|
RestClient::NotFound => e
|
107
105
|
|
108
106
|
rest_client_resp_hash = {
|
109
|
-
request_timestamp:
|
107
|
+
request_timestamp: Time.now.strftime('%Y-%m-%d_%H-%M-%S'),
|
110
108
|
http_uri: http_uri,
|
111
109
|
http_method: http_method,
|
112
110
|
http_resp_code: e.response.code,
|
data/lib/pwn/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pwn
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.523
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- 0day Inc.
|
@@ -2028,7 +2028,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
2028
2028
|
- !ruby/object:Gem::Version
|
2029
2029
|
version: '0'
|
2030
2030
|
requirements: []
|
2031
|
-
rubygems_version: 3.3.
|
2031
|
+
rubygems_version: 3.3.21
|
2032
2032
|
signing_key:
|
2033
2033
|
specification_version: 4
|
2034
2034
|
summary: Automated Security Testing for CI/CD Pipelines & Beyond
|