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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ac607c50569f257378191c69e03d27d136d4644d0cbe64f7f4ac194f91a90a65
4
- data.tar.gz: b88301259811836561ea14d322b50eb4e2111fb187eaa4a97e53449f76ff33fe
3
+ metadata.gz: 5790c5aa440977ba8c0663a49a0166150dca2ee1736d4ee8e503e57ae74bac11
4
+ data.tar.gz: 4c809e44ff166f7959294ae5e9bd174cb6516e7e9081de3cda6d99504b7c3105
5
5
  SHA512:
6
- metadata.gz: 70692d0efeef0ba0ff33f2206024ac3c4daed6c4bf6862ac2ec77d0a42d84719022f8fa669c63c2350595d8b343757dd6278a6a93c1e604377ee9799e2298f5c
7
- data.tar.gz: 41bdf36de6586091b5a08f1ee7ec4a49078a759bbdb5a2c1eeb353fbd88c31a2b885a878b8b1a09e2f9efccca7381f38fe176e0312fe5b5f5c09e32aaf4fa753
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
@@ -1,3 +1,3 @@
1
1
  module SSRFsUp
2
- VERSION = "0.0.18".freeze
2
+ VERSION = "0.0.19".freeze
3
3
  end
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.18
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-07-28 00:00:00.000000000 Z
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