ronin-masscan 0.1.0.rc1 → 0.1.1

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: e0c3a282cb33716e8205bce6f3a3730995665d1c1f2c1a4eae901304567aa4d0
4
- data.tar.gz: e27dfa90ab3baa821ea5571f43646cbdc52d1c7effdade086cb22ba62342a3d8
3
+ metadata.gz: e2d940815ced94a34701790a2f70f62276575c205efa7c4ff5a28c9cefe8d318
4
+ data.tar.gz: 4f1d35eacf4ed5b1914d46b9c6a706b55dd84068ffb9e1fb766de537daf8f651
5
5
  SHA512:
6
- metadata.gz: 8f741731aa217b4f3ce680f7b049fa86d70f9a31e936ba14578fe73b9e9e0e88e0de19afcde7b561787e884a1cbebee96ef83ef0c171286cbf666f127bd345e1
7
- data.tar.gz: ce1443615a48d87cad8da2f05bd0cde71c09f39008f749d4d1869f71e74c9a827a2c940640f88d7f7bd635e57e58c7c830c9f23846caa30d018d5787a81a6112
6
+ metadata.gz: 6ff14da50e2796c67580aa5ab0b9c7494908cbbf25dc7afe2d773d39b30b3d42d0412cfcceea518307fae63a3ffa84a05f3a9f09e9961ec84bbbb6ae959e9c40
7
+ data.tar.gz: 245c125b3a652cbb23aa52e61318c7b30b0023a588e456c324a8ab3a7b8c73c22ccff57288e4287b4de5a07385620b4c2db19891a4b4e8059fac953d423711b4
@@ -13,6 +13,7 @@ jobs:
13
13
  - '3.1'
14
14
  - '3.2'
15
15
  - '3.3'
16
+ - '3.4'
16
17
  - jruby
17
18
  - truffleruby
18
19
  name: Ruby ${{ matrix.ruby }}
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- ruby-3.1
1
+ ruby-3.3
data/ChangeLog.md CHANGED
@@ -1,4 +1,9 @@
1
- ### 0.1.0 / 2024-XX-XX
1
+ ### 0.1.1 / 2025-02-14
2
+
3
+ * Added the `csv` gem as a dependency for Bundler and Ruby 3.4.0.
4
+ * Use `require_relative` to improve load times.
5
+
6
+ ### 0.1.0 / 2024-07-22
2
7
 
3
8
  * Initial release:
4
9
  * Supports automating `masscan` using [ruby-masscan].
data/README.md CHANGED
@@ -181,7 +181,7 @@ gem.add_dependency 'ronin-masscan', '~> 0.1'
181
181
 
182
182
  ## License
183
183
 
184
- Copyright (c) 2023-2024 Hal Brodigan (postmodern.mod3@gmail.com)
184
+ Copyright (c) 2023-2025 Hal Brodigan (postmodern.mod3@gmail.com)
185
185
 
186
186
  ronin-masscan is free software: you can redistribute it and/or modify
187
187
  it under the terms of the GNU Lesser General Public License as published
@@ -11,7 +11,7 @@ _ronin-masscan_completions_filter() {
11
11
 
12
12
  if [[ "${cur:0:1}" == "-" ]]; then
13
13
  echo "$words"
14
-
14
+
15
15
  else
16
16
  for word in $words; do
17
17
  [[ "${word:0:1}" != "-" ]] && result+=("$word")
@@ -29,55 +29,63 @@ _ronin-masscan_completions() {
29
29
 
30
30
  case "$compline" in
31
31
  'new'*'--output-file')
32
- while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -A file -- "$cur" )
32
+ while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur")
33
+ ;;
34
+
35
+ 'import'*'--db-file')
36
+ while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -A directory -- "$cur")
37
+ ;;
38
+
39
+ 'scan'*'--db-file')
40
+ while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -A directory -- "$cur")
33
41
  ;;
34
42
 
35
43
  'scan'*'--output')
