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 +4 -4
- data/.ruby-version +1 -1
- data/ChangeLog.md +1 -1
- data/data/completions/ronin-masscan +14 -14
- data/gemspec.yml +5 -5
- data/lib/ronin/masscan/version.rb +1 -1
- metadata +10 -10
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 62b7c45101a6fc7dda049a7df520a6e9c7cd712d25c068133cb2166be33156e9
|
4
|
+
data.tar.gz: 444cb4b1fa41012ad18168a0829d8281cd77e2e01dc15ef774e8f02e4614c297
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bfd1f6e93dd580143a4d0c6ce8fd1d050f43b42e23a45aa5a9824cb466ae1f19883506a94cb9c187027057e4044ecd60a40aa211abc7912e1325e0366529881f
|
7
|
+
data.tar.gz: 47bf8fd965bebb3051d02326a1be7f9060a2149efbb11c9f75c7352e37b9d00a40e4831bc8f34a0fbd70de981b814cef909c1b06fb4e58cf7818356ab8196bcb
|
data/.ruby-version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
ruby-3.
|
1
|
+
ruby-3.3
|
data/ChangeLog.md
CHANGED
@@ -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+=(
|
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-masscan_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-masscan_completions_filter "--input-format -I --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-masscan_completions_filter "--db --db-uri --db-file --format -F")" -- "$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-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+=(
|
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+=(
|
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+=(
|
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+=(
|
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+=(
|
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.
|
5
|
-
parse masscan scan files, convert masscan files into JSON or
|
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
|
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
|
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
|
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-masscan
|
@@ -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,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.
|
71
|
-
parse masscan scan files, convert masscan files into JSON or
|
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.
|
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.
|