passivedns-client 2.0.3 → 2.0.4
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 +3 -3
- data/lib/passivedns/client/cli.rb +2 -2
- data/lib/passivedns/client/providers/circl.rb +1 -1
- data/lib/passivedns/client/version.rb +1 -1
- data/test/test_passivedns-client.rb +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f25402e0bd61bb74820cfc984490a96565f33ac5
|
|
4
|
+
data.tar.gz: dbf4ea9dfe2a501c878bb4c127a4d5bb92e970dd
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5ee3a733b4e4518ca18004245a9fc457b8bcc56fde1618545befc534f33d885cb34ef6097784e9e1fe03830df5b96ce9e91cde7b0aeb08f02b0722786fb64b2f
|
|
7
|
+
data.tar.gz: dcb2ff2f4429fc88dadba5fb269a8a9a72f5df0b6bfb12e53207dff65e2b2e15f61d77f829dd21114a4da2b46389d2f83835185481f4ee1542e327df803094d0
|
data/README.md
CHANGED
|
@@ -51,13 +51,13 @@ From version 2.0.0 on, all configuration keys for passive DNS providers are in o
|
|
|
51
51
|
APIKEY = 01234567890abcdef01234567890abcdef012345
|
|
52
52
|
[passivetotal]
|
|
53
53
|
APIKEY = 0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef
|
|
54
|
-
[
|
|
54
|
+
[circl]
|
|
55
55
|
USERNAME = circl_user
|
|
56
56
|
PASSWORD = circl_pass
|
|
57
57
|
|
|
58
58
|
CIRCL also can use and authorization token. In that case, you should drop the USERNAME and PASSWORD options and change the section to something like the following:
|
|
59
59
|
|
|
60
|
-
[
|
|
60
|
+
[circl]
|
|
61
61
|
AUTH_TOKEN = 0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef
|
|
62
62
|
|
|
63
63
|
## Getting Access
|
|
@@ -172,4 +172,4 @@ Right now, I'm in a wait and see mode with how this progresses before I start su
|
|
|
172
172
|
4. Push to the branch (`git push origin my-new-feature`)
|
|
173
173
|
5. Create new Pull Request
|
|
174
174
|
|
|
175
|
-
<a href='mailto:github@
|
|
175
|
+
<a href='mailto:github@chrisleephd[dot]us[stop here]xxx'><img src='http://chrisleephd.us/images/github-email.png?passivedns-client'></a>
|
|
@@ -95,7 +95,7 @@ module PassiveDNS
|
|
|
95
95
|
when '--sqlite3'
|
|
96
96
|
options[:sqlitedb] = arg
|
|
97
97
|
when '--limit'
|
|
98
|
-
|
|
98
|
+
options[:limit] = arg.to_i
|
|
99
99
|
else
|
|
100
100
|
puts usage(letter_map)
|
|
101
101
|
exit
|
|
@@ -106,7 +106,7 @@ module PassiveDNS
|
|
|
106
106
|
options[:pdnsdbs] << "bfk"
|
|
107
107
|
end
|
|
108
108
|
|
|
109
|
-
if options[:pdnsdbs].index("bfk") and recursedepth > 1 and wait < 60
|
|
109
|
+
if options[:pdnsdbs].index("bfk") and options[:recursedepth] > 1 and options[:wait] < 60
|
|
110
110
|
options[:wait] = 60
|
|
111
111
|
$stderr.puts "Enforcing a minimal 60 second wait when using BFK for recursive crawling"
|
|
112
112
|
end
|
|
@@ -204,8 +204,8 @@ class TestPassiveDnsQuery < Minitest::Test
|
|
|
204
204
|
end
|
|
205
205
|
|
|
206
206
|
def test_circl
|
|
207
|
-
PassiveDNS::Client.new(['
|
|
208
|
-
d = PassiveDNS::CIRCL.new(@cp['
|
|
207
|
+
PassiveDNS::Client.new(['circl'])
|
|
208
|
+
d = PassiveDNS::CIRCL.new(@cp['circl'] || {})
|
|
209
209
|
refute_nil(d)
|
|
210
210
|
rows = d.lookup("example.org")
|
|
211
211
|
refute_nil(rows)
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: passivedns-client
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.0.
|
|
4
|
+
version: 2.0.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- chrislee35
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2015-04-
|
|
11
|
+
date: 2015-04-03 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: json
|