ssrfs-up 0.0.18 → 0.0.19
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/ssrfs-up.rb +2 -2
- data/lib/ssrfs-up/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: 5790c5aa440977ba8c0663a49a0166150dca2ee1736d4ee8e503e57ae74bac11
|
4
|
+
data.tar.gz: 4c809e44ff166f7959294ae5e9bd174cb6516e7e9081de3cda6d99504b7c3105
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 382e61daf2bdae08b1da1423579f419e8ba7992a12069de1abc8259926b7c1eda9fc7ef3f1b3097277ab3ef5f0b6098a66fa41189a8d6617e1202a0dfbe77910
|
7
|
+
data.tar.gz: 39c36d82cc2352546442a3989da72e3afd0426f5083440ddf95f88626c944e57c5badcf73e321ae885ec78c207f151455992db7cd8d3ee3a228b85921d44da34
|
data/lib/ssrfs-up.rb
CHANGED
@@ -170,7 +170,7 @@ module SSRFsUp
|
|
170
170
|
def invoke(host = nil, opts = {})
|
171
171
|
opts = opts.merge(parseAsUri(host))
|
172
172
|
if (!opts[:proxy].nil? && !opts[:proxy]) || !configuration.proxy
|
173
|
-
OpenStruct.new(fast_check(host, opts))
|
173
|
+
OpenStruct.new(fast_check(opts[:host], opts))
|
174
174
|
else
|
175
175
|
begin
|
176
176
|
resp = client.invoke({
|
@@ -187,7 +187,7 @@ module SSRFsUp
|
|
187
187
|
end
|
188
188
|
rescue StandardError => e
|
189
189
|
# fall back to local check if the lambda wasn't reachable.
|
190
|
-
OpenStruct.new(fast_check(host, opts))
|
190
|
+
OpenStruct.new(fast_check(opts[:host], opts))
|
191
191
|
end
|
192
192
|
end
|
193
193
|
end
|
data/lib/ssrfs-up/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ssrfs-up
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.19
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jake Heath
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-08-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-lambda
|