ronin-nmap 0.1.0.rc1 → 0.1.0

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: 555ce2b5491e4a0a1ce2dd0fa9fc72f1e08b9112e278b1f867ea3e27a697ff65
4
- data.tar.gz: 1f80b02966fc0d67052da39abca3bec7da09113b1682371190803b838f4f62b7
3
+ metadata.gz: 4aaba0923ea4e773c104616b0e7bcbdaa8b73f298e1d0d96b9ce0a76531a387a
4
+ data.tar.gz: 62a5c3ca55c06c0ce22c0cd93f7e0a6cc8cc46c6b8ebe7752201066699a66e3e
5
5
  SHA512:
6
- metadata.gz: 2e014461fb8addf6d3fac68691b6c22c9ef7543b9d9bd6bfadf9a4789a2f9f310ea3598b42ee6c0ecb183a07816c3d4c51acb7a4dc94cd0e58a1051d7e84a11d
7
- data.tar.gz: 156d5eefea7182531f1c31f0f9222697631e057f8fc18e09c78bb86761a3635224ff3ca720869ecb9c86700b1df91472e1fb6848f7bc354ac96abfe9e0b9eb69
6
+ metadata.gz: a8240b4f6456c83aff2adea4e133d14f2b2381b7cecb5e5a17db3643fcb2f952cb0be959e7830af822896cb0c097671b4b1a7ded35ebe8c362cb2e148200b0d6
7
+ data.tar.gz: 38fff6cf2afd7fa2cca204059cbb6b91907811b979f7ff9dc12df8d34348c98c63789176b9e655e29d9f2359338f08f751d8520dcead854bf2b6359277a8ae42
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 `nmap` using [ruby-nmap].
@@ -11,7 +11,7 @@ _ronin-nmap_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,51 +29,51 @@ _ronin-nmap_completions() {
29
29
 
30
30
  case "$compline" in
31
31
  'new'*'--xml-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-nmap_completions_filter "--print --install --uninstall")" -- "$cur" )
40
+ while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -W "$(_ronin-nmap_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-nmap_completions_filter "--format -F")" -- "$cur" )
44
+ while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -W "$(_ronin-nmap_completions_filter "--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-nmap_completions_filter "--db --db-uri --db-file")" -- "$cur" )
52
+ while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -W "$(_ronin-nmap_completions_filter "--db --db-uri --db-file")" -- "$cur")
53
53
  ;;
54
54
 
55
55
  'print'*)
56
- while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -W "$(_ronin-nmap_completions_filter "--ip --ip-range --domain --with-os --with-ports --with-service --with-script --with-script-output --with-script-regex")" -- "$cur" )
56
+ while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -W "$(_ronin-nmap_completions_filter "--ip --ip-range --domain --with-os --with-ports --with-service --with-script --with-script-output --with-script-regex")" -- "$cur")
57
57
  ;;
58
58
 
59
59
  'dump'*)
60
- while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -W "$(_ronin-nmap_completions_filter "--print-ips --print-hosts --print-ip-ports --print-host-ports --print-uris --ip --ip-range --domain --with-os --with-ports --with-service --with-script --with-script-output --with-script-regex --ports -p --services")" -- "$cur" )
60
+ while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -W "$(_ronin-nmap_completions_filter "--print-ips --print-hosts --print-ip-ports --print-host-ports --print-uris --ip --ip-range --domain --with-os --with-ports --with-service --with-script --with-script-output --with-script-regex --ports -p --services")" -- "$cur")
61
61
  ;;
62
62
 
63
63
  'scan'*)
64
- while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -W "$(_ronin-nmap_completions_filter "--db --db-uri --db-file --sudo --output -o --output-format -F --import")" -- "$cur" )
64
+ while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -W "$(_ronin-nmap_completions_filter "--db --db-uri --db-file --sudo --output -o --output-format -F --import")" -- "$cur")
65
65
  ;;
66
66
 
67
67
  'new'*)
68
- while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -W "$(_ronin-nmap_completions_filter "--parser --scanner --printing --import --xml-file --syn-scan --ports -p --target")" -- "$cur" )
68
+ while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -W "$(_ronin-nmap_completions_filter "--parser --scanner --printing --import --xml-file --syn-scan --ports -p --target")" -- "$cur")
69
69
  ;;
70
70
 
71
71
  *)
72
- while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -W "$(_ronin-nmap_completions_filter "--version -V help completion convert dump grep import new print scan")" -- "$cur" )
72
+ while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -W "$(_ronin-nmap_completions_filter "--version -V help completion convert dump grep import new print scan")" -- "$cur")
73
73
  ;;
74
74
 
75
75
  esac
76
76
  } &&
77
- complete -F _ronin-nmap_completions ronin-nmap
77
+ complete -F _ronin-nmap_completions ronin-nmap
78
78
 
79
79
  # ex: filetype=sh
data/gemspec.yml CHANGED
@@ -1,8 +1,8 @@
1
1
  name: ronin-nmap
2
2
  summary: A Ruby library and CLI for working with nmap.
3
3
  description: |
4
- ronin-nmap is a Ruby library for working with nmap. ronin-nmap can parse
5
- nmap XML, convert nmap XML into JSON or CSV, or import nmap XML into the
4
+ ronin-nmap is a Ruby library and CLI for working with nmap. ronin-nmap can
5
+ parse nmap XML, convert nmap XML into JSON or CSV, or import nmap XML into the
6
6
  ronin-db database.
7
7
 
8
8
  license: LGPL-3.0
@@ -35,8 +35,8 @@ required_ruby_version: ">= 3.0.0"
35
35
  dependencies:
36
36
  ruby-nmap: ~> 1.0
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 Nmap
23
23
  # ronin-nmap 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-nmap
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-nmap
@@ -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,8 +67,8 @@ dependencies:
67
67
  - !ruby/object:Gem::Version
68
68
  version: '2.0'
69
69
  description: |
70
- ronin-nmap is a Ruby library for working with nmap. ronin-nmap can parse
71
- nmap XML, convert nmap XML into JSON or CSV, or import nmap XML into the
70
+ ronin-nmap is a Ruby library and CLI for working with nmap. ronin-nmap can
71
+ parse nmap XML, convert nmap XML into JSON or CSV, or import nmap XML into the
72
72
  ronin-db database.
73
73
  email: postmodern.mod3@gmail.com
74
74
  executables:
@@ -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 nmap.