36
- while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -A file -- "$cur" )
44
+ while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur")
37
45
  ;;
38
46
 
39
47
  'completion'*)
40
- while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -W "$(_ronin-masscan_completions_filter "--print --install --uninstall")" -- "$cur" )
48
+ while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -W "$(_ronin-masscan_completions_filter "--print --install --uninstall")" -- "$cur")
41
49
  ;;
42
50
 
43
51
  'convert'*)
44
- while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -A file -W "$(_ronin-masscan_completions_filter "--input-format -I --format -F")" -- "$cur" )
52
+ while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -W "$(_ronin-masscan_completions_filter "--input-format -I --format -F")" -- "$cur")
45
53
  ;;
46
54
 
47
55
  'scan'*'-o')
48
- while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -A file -- "$cur" )
56
+ while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur")
49
57
  ;;
50
58
 
51
59
  'import'*)
52
- while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -A file -W "$(_ronin-masscan_completions_filter "--db --db-uri --db-file --format -F")" -- "$cur" )
60
+ while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -W "$(_ronin-masscan_completions_filter "--db --db-uri --db-file --format -F")" -- "$cur")
53
61
  ;;
54
62
 
55
63
  'print'*)
56
- while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -W "$(_ronin-masscan_completions_filter "--protocol -P --ip --ip-range --ports -p --with-app-protocol --with-payload --with-payload-regex")" -- "$cur" )
64
+ while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -W "$(_ronin-masscan_completions_filter "--protocol -P --ip --ip-range --ports -p --with-app-protocol --with-payload --with-payload-regex")" -- "$cur")
57
65
  ;;
58
66
 
59
67
  'dump'*)
60
- while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -W "$(_ronin-masscan_completions_filter "--print-ips --print-hosts --print-ip-ports --print-host-ports --print-uris --protocol -P --ip --ip-range --ports -p --with-app-protocol --with-payload --with-payload-regex")" -- "$cur" )
68
+ while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -W "$(_ronin-masscan_completions_filter "--print-ips --print-hosts --print-ip-ports --print-host-ports --print-uris --protocol -P --ip --ip-range --ports -p --with-app-protocol --with-payload --with-payload-regex")" -- "$cur")
61
69
  ;;
62
70
 
63
71
  'grep'*)
64
- while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -W "$(_ronin-masscan_completions_filter "--protocol -P --ip --ip-range --ports -p --with-app-protocol --with-payload --with-payload-regex")" -- "$cur" )
72
+ while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -W "$(_ronin-masscan_completions_filter "--protocol -P --ip --ip-range --ports -p --with-app-protocol --with-payload --with-payload-regex")" -- "$cur")
65
73
  ;;
66
74
 
67
75
  'scan'*)
68
- while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -W "$(_ronin-masscan_completions_filter "--db --db-uri --db-file --sudo --output -o --output-format -F --import")" -- "$cur" )
76
+ while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -W "$(_ronin-masscan_completions_filter "--db --db-uri --db-file --sudo --output -o --output-format -F --import")" -- "$cur")
69
77
  ;;
70
78
 
71
79
  'new'*)
72
- while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -W "$(_ronin-masscan_completions_filter "--parser --scanner --printing --import --output-file --ports -p --ips")" -- "$cur" )
80
+ while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -A directory -W "$(_ronin-masscan_completions_filter "--parser --scanner --printing --import --output-file --ports -p --ips")" -- "$cur")
73
81
  ;;
74
82
 
75
83
  *)
76
- while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -W "$(_ronin-masscan_completions_filter "--version -V help completion convert dump grep import new print scan")" -- "$cur" )
84
+ while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -W "$(_ronin-masscan_completions_filter "--version -V help completion convert dump grep import new print scan")" -- "$cur")
77
85
  ;;
78
86
 
79
87
  esac
80
88
  } &&
81
- complete -F _ronin-masscan_completions ronin-masscan
89
+ complete -F _ronin-masscan_completions ronin-masscan
82
90
 
