ronin-nmap 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 +4 -4
- data/.ruby-version +1 -1
- data/ChangeLog.md +1 -1
- data/data/completions/ronin-nmap +13 -13
- data/gemspec.yml +4 -4
- data/lib/ronin/nmap/version.rb +1 -1
- metadata +9 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4aaba0923ea4e773c104616b0e7bcbdaa8b73f298e1d0d96b9ce0a76531a387a
|
4
|
+
data.tar.gz: 62a5c3ca55c06c0ce22c0cd93f7e0a6cc8cc46c6b8ebe7752201066699a66e3e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a8240b4f6456c83aff2adea4e133d14f2b2381b7cecb5e5a17db3643fcb2f952cb0be959e7830af822896cb0c097671b4b1a7ded35ebe8c362cb2e148200b0d6
|
7
|
+
data.tar.gz: 38fff6cf2afd7fa2cca204059cbb6b91907811b979f7ff9dc12df8d34348c98c63789176b9e655e29d9f2359338f08f751d8520dcead854bf2b6359277a8ae42
|
data/.ruby-version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
ruby-3.
|
1
|
+
ruby-3.3
|
data/ChangeLog.md
CHANGED
data/data/completions/ronin-nmap
CHANGED
@@ -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+=(
|
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+=(
|
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+=(
|
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+=(
|
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+=(
|
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+=(
|
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+=(
|
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+=(
|
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+=(
|
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+=(
|
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+=(
|
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
|
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
|
39
|
-
ronin-db: ~> 0.2
|
38
|
+
ronin-core: ~> 0.2
|
39
|
+
ronin-db: ~> 0.2
|
40
40
|
|
41
41
|
development_dependencies:
|
42
42
|
bundler: ~> 2.0
|
data/lib/ronin/nmap/version.rb
CHANGED
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
|
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-
|
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
|
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
|
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
|
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
|
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
|
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.
|
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.
|