pwn 0.4.831 → 0.4.832
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/lib/pwn/plugins/shodan.rb +6 -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: ae1b272c35aaeea2db78c7dd6b507ea3c4399c2c56602397359a9be3332aeb9c
|
4
|
+
data.tar.gz: 91590c90846ebbf7143cd244f31882e3267b2b70b1380661bbad81b7e74a5c24
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 51233f3cf15429dd95f9b4aaa475a4e818a1377813cf3729ed81f62d8b63c6a84e588e73bb3758b61f6694df120f318244a0b8e0d5467c532954de2ed5c07292
|
7
|
+
data.tar.gz: dc474fc7b6fc8da6c7a6385a9e5676062cb7d11fbdd843103c299d0505a133c260c3ac2400c28b08c8ef434c1dac5f759356749891d13f2eddbdcb0ba55d63b1
|
data/README.md
CHANGED
@@ -37,7 +37,7 @@ $ rvm use ruby-3.2.2@pwn
|
|
37
37
|
$ rvm list gemsets
|
38
38
|
$ gem install --verbose pwn
|
39
39
|
$ pwn
|
40
|
-
pwn[v0.4.
|
40
|
+
pwn[v0.4.832]: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.2.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.832]:001 >>> PWN.help
|
56
56
|
```
|
57
57
|
|
58
58
|
|
data/lib/pwn/plugins/shodan.rb
CHANGED
@@ -30,7 +30,7 @@ module PWN
|
|
30
30
|
URI::InvalidURIError,
|
31
31
|
URI::InvalidComponentError
|
32
32
|
|
33
|
-
|
33
|
+
false
|
34
34
|
rescue StandardError => e
|
35
35
|
raise e
|
36
36
|
end
|
@@ -504,7 +504,7 @@ module PWN
|
|
504
504
|
public_class_method def self.get_uris(opts = {})
|
505
505
|
search_results = opts[:search_results]
|
506
506
|
|
507
|
-
search_results
|
507
|
+
search_results.map do |search_results_hash|
|
508
508
|
extract_and_validate_uris(
|
509
509
|
search_results_hash: search_results_hash
|
510
510
|
)
|
@@ -604,6 +604,10 @@ module PWN
|
|
604
604
|
target_ips: 'required - comma-delimited list of ip addresses to target'
|
605
605
|
)
|
606
606
|
|
607
|
+
uri_arr = #{self}.get_uris(
|
608
|
+
search_results: 'required - search_results object returned from #search method'
|
609
|
+
)
|
610
|
+
|
607
611
|
#{self}.authors
|
608
612
|
"
|
609
613
|
end
|
data/lib/pwn/version.rb
CHANGED