83
91
  # ex: filetype=sh
data/gemspec.yml CHANGED
@@ -1,11 +1,11 @@
1
1
  name: ronin-masscan
2
2
  summary: A Ruby library and CLI for working with masscan.
3
3
  description: |
4
- ronin-masscan is a Ruby library for working with masscan. ronin-masscan can
5
- parse masscan scan files, convert masscan files into JSON or CSV, or import
6
- masscan scan data into the ronin-db database.
4
+ ronin-masscan is a Ruby library and CLI for working with masscan.
5
+ ronin-masscan can parse masscan scan files, convert masscan files into JSON or
6
+ CSV, or import masscan scan data into the ronin-db database.
7
7
 
8
- license: LGPL-3.0
8
+ license: LGPL-3.0-or-later
9
9
  authors: Postmodern
10
10
  email: postmodern.mod3@gmail.com
11
11
  homepage: https://ronin-rb.dev/
@@ -33,10 +33,11 @@ generated_files:
33
33
  required_ruby_version: ">= 3.0.0"
34
34
 
35
35
  dependencies:
36
+ csv: ~> 3.0
36
37
  ruby-masscan: ~> 0.1
37
38
  # Ronin dependencies:
38
- ronin-core: ~> 0.2.0.rc1
39
- ronin-db: ~> 0.2.0.rc1
39
+ ronin-core: ~> 0.2
40
+ ronin-db: ~> 0.2
40
41
 
41
42
  development_dependencies:
42
43
  bundler: ~> 2.0
@@ -2,7 +2,7 @@
2
2
  #
3
3
  # ronin-masscan - A Ruby library and CLI for working with masscan.
4
4
  #
5
- # Copyright (c) 2023-2024 Hal Brodigan (postmodern.mod3@gmail.com)
5
+ # Copyright (c) 2023-2025 Hal Brodigan (postmodern.mod3@gmail.com)
6
6
  #
7
7
  # ronin-masscan is free software: you can redistribute it and/or modify
8
8
  # it under the terms of the GNU Lesser General Public License as published
@@ -18,10 +18,10 @@
18
18
  # along with ronin-masscan. If not, see <https://www.gnu.org/licenses/>.
19
19
  #
20
20
 
21
- require 'ronin/masscan/root'
22
-
23
21
  require 'ronin/core/cli/command'
24
22
 
23
+ require_relative '../root'
24
+
25
25
  module Ronin
26
26
  module Masscan
27
27
  class CLI
@@ -2,7 +2,7 @@
2
2
  #
3
3
  # ronin-masscan - A Ruby library and CLI for working with masscan.
4
4
  #
5
- # Copyright (c) 2023-2024 Hal Brodigan (postmodern.mod3@gmail.com)
5
+ # Copyright (c) 2023-2025 Hal Brodigan (postmodern.mod3@gmail.com)
6
6
  #
7
7
  # ronin-masscan is free software: you can redistribute it and/or modify
8
8
  # it under the terms of the GNU Lesser General Public License as published
@@ -18,9 +18,10 @@
18
18
  # along with ronin-masscan. If not, see <https://www.gnu.org/licenses/>.
19
19
  #
20
20
 
21
- require 'ronin/masscan/root'
22
21
  require 'ronin/core/cli/completion_command'
23
22
 
23
+ require_relative '../../root'
24
+
24
25
  module Ronin
25
26
  module Masscan
26
27
  class CLI
@@ -2,7 +2,7 @@
2
2
  #
3
3
  # ronin-masscan - A Ruby library and CLI for working with masscan.
4
4
  #
5
- # Copyright (c) 2023-2024 Hal Brodigan (postmodern.mod3@gmail.com)
5
+ # Copyright (c) 2023-2025 Hal Brodigan (postmodern.mod3@gmail.com)
6
6
  #
7
7
  # ronin-masscan is free software: you can redistribute it and/or modify
