ronin-db 0.1.0.beta2 → 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/ruby.yml +1 -0
- data/README.md +3 -1
- data/gemspec.yml +4 -4
- data/lib/ronin/db/cli/commands/asn.rb +2 -2
- data/lib/ronin/db/cli/commands/ips.rb +2 -0
- data/lib/ronin/db/cli/modifiable.rb +1 -1
- data/lib/ronin/db/version.rb +1 -1
- data/man/ronin-db-asn.1 +1 -1
- data/man/ronin-db-asn.1.md +1 -1
- metadata +8 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c4b43b9a27235b5f27c1c8eac976121fb6d207fa5732ece4346c16eeea9e2614
|
4
|
+
data.tar.gz: 4a9bbb30e223ed07cc457e2f78e4a502aa1b2f9888903fb0f299389617a4cf52
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ccc855cd8baf3f69497d49cf553c2a1afec91bc0bbf2b7a0c6346740ad71da85a21b62449bd845e5f817317775c3fa254cf8e9adfa00782fac6b477c0e258a5a
|
7
|
+
data.tar.gz: 1ebfb16680d714807171106c3510ae4256573f7c7feca27937c76cf382fa91928e4a17e2ecaef276bd7befaed5977d84c12e25fd4dae4f1c19e0f6e62348e64c
|
data/.github/workflows/ruby.yml
CHANGED
data/README.md
CHANGED
@@ -2,6 +2,7 @@
|
|
2
2
|
|
3
3
|
[![CI](https://github.com/ronin-rb/ronin-db/actions/workflows/ruby.yml/badge.svg)](https://github.com/ronin-rb/ronin-db/actions/workflows/ruby.yml)
|
4
4
|
[![Code Climate](https://codeclimate.com/github/ronin-rb/ronin-db.svg)](https://codeclimate.com/github/ronin-rb/ronin-db)
|
5
|
+
[![Gem Version](https://badge.fury.io/rb/ronin-db.svg)](https://badge.fury.io/rb/ronin-db)
|
5
6
|
|
6
7
|
* [Website](https://ronin-rb.dev)
|
7
8
|
* [Source](https://github.com/ronin-rb/ronin-db)
|
@@ -205,7 +206,8 @@ and [ronin-db-activerecord].
|
|
205
206
|
|
206
207
|
* [Ruby] >= 3.0.0
|
207
208
|
* [libsqlite3][sqlite]
|
208
|
-
* [sqlite3]
|
209
|
+
* [sqlite3][sqlite3]
|
210
|
+
(or [activerecord-jdbcsqlite3-adapter] ~> 70.0 on JRuby)
|
209
211
|
* [ronin-db-activerecord] ~> 0.1
|
210
212
|
* [ronin-support] ~> 1.0
|
211
213
|
* [ronin-core] ~> 0.1
|
data/gemspec.yml
CHANGED
@@ -41,13 +41,13 @@ ruby_dependencies:
|
|
41
41
|
sqlite3: ~> 1.0
|
42
42
|
|
43
43
|
jruby_dependencies:
|
44
|
-
activerecord-jdbcsqlite3-adapter: ~> 70.0
|
44
|
+
activerecord-jdbcsqlite3-adapter: ~> 70.0
|
45
45
|
|
46
46
|
dependencies:
|
47
47
|
# Ronin dependencies:
|
48
|
-
ronin-db-activerecord: ~> 0.1
|
49
|
-
ronin-support: ~> 1.0
|
50
|
-
ronin-core: ~> 0.1
|
48
|
+
ronin-db-activerecord: ~> 0.1
|
49
|
+
ronin-support: ~> 1.0
|
50
|
+
ronin-core: ~> 0.1
|
51
51
|
|
52
52
|
development_dependencies:
|
53
53
|
bundler: ~> 2.0
|
@@ -41,7 +41,7 @@ module Ronin
|
|
41
41
|
# --db-uri URI The database URI to connect to
|
42
42
|
# -v, --verbose Enables verbose output
|
43
43
|
# -n, --number INT Searches for all ASN records with the AS number
|
44
|
-
# -C XX|None|
|
44
|
+
# -C XX|None|Unknown, Searches for all ASN records with the country code
|
45
45
|
# --country-code
|
46
46
|
# -N, --name NAME Searches for all ASN records with the matching name
|
47
47
|
# -I, --ip IP Queries the ASN record for the IP
|
@@ -70,7 +70,7 @@ module Ronin
|
|
70
70
|
option :country_code, short: '-C',
|
71
71
|
value: {
|
72
72
|
type: /[A-Z]{2}|None|Unknown/,
|
73
|
-
usage: 'XX|None|
|
73
|
+
usage: 'XX|None|Unknown'
|
74
74
|
},
|
75
75
|
desc: 'Searches for all ASN records with the country code' do |cc|
|
76
76
|
@query_method_calls << [:with_country_code, [cc]]
|
data/lib/ronin/db/version.rb
CHANGED
data/man/ronin-db-asn.1
CHANGED
@@ -32,7 +32,7 @@ Enables verbose output
|
|
32
32
|
Searches for all ASN records with the AS number\.
|
33
33
|
.LP
|
34
34
|
.TP
|
35
|
-
\fB-C\fR, \fB--country-code\fR \fIXX\fP\[or]\fBNone\fR\[or]\
|
35
|
+
\fB-C\fR, \fB--country-code\fR \fIXX\fP\[or]\fBNone\fR\[or]\fBUnknown\fR
|
36
36
|
Searches for all ASN records with the country code\.
|
37
37
|
.LP
|
38
38
|
.TP
|
data/man/ronin-db-asn.1.md
CHANGED
@@ -23,7 +23,7 @@ Queries or updates Autonomous System Numbers (ASNs) in the database.
|
|
23
23
|
`-n`, `--number` *INT*
|
24
24
|
Searches for all ASN records with the AS number.
|
25
25
|
|
26
|
-
`-C`, `--country-code` *XX*\|`None`\|`
|
26
|
+
`-C`, `--country-code` *XX*\|`None`\|`Unknown`
|
27
27
|
Searches for all ASN records with the country code.
|
28
28
|
|
29
29
|
`-N`, `--name` *NAME*
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ronin-db
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.0
|
4
|
+
version: 0.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Postmodern
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-01
|
11
|
+
date: 2023-02-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: sqlite3
|
@@ -30,42 +30,42 @@ dependencies:
|
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 0.1
|
33
|
+
version: '0.1'
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: 0.1
|
40
|
+
version: '0.1'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: ronin-support
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
45
|
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: 1.0
|
47
|
+
version: '1.0'
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: 1.0
|
54
|
+
version: '1.0'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: ronin-core
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
59
|
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: 0.1
|
61
|
+
version: '0.1'
|
62
62
|
type: :runtime
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
66
|
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version: 0.1
|
68
|
+
version: '0.1'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: bundler
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|