ronin-fuzzer 0.2.0.rc1 → 0.2.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: edccc5c5cea21df73099b72674a6a8a64bb931034938176deea5f99635e9bca3
4
- data.tar.gz: 2a58b89b4b6a413d848988982ffdb6955989fea13a6f8bf343b9a3d12db92df9
3
+ metadata.gz: 0a103561af484214e0b8ab02e4da324be41eda5ebdb2eeee4d6b262125b23d19
4
+ data.tar.gz: a6db4705f1dff34a3539615feee23e5924a32136c2d0fe1b0af26c5f8dc2732f
5
5
  SHA512:
6
- metadata.gz: bcf089a1588bbc3335471e78ca4ec4f2f33603956b00bc7d9cb039f7060f96a0fc1d11c2501507d1222c6b44901d32da7681ecdb4e475f07f67e9b091030157e
7
- data.tar.gz: cd035b5a174944c3a73184510470818bfaacc1228b8003d0bbe4fa56038bd932d862cba524e1fe1c760d1a68b5858aa2b1a8a7d547c3d0a17414e37d7d71a114
6
+ metadata.gz: 2da48ce9d52caa355992e4acaa196dbfe2b9d7f90dff7371939c154f884779f0fe612a4180faa92fcc6dc2d9a06f08093cd8efbf2ec81e53d6d37ef6a7e5f65a
7
+ data.tar.gz: b74295333b7749c2a7cfcde845ebcf3f19383e06a8aefe04337cd3a2761f2cf961120e980ad9b58ad26ab89716e03fd798fe658fb40d5052bffae1331e5e9d2f
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- ruby-3.1
1
+ ruby-3.3
data/ChangeLog.md CHANGED
@@ -1,4 +1,4 @@
1
- ### 0.2.0 / 2024-XX-XX
1
+ ### 0.2.0 / 2024-07-22
2
2
 
3
3
  #### CLI
4
4
 
@@ -11,7 +11,7 @@ _ronin-fuzzer_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,27 +29,27 @@ _ronin-fuzzer_completions() {
29
29
 
30
30
  case "$compline" in
31
31
  'fuzz'*'--input')
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
  'completion'*)
36
- while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -W "$(_ronin-fuzzer_completions_filter "--print --install --uninstall")" -- "$cur" )
36
+ while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -W "$(_ronin-fuzzer_completions_filter "--print --install --uninstall")" -- "$cur")
37
37
  ;;
38
38
 
39
39
  'fuzz'*'-i')
40
- while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -A file -- "$cur" )
40
+ while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur")
41
41
  ;;
42
42
 
43
43
  'fuzz'*)
44
- while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -W "$(_ronin-fuzzer_completions_filter "--input -i --rules -r --output -o --command -c --tcp -t --udp -u --pause -p")" -- "$cur" )
44
+ while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -W "$(_ronin-fuzzer_completions_filter "--input -i --rules -r --output -o --command -c --tcp -t --udp -u --pause -p")" -- "$cur")
45
45
  ;;
46
46
 
47
47
  *)
48
- while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -W "$(_ronin-fuzzer_completions_filter "help completion fuzz")" -- "$cur" )
48
+ while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -W "$(_ronin-fuzzer_completions_filter "--version -V help completion fuzz")" -- "$cur")
49
49
  ;;
50
50
 
51
51
  esac
52
52
  } &&
53
- complete -F _ronin-fuzzer_completions ronin-fuzzer
53
+ complete -F _ronin-fuzzer_completions ronin-fuzzer
54
54
 
55
55
  # ex: filetype=sh
data/gemspec.yml CHANGED
@@ -28,7 +28,7 @@ dependencies:
28
28
  combinatorics: ~> 0.4
29
29
  # Ronin dependencies:
30
30
  ronin-support: ~> 1.0
31
- ronin-core: ~> 0.2.0.rc1
31
+ ronin-core: ~> 0.2
32
32
 
33
33
  development_dependencies:
34
34
  bundler: ~> 2.0
@@ -21,6 +21,10 @@
21
21
 
22
22
  require 'command_kit/commands'
23
23
  require 'command_kit/commands/auto_load'
24
+ require 'command_kit/options/version'
25
+
26
+ require 'ronin/core/cli/command'
27
+ require 'ronin/core/cli/help/banner'
24
28
 
25
29
  module Ronin
26
30
  module Fuzzer
@@ -31,8 +35,11 @@ module Ronin
31
35
  dir: "#{__dir__}/cli/commands",
32
36
  namespace: "#{self}::Commands"
33
37
  )
38
+ include CommandKit::Options::Version
39
+ include Core::CLI::Help::Banner
34
40
 
35
41
  command_name 'ronin-fuzzer'
42
+ version Ronin::Fuzzer::VERSION
36
43
 
37
44
  end
38
45
  end
@@ -22,6 +22,6 @@
22
22
  module Ronin
23
23
  module Fuzzer
24
24
  # ronin-fuzzer version
25
- VERSION = '0.2.0.rc1'
25
+ VERSION = '0.2.0'
26
26
  end
27
27
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ronin-fuzzer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0.rc1
4
+ version: 0.2.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: combinatorics
@@ -44,14 +44,14 @@ dependencies:
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
@@ -135,7 +135,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
135
135
  - !ruby/object:Gem::Version
136
136
  version: '0'
137
137
  requirements: []
138
- rubygems_version: 3.3.27
138
+ rubygems_version: 3.5.11
139
139
  signing_key:
140
140
  specification_version: 4
141
141
  summary: A highly configurable fuzzing library and CLI for Ruby.