8
8
  # it under the terms of the GNU Lesser General Public License as published
@@ -18,8 +18,8 @@
18
18
  # along with ronin-masscan. If not, see <https://www.gnu.org/licenses/>.
19
19
  #
20
20
 
21
- require 'ronin/masscan/cli/command'
22
- require 'ronin/masscan/converter'
21
+ require_relative '../command'
22
+ require_relative '../../converter'
23
23
 
24
24
  module Ronin
25
25
  module Masscan
@@ -2,7 +2,7 @@
2
2
  #
3
3
  # ronin-masscan - A Ruby library and CLI for working with masscan.
4
4
  #
5
- # Copyright (c) 2023-2024 Hal Brodigan (postmodern.mod3@gmail.com)
5
+ # Copyright (c) 2023-2025 Hal Brodigan (postmodern.mod3@gmail.com)
6
6
  #
7
7
  # ronin-masscan is free software: you can redistribute it and/or modify
8
8
  # it under the terms of the GNU Lesser General Public License as published
@@ -18,10 +18,10 @@
18
18
  # along with ronin-masscan. If not, see <https://www.gnu.org/licenses/>.
19
19
  #
20
20
 
21
- require 'ronin/masscan/cli/command'
22
- require 'ronin/masscan/cli/filtering_options'
23
- require 'masscan/output_file'
21
+ require_relative '../command'
22
+ require_relative '../filtering_options'
24
23
 
24
+ require 'masscan/output_file'
25
25
  require 'set'
26
26
 
27
27
  module Ronin
@@ -2,7 +2,7 @@
2
2
  #
3
3
  # ronin-masscan - A Ruby library and CLI for working with masscan.
4
4
  #
5
- # Copyright (c) 2023-2024 Hal Brodigan (postmodern.mod3@gmail.com)
5
+ # Copyright (c) 2023-2025 Hal Brodigan (postmodern.mod3@gmail.com)
6
6
  #
7
7
  # ronin-masscan is free software: you can redistribute it and/or modify
8
8
  # it under the terms of the GNU Lesser General Public License as published
@@ -18,8 +18,8 @@
18
18
  # along with ronin-masscan. If not, see <https://www.gnu.org/licenses/>.
19
19
  #
20
20
 
21
- require 'ronin/masscan/cli/command'
22
- require 'ronin/masscan/cli/filtering_options'
21
+ require_relative '../command'
22
+ require_relative '../filtering_options'
23
23
 
24
24
  require 'command_kit/colors'
25
25
  require 'command_kit/printing/indent'
@@ -2,7 +2,7 @@
2
2
  #
3
3
  # ronin-masscan - A Ruby library and CLI for working with masscan.
4
4
  #
5
- # Copyright (c) 2023-2024 Hal Brodigan (postmodern.mod3@gmail.com)
5
+ # Copyright (c) 2023-2025 Hal Brodigan (postmodern.mod3@gmail.com)
6
6
  #
7
7
  # ronin-masscan is free software: you can redistribute it and/or modify
8
8
  # it under the terms of the GNU Lesser General Public License as published
@@ -18,8 +18,8 @@
18
18
  # along with ronin-masscan. If not, see <https://www.gnu.org/licenses/>.
19
19
  #
20
20
 
21
- require 'ronin/masscan/cli/command'
22
- require 'ronin/masscan/cli/importable'
21
+ require_relative '../command'
22
+ require_relative '../importable'
23
23
 
24
24
  module Ronin
25
25
  module Masscan
@@ -2,7 +2,7 @@
2
2
  #
3
3
  # ronin-masscan - A Ruby library and CLI for working with masscan.
4
4
  #
5
- # Copyright (c) 2023-2024 Hal Brodigan (postmodern.mod3@gmail.com)
5
+ # Copyright (c) 2023-2025 Hal Brodigan (postmodern.mod3@gmail.com)
6
6
  #
7
7
  # ronin-masscan is free software: you can redistribute it and/or modify
