ronin-masscan 0.1.0.rc1 → 0.1.0

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e0c3a282cb33716e8205bce6f3a3730995665d1c1f2c1a4eae901304567aa4d0
4
- data.tar.gz: e27dfa90ab3baa821ea5571f43646cbdc52d1c7effdade086cb22ba62342a3d8
3
+ metadata.gz: 62b7c45101a6fc7dda049a7df520a6e9c7cd712d25c068133cb2166be33156e9
4
+ data.tar.gz: 444cb4b1fa41012ad18168a0829d8281cd77e2e01dc15ef774e8f02e4614c297
5
5
  SHA512:
6
- metadata.gz: 8f741731aa217b4f3ce680f7b049fa86d70f9a31e936ba14578fe73b9e9e0e88e0de19afcde7b561787e884a1cbebee96ef83ef0c171286cbf666f127bd345e1
7
- data.tar.gz: ce1443615a48d87cad8da2f05bd0cde71c09f39008f749d4d1869f71e74c9a827a2c940640f88d7f7bd635e57e58c7c830c9f23846caa30d018d5787a81a6112
6
+ metadata.gz: bfd1f6e93dd580143a4d0c6ce8fd1d050f43b42e23a45aa5a9824cb466ae1f19883506a94cb9c187027057e4044ecd60a40aa211abc7912e1325e0366529881f
7
+ data.tar.gz: 47bf8fd965bebb3051d02326a1be7f9060a2149efbb11c9f75c7352e37b9d00a40e4831bc8f34a0fbd70de981b814cef909c1b06fb4e58cf7818356ab8196bcb
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- ruby-3.1
1
+ ruby-3.3
data/ChangeLog.md CHANGED
@@ -1,4 +1,4 @@
1
- ### 0.1.0 / 2024-XX-XX
1
+ ### 0.1.0 / 2024-07-22
2
2
 
3
3
  * Initial release:
4
4
  * Supports automating `masscan` using [ruby-masscan].
@@ -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,55 @@ _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
33
  ;;
34
34
 
35
35
  'scan'*'--output')
36
- while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -A file -- "$cur" )
36
+ while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur")
37
37
  ;;
38
38
 
39
39
  'completion'*)
40
- while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -W "$(_ronin-masscan_completions_filter "--print --install --uninstall")" -- "$cur" )
40
+ while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -W "$(_ronin-masscan_completions_filter "--print --install --uninstall")" -- "$cur")
41
41
  ;;
42
42
 
43
43
  'convert'*)
44
- while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -A file -W "$(_ronin-masscan_completions_filter "--input-format -I --format -F")" -- "$cur" )
44
+ while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -W "$(_ronin-masscan_completions_filter "--input-format -I --format -F")" -- "$cur")
45
45
  ;;
46
46
 
47
47
  'scan'*'-o')
48
- while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -A file -- "$cur" )
48
+ while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur")
49
49
  ;;
50
50
 
51
51
  '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" )
52
+ while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -W "$(_ronin-masscan_completions_filter "--db --db-uri --db-file --format -F")" -- "$cur")
53
53
  ;;
54
54
 
55
55
  '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" )
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")
57
57
  ;;
58
58
 
59
59
  '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" )
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")
61
61
  ;;
62
62
 
63
63
  '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" )
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")
65
65
  ;;
66
66
 
67
67
  '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" )
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")
69
69
  ;;
70
70
 
71
71
  '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" )
72
+ while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -W "$(_ronin-masscan_completions_filter "--parser --scanner --printing --import --output-file --ports -p --ips")" -- "$cur")
73
73
  ;;
74
74
 
75
75
  *)
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" )
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")
77
77
  ;;
78
78
 
79
79
  esac
80
80
  } &&
81
- complete -F _ronin-masscan_completions ronin-masscan
81
+ complete -F _ronin-masscan_completions ronin-masscan
82
82
 
83
83
  # ex: filetype=sh
data/gemspec.yml CHANGED
@@ -1,9 +1,9 @@
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
8
  license: LGPL-3.0
9
9
  authors: Postmodern
@@ -35,8 +35,8 @@ required_ruby_version: ">= 3.0.0"
35
35
  dependencies:
36
36
  ruby-masscan: ~> 0.1
37
37
  # Ronin dependencies:
38
- ronin-core: ~> 0.2.0.rc1
39
- ronin-db: ~> 0.2.0.rc1
38
+ ronin-core: ~> 0.2
39
+ ronin-db: ~> 0.2
40
40
 
41
41
  development_dependencies:
42
42
  bundler: ~> 2.0
@@ -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.0'
25
25
  end
26
26
  end
metadata CHANGED
@@ -1,14 +1,14 @@
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.0
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: 2024-07-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ruby-masscan
@@ -30,28 +30,28 @@ dependencies:
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: 0.2.0.rc1
33
+ version: '0.2'
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.2.0.rc1
40
+ version: '0.2'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: ronin-db
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: 0.2.0.rc1
47
+ version: '0.2'
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: 0.2.0.rc1
54
+ version: '0.2'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: bundler
57
57
  requirement: !ruby/object:Gem::Requirement
@@ -67,9 +67,9 @@ dependencies:
67
67
  - !ruby/object:Gem::Version
68
68
  version: '2.0'
69
69
  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.
70
+ ronin-masscan is a Ruby library and CLI for working with masscan.
71
+ ronin-masscan can parse masscan scan files, convert masscan files into JSON or
72
+ CSV, or import masscan scan data into the ronin-db database.
73
73
  email: postmodern.mod3@gmail.com
74
74
  executables:
75
75
  - ronin-masscan
@@ -161,7 +161,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
161
161
  - !ruby/object:Gem::Version
162
162
  version: '0'
163
163
  requirements: []
164
- rubygems_version: 3.3.27
164
+ rubygems_version: 3.5.11
165
165
  signing_key:
166
166
  specification_version: 4
167
167
  summary: A Ruby library and CLI for working with masscan.