8
8
  # it under the terms of the GNU Lesser General Public License as published
@@ -18,8 +18,8 @@
18
18
  # along with ronin-masscan. If not, see <https://www.gnu.org/licenses/>.
19
19
  #
20
20
 
21
- require 'ronin/masscan/cli/command'
22
- require 'ronin/masscan/root'
21
+ require_relative '../command'
22
+ require_relative '../../root'
23
23
 
24
24
  require 'ronin/core/cli/generator'
25
25
 
@@ -2,7 +2,7 @@
2
2
  #
3
3
  # ronin-masscan - A Ruby library and CLI for working with masscan.
4
4
  #
5
- # Copyright (c) 2023-2024 Hal Brodigan (postmodern.mod3@gmail.com)
5
+ # Copyright (c) 2023-2025 Hal Brodigan (postmodern.mod3@gmail.com)
6
6
  #
7
7
  # ronin-masscan is free software: you can redistribute it and/or modify
8
8
  # it under the terms of the GNU Lesser General Public License as published
@@ -18,8 +18,8 @@
18
18
  # along with ronin-masscan. If not, see <https://www.gnu.org/licenses/>.
19
19
  #
20
20
 
21
- require 'ronin/masscan/cli/command'
22
- require 'ronin/masscan/cli/filtering_options'
21
+ require_relative '../command'
22
+ require_relative '../filtering_options'
23
23
 
24
24
  require 'masscan/output_file'
25
25
  require 'command_kit/printing/indent'
@@ -2,7 +2,7 @@
2
2
  #
3
3
  # ronin-masscan - A Ruby library and CLI for working with masscan.
4
4
  #
5
- # Copyright (c) 2023-2024 Hal Brodigan (postmodern.mod3@gmail.com)
5
+ # Copyright (c) 2023-2025 Hal Brodigan (postmodern.mod3@gmail.com)
6
6
  #
7
7
  # ronin-masscan is free software: you can redistribute it and/or modify
8
8
  # it under the terms of the GNU Lesser General Public License as published
@@ -18,11 +18,11 @@
18
18
  # along with ronin-masscan. If not, see <https://www.gnu.org/licenses/>.
19
19
  #
20
20
 
21
- require 'ronin/masscan/cli/command'
22
- require 'ronin/masscan/cli/importable'
23
- require 'ronin/masscan/converter'
24
- require 'ronin/core/cli/logging'
21
+ require_relative '../command'
22
+ require_relative '../importable'
23
+ require_relative '../../converter'
25
24
 
25
+ require 'ronin/core/cli/logging'
26
26
  require 'tempfile'
27
27
  require 'set'
28
28
 
@@ -2,7 +2,7 @@
2
2
  #
3
3
  # ronin-masscan - A Ruby library and CLI for working with masscan.
4
4
  #
5
- # Copyright (c) 2023-2024 Hal Brodigan (postmodern.mod3@gmail.com)
5
+ # Copyright (c) 2023-2025 Hal Brodigan (postmodern.mod3@gmail.com)
6
6
  #
7
7
  # ronin-masscan is free software: you can redistribute it and/or modify
8
8
  # it under the terms of the GNU Lesser General Public License as published
@@ -18,7 +18,7 @@
18
18
  # along with ronin-masscan. If not, see <https://www.gnu.org/licenses/>.
19
19
  #
20
20
 
21
- require 'ronin/masscan/cli/port_list'
21
+ require_relative 'port_list'
22
22
 
23
23
  module Ronin
24
24
  module Masscan
@@ -2,7 +2,7 @@
2
2
  #
3
3
  # ronin-masscan- A Ruby library and CLI for working with masscan.
4
4
  #
5
- # Copyright (c) 2023-2024 Hal Brodigan (postmodern.mod3@gmail.com)
5
+ # Copyright (c) 2023-2025 Hal Brodigan (postmodern.mod3@gmail.com)
6
6
  #
7
7
  # ronin-masscan is free software: you can redistribute it and/or modify
8
8
  # it under the terms of the GNU Lesser General Public License as published
@@ -18,7 +18,8 @@
18
18
  # along with ronin-masscan. If not, see <https://www.gnu.org/licenses/>.
19
19
  #
20
20
 
21
- require 'ronin/masscan/importer'
21
+ require_relative '../importer'
22
+
22
23
  require 'ronin/db/cli/database_options'
23
24
  require 'ronin/db/cli/printing'
24
25
  require 'ronin/core/cli/logging'
@@ -2,7 +2,7 @@
2
2
  #
3
3
  # ronin-nmap - A Ruby library for automating nmap and importing nmap scans.
4
4
  #
5
- # Copyright (c) 2023-2024 Hal Brodigan (postmodern.mod3@gmail.com)
5
+ # Copyright (c) 2023-2025 Hal Brodigan (postmodern.mod3@gmail.com)
6
6
  #
7
7
  # ronin-nmap is free software: you can redistribute it and/or modify
8
8
  # it under the terms of the GNU Lesser General Public License as published
@@ -2,7 +2,7 @@
2
2
  #
3
3
  # ronin-masscan - A Ruby library and CLI for working with masscan.
4
4
  #
5
- # Copyright (c) 2023-2024 Hal Brodigan (postmodern.mod3@gmail.com)
5
+ # Copyright (c) 2023-2025 Hal Brodigan (postmodern.mod3@gmail.com)
6
6
  #
7
7
  # ronin-masscan is free software: you can redistribute it and/or modify
8
8
  # it under the terms of the GNU Lesser General Public License as published
@@ -18,13 +18,14 @@
18
18
  # along with ronin-masscan. If not, see <https://www.gnu.org/licenses/>.
19
19
  #
20
20
 
21
- require 'ronin/masscan/version'
22
21
  require 'ronin/core/cli/help/banner'
23
22
 
24
23
  require 'command_kit/commands'
25
24
  require 'command_kit/commands/auto_load'
26
25
  require 'command_kit/options/version'
27
26
 
27
+ require_relative 'version'
28
+
28
29
  module Ronin
29
30
  module Masscan
30
31
  #
@@ -2,7 +2,7 @@
2
2
  #
3
3
  # ronin-masscan - A Ruby library and CLI for working with masscan.
4
4
  #
5
- # Copyright (c) 2023-2024 Hal Brodigan (postmodern.mod3@gmail.com)
5
+ # Copyright (c) 2023-2025 Hal Brodigan (postmodern.mod3@gmail.com)
6
6
  #
7
7
  # ronin-masscan is free software: you can redistribute it and/or modify
8
8
  # it under the terms of the GNU Lesser General Public License as published
@@ -18,7 +18,7 @@
18
18
  # along with ronin-masscan. If not, see <https://www.gnu.org/licenses/>.
19
19
  #
20
20
 
21
- require 'ronin/masscan/converters'
21
+ require_relative 'converters'
22
22
 
23
23
  require 'masscan/output_file'
24
24
 
@@ -2,7 +2,7 @@
2
2
  #
3
3
  # ronin-masscan - A Ruby library and CLI for working with masscan.
4
4
  #
5
- # Copyright (c) 2023-2024 Hal Brodigan (postmodern.mod3@gmail.com)
5
+ # Copyright (c) 2023-2025 Hal Brodigan (postmodern.mod3@gmail.com)
6
6
  #
7
7
  # ronin-masscan is free software: you can redistribute it and/or modify
8
8
  # it under the terms of the GNU Lesser General Public License as published
@@ -2,7 +2,7 @@
2
2
  #
3
3
  # ronin-masscan - A Ruby library and CLI for working with masscan.
4
4
  #
5
- # Copyright (c) 2023-2024 Hal Brodigan (postmodern.mod3@gmail.com)
5
+ # Copyright (c) 2023-2025 Hal Brodigan (postmodern.mod3@gmail.com)
6
6
  #
7
7
  # ronin-masscan is free software: you can redistribute it and/or modify
8
8
  # it under the terms of the GNU Lesser General Public License as published
@@ -2,7 +2,7 @@
2
2
  #
3
3
  # ronin-masscan - A Ruby library and CLI for working with masscan.
4
4
  #
5
- # Copyright (c) 2023-2024 Hal Brodigan (postmodern.mod3@gmail.com)
5
+ # Copyright (c) 2023-2025 Hal Brodigan (postmodern.mod3@gmail.com)
6
6
  #
7
7
  # ronin-masscan is free software: you can redistribute it and/or modify
8
8
  # it under the terms of the GNU Lesser General Public License as published
@@ -18,8 +18,8 @@
18
18
  # along with ronin-masscan. If not, see <https://www.gnu.org/licenses/>.
19
19
  #
20
20
 
21
- require 'ronin/masscan/converters/json'
22
- require 'ronin/masscan/converters/csv'
21
+ require_relative 'converters/json'
22
+ require_relative 'converters/csv'
23
23
 
24
24
  module Ronin
25
25
  module Masscan
@@ -2,7 +2,7 @@
2
2
  #
3
3
  # ronin-masscan - A Ruby library and CLI for working with masscan.
4
4
  #
5
- # Copyright (c) 2023-2024 Hal Brodigan (postmodern.mod3@gmail.com)
5
+ # Copyright (c) 2023-2025 Hal Brodigan (postmodern.mod3@gmail.com)
6
6
  #
7
7
  # ronin-masscan is free software: you can redistribute it and/or modify
8
8
  # it under the terms of the GNU Lesser General Public License as published
@@ -2,7 +2,7 @@
2
2
  #
3
3
  # ronin-masscan - A Ruby library and CLI for working with masscan.
4
4
  #
5
- # Copyright (c) 2023-2024 Hal Brodigan (postmodern.mod3@gmail.com)
5
+ # Copyright (c) 2023-2025 Hal Brodigan (postmodern.mod3@gmail.com)
6
6
  #
7
7
  # ronin-masscan is free software: you can redistribute it and/or modify
8
8
  # it under the terms of the GNU Lesser General Public License as published
@@ -2,7 +2,7 @@
2
2
  #
3
3
  # ronin-masscan - A Ruby library and CLI for working with masscan.
4
4
  #
5
- # Copyright (c) 2023-2024 Hal Brodigan (postmodern.mod3@gmail.com)
5
+ # Copyright (c) 2023-2025 Hal Brodigan (postmodern.mod3@gmail.com)
6
6
  #
7
7
  # ronin-masscan is free software: you can redistribute it and/or modify
8
8
  # it under the terms of the GNU Lesser General Public License as published
@@ -2,7 +2,7 @@
2
2
  #
3
3
  # ronin-masscan - A Ruby library and CLI for working with masscan.
4
4
  #
5
- # Copyright (c) 2023-2024 Hal Brodigan (postmodern.mod3@gmail.com)
5
+ # Copyright (c) 2023-2025 Hal Brodigan (postmodern.mod3@gmail.com)
6
6
  #
7
7
  # ronin-masscan is free software: you can redistribute it and/or modify
8
8
  # it under the terms of the GNU Lesser General Public License as published
@@ -21,6 +21,6 @@
21
21
  module Ronin
22
22
  module Masscan
23
23
  # ronin-masscan version
24
- VERSION = '0.1.0.rc1'
24
+ VERSION = '0.1.1'
25
25
  end
26
26
  end
data/lib/ronin/masscan.rb CHANGED
@@ -2,7 +2,7 @@
2
2
  #
3
3
  # ronin-masscan - A Ruby library and CLI for working with masscan.
4
4
  #
5
- # Copyright (c) 2023-2024 Hal Brodigan (postmodern.mod3@gmail.com)
5
+ # Copyright (c) 2023-2025 Hal Brodigan (postmodern.mod3@gmail.com)
6
6
  #
7
7
  # ronin-masscan is free software: you can redistribute it and/or modify
8
8
  # it under the terms of the GNU Lesser General Public License as published
@@ -18,8 +18,9 @@
18
18
  # along with ronin-masscan. If not, see <https://www.gnu.org/licenses/>.
19
19
  #
20
20
 
21
- require 'ronin/masscan/exceptions'
22
- require 'ronin/masscan/importer'
21
+ require_relative 'masscan/exceptions'
22
+ require_relative 'masscan/importer'
23
+
23
24
  require 'ronin/core/home'
24
25
  require 'masscan/command'
25
26
  require 'masscan/output_file'
metadata CHANGED
@@ -1,15 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ronin-masscan
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0.rc1
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Postmodern
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-06-23 00:00:00.000000000 Z
11
+ date: 2025-02-15 00:00:00.000000000 Z
12
12
  dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: csv
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '3.0'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '3.0'
13
27
  - !ruby/object:Gem::Dependency
14
28
  name: ruby-masscan
15
29
  requirement: !ruby/object:Gem::Requirement
@@ -30,28 +44,28 @@ dependencies:
30
44
  requirements:
31
45
  - - "~>"
32
46
  - !ruby/object:Gem::Version
33
- version: 0.2.0.rc1
47
+ version: '0.2'
34
48
  type: :runtime
35
49
  prerelease: false
36
50
  version_requirements: !ruby/object:Gem::Requirement
37
51
  requirements:
38
52
  - - "~>"
39
53
  - !ruby/object:Gem::Version
40
- version: 0.2.0.rc1
54
+ version: '0.2'
41
55
  - !ruby/object:Gem::Dependency
42
56
  name: ronin-db
43
57
  requirement: !ruby/object:Gem::Requirement
44
58
  requirements:
45
59
  - - "~>"
46
60
  - !ruby/object:Gem::Version
47
- version: 0.2.0.rc1
61
+ version: '0.2'
48
62
  type: :runtime
49
63
  prerelease: false
50
64
  version_requirements: !ruby/object:Gem::Requirement
51
65
  requirements:
52
66
  - - "~>"
53
67
  - !ruby/object:Gem::Version
54
- version: 0.2.0.rc1
68
+ version: '0.2'
55
69
  - !ruby/object:Gem::Dependency
56
70
  name: bundler
57
71
  requirement: !ruby/object:Gem::Requirement
@@ -67,9 +81,9 @@ dependencies:
67
81
  - !ruby/object:Gem::Version
68
82
  version: '2.0'
69
83
  description: |
70
- ronin-masscan is a Ruby library for working with masscan. ronin-masscan can
71
- parse masscan scan files, convert masscan files into JSON or CSV, or import
72
- masscan scan data into the ronin-db database.
84
+ ronin-masscan is a Ruby library and CLI for working with masscan.
85
+ ronin-masscan can parse masscan scan files, convert masscan files into JSON or
86
+ CSV, or import masscan scan data into the ronin-db database.
73
87
  email: postmodern.mod3@gmail.com
74
88
  executables:
75
89
  - ronin-masscan
@@ -139,7 +153,7 @@ files:
139
153
  - scripts/setup
140
154
  homepage: https://ronin-rb.dev/
141
155
  licenses:
142
- - LGPL-3.0
156
+ - LGPL-3.0-or-later
143
157
  metadata:
144
158
  documentation_uri: https://ronin-rb.dev/docs/ronin-masscan
145
159
  source_code_uri: https://github.com/ronin-rb/ronin-masscan
@@ -161,7 +175,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
161
175
  - !ruby/object:Gem::Version
162
176
  version: '0'
163
177
  requirements: []
164
- rubygems_version: 3.3.27
178
+ rubygems_version: 3.5.22
165
179
  signing_key:
166
180
  specification_version: 4
167
181
  summary: A Ruby library and CLI for working with masscan.