ronin-vulns 0.2.0.rc1 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.ruby-version +1 -1
- data/ChangeLog.md +1 -1
- data/data/completions/ronin-vulns +40 -40
- data/gemspec.yml +2 -2
- data/lib/ronin/vulns/cli.rb +2 -0
- data/lib/ronin/vulns/version.rb +1 -1
- metadata +7 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4f85a5bba0bb4a422a95316e0dddb0c7bc6dace635dacdfb70383ac925dbbab5
|
4
|
+
data.tar.gz: 800a23af5c4644241de686603742f4cf83ea6fb470c040b2f19107078c4489bd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b297246e840a328cac9da408fc5f9721c0d23b586cda220be8343ee106e52a4f24a04d62ba58796ea2bdbcb3626f6dffaa6b9d38a6b72323eb7423c2efaa3437
|
7
|
+
data.tar.gz: f7f0b65146e05e9480395c6cb0f97affb2bd2f269322a097bece4c66f54c12aa9c3e3662603bed4b5199a2e6e9432b9d016fc6845f5ab6d937a385da40afce33
|
data/.ruby-version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
ruby-3.
|
1
|
+
ruby-3.3
|
data/ChangeLog.md
CHANGED
@@ -11,7 +11,7 @@ _ronin-vulns_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,111 +29,111 @@ _ronin-vulns_completions() {
|
|
29
29
|
|
30
30
|
case "$compline" in
|
31
31
|
'command_injection'*'--input')
|
32
|
-
while read -r; do COMPREPLY+=(
|
32
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur")
|
33
33
|
;;
|
34
34
|
|
35
|
-
'
|
36
|
-
while read -r; do COMPREPLY+=(
|
35
|
+
'reflected_xss'*'--input')
|
36
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur")
|
37
37
|
;;
|
38
38
|
|
39
|
-
'
|
40
|
-
while read -r; do COMPREPLY+=(
|
39
|
+
'open_redirect'*'--input')
|
40
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur")
|
41
41
|
;;
|
42
42
|
|
43
43
|
'command_injection'*'-i')
|
44
|
-
while read -r; do COMPREPLY+=(
|
44
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur")
|
45
45
|
;;
|
46
46
|
|
47
47
|
'command_injection'*)
|
48
|
-
while read -r; do COMPREPLY+=(
|
49
|
-
;;
|
50
|
-
|
51
|
-
'open_redirect'*'-i')
|
52
|
-
while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -A file -- "$cur" )
|
48
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -W "$(_ronin-vulns_completions_filter "--db --db-uri --db-file --import --first -F --all -A --print-curl --print-http --request-method -M --header -H --user-agent-string -U --user-agent -u --cookie -C --cookie-param -c --referer -R --form-param -F --test-query-param --test-all-query-params --test-header-name --test-cookie-param --test-all-cookie-params --test-form-param --test-all-form-params --input -i --escape-quote -Q --escape-operator -O --terminator -T")" -- "$cur")
|
53
49
|
;;
|
54
50
|
|
55
51
|
'reflected_xss'*'-i')
|
56
|
-
while read -r; do COMPREPLY+=(
|
52
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur")
|
57
53
|
;;
|
58
54
|
|
59
|
-
'open_redirect'*)
|
60
|
-
while read -r; do COMPREPLY+=(
|
55
|
+
'open_redirect'*'-i')
|
56
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur")
|
61
57
|
;;
|
62
58
|
|
63
59
|
'reflected_xss'*)
|
64
|
-
while read -r; do COMPREPLY+=(
|
60
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -W "$(_ronin-vulns_completions_filter "--db --db-uri --db-file --import --first -F --all -A --print-curl --print-http --request-method -M --header -H --user-agent-string -U --user-agent -u --cookie -C --cookie-param -c --referer -R --form-param -F --test-query-param --test-all-query-params --test-header-name --test-cookie-param --test-all-cookie-params --test-form-param --test-all-form-params --input -i")" -- "$cur")
|
61
|
+
;;
|
62
|
+
|
63
|
+
'open_redirect'*)
|
64
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -W "$(_ronin-vulns_completions_filter "--db --db-uri --db-file --import --first -F --all -A --print-curl --print-http --request-method -M --header -H --user-agent-string -U --user-agent -u --cookie -C --cookie-param -c --referer -R --form-param -F --test-query-param --test-all-query-params --test-header-name --test-cookie-param --test-all-cookie-params --test-form-param --test-all-form-params --input -i --test-url -T")" -- "$cur")
|
65
65
|
;;
|
66
66
|
|
67
67
|
'scan'*'--input')
|
68
|
-
while read -r; do COMPREPLY+=(
|
68
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur")
|
69
69
|
;;
|
70
70
|
|
71
71
|
'sqli'*'--input')
|
72
|
-
while read -r; do COMPREPLY+=(
|
72
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur")
|
73
73
|
;;
|
74
74
|
|
75
75
|
'ssti'*'--input')
|
76
|
-
while read -r; do COMPREPLY+=(
|
76
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur")
|
77
77
|
;;
|
78
78
|
|
79
79
|
'lfi'*'--input')
|
80
|
-
while read -r; do COMPREPLY+=(
|
80
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur")
|
81
81
|
;;
|
82
82
|
|
83
83
|
'rfi'*'--input')
|
84
|
-
while read -r; do COMPREPLY+=(
|
84
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur")
|
85
85
|
;;
|
86
86
|
|
87
87
|
'completion'*)
|
88
|
-
while read -r; do COMPREPLY+=(
|
88
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -W "$(_ronin-vulns_completions_filter "--print --install --uninstall")" -- "$cur")
|
89
89
|
;;
|
90
90
|
|
91
|
-
'
|
92
|
-
while read -r; do COMPREPLY+=(
|
91
|
+
'sqli'*'-i')
|
92
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur")
|
93
93
|
;;
|
94
94
|
|
95
|
-
'
|
96
|
-
while read -r; do COMPREPLY+=(
|
95
|
+
'scan'*'-i')
|
96
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur")
|
97
97
|
;;
|
98
98
|
|
99
99
|
'ssti'*'-i')
|
100
|
-
while read -r; do COMPREPLY+=(
|
100
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur")
|
101
101
|
;;
|
102
102
|
|
103
|
-
'
|
104
|
-
while read -r; do COMPREPLY+=(
|
103
|
+
'rfi'*'-i')
|
104
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur")
|
105
105
|
;;
|
106
106
|
|
107
|
-
'
|
108
|
-
while read -r; do COMPREPLY+=(
|
107
|
+
'lfi'*'-i')
|
108
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur")
|
109
109
|
;;
|
110
110
|
|
111
111
|
'scan'*)
|
112
|
-
while read -r; do COMPREPLY+=(
|
112
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -W "$(_ronin-vulns_completions_filter "--db --db-uri --db-file --import --first -F --all -A --print-curl --print-http --request-method -M --header -H --user-agent-string -U --user-agent -u --cookie -C --cookie-param -c --referer -R --form-param -F --test-query-param --test-all-query-params --test-header-name --test-cookie-param --test-all-cookie-params --test-form-param --test-all-form-params --input -i --lfi-os --lfi-depth --lfi-filter-bypass --rfi-filter-bypass --rfi-script-lang --rfi-test-script-url --sqli-escape-quote --sqli-escape-parens --sqli-terminate --ssti-test-expr --open-redirect-url")" -- "$cur")
|
113
113
|
;;
|
114
114
|
|
115
115
|
'sqli'*)
|
116
|
-
while read -r; do COMPREPLY+=(
|
116
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -W "$(_ronin-vulns_completions_filter "--db --db-uri --db-file --import --first -F --all -A --print-curl --print-http --request-method -M --header -H --user-agent-string -U --user-agent -u --cookie -C --cookie-param -c --referer -R --form-param -F --test-query-param --test-all-query-params --test-header-name --test-cookie-param --test-all-cookie-params --test-form-param --test-all-form-params --input -i --escape-quote -Q --escape-parens -P --terminate -T")" -- "$cur")
|
117
117
|
;;
|
118
118
|
|
119
119
|
'ssti'*)
|
120
|
-
while read -r; do COMPREPLY+=(
|
120
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -W "$(_ronin-vulns_completions_filter "--db --db-uri --db-file --import --first -F --all -A --print-curl --print-http --request-method -M --header -H --user-agent-string -U --user-agent -u --cookie -C --cookie-param -c --referer -R --form-param -F --test-query-param --test-all-query-params --test-header-name --test-cookie-param --test-all-cookie-params --test-form-param --test-all-form-params --input -i --test-expr -T")" -- "$cur")
|
121
121
|
;;
|
122
122
|
|
123
|
-
'
|
124
|
-
while read -r; do COMPREPLY+=(
|
123
|
+
'rfi'*)
|
124
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -W "$(_ronin-vulns_completions_filter "--db --db-uri --db-file --import --first -F --all -A --print-curl --print-http --request-method -M --header -H --user-agent-string -U --user-agent -u --cookie -C --cookie-param -c --referer -R --form-param -F --test-query-param --test-all-query-params --test-header-name --test-cookie-param --test-all-cookie-params --test-form-param --test-all-form-params --input -i --filter-bypass -B --script-lang -S --test-script-url -T")" -- "$cur")
|
125
125
|
;;
|
126
126
|
|
127
|
-
'
|
128
|
-
while read -r; do COMPREPLY+=(
|
127
|
+
'lfi'*)
|
128
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -W "$(_ronin-vulns_completions_filter "--db --db-uri --db-file --import --first -F --all -A --print-curl --print-http --request-method -M --header -H --user-agent-string -U --user-agent -u --cookie -C --cookie-param -c --referer -R --form-param -F --test-query-param --test-all-query-params --test-header-name --test-cookie-param --test-all-cookie-params --test-form-param --test-all-form-params --input -i --os -O --depth -D --filter-bypass -B")" -- "$cur")
|
129
129
|
;;
|
130
130
|
|
131
131
|
*)
|
132
|
-
while read -r; do COMPREPLY+=(
|
132
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -W "$(_ronin-vulns_completions_filter "--version -V help command-injection completion irb lfi open-redirect reflected-xss rfi scan sqli ssti xss cmdi")" -- "$cur")
|
133
133
|
;;
|
134
134
|
|
135
135
|
esac
|
136
136
|
} &&
|
137
|
-
complete -F _ronin-vulns_completions ronin-vulns
|
137
|
+
complete -F _ronin-vulns_completions ronin-vulns
|
138
138
|
|
139
139
|
# ex: filetype=sh
|
data/gemspec.yml
CHANGED
data/lib/ronin/vulns/cli.rb
CHANGED
@@ -19,6 +19,7 @@
|
|
19
19
|
#
|
20
20
|
|
21
21
|
require 'ronin/vulns/version'
|
22
|
+
require 'ronin/core/cli/help/banner'
|
22
23
|
|
23
24
|
require 'command_kit/commands'
|
24
25
|
require 'command_kit/commands/auto_load'
|
@@ -39,6 +40,7 @@ module Ronin
|
|
39
40
|
namespace: "#{self}::Commands"
|
40
41
|
)
|
41
42
|
include CommandKit::Options::Version
|
43
|
+
include Core::CLI::Help::Banner
|
42
44
|
|
43
45
|
command_name 'ronin-vulns'
|
44
46
|
version Ronin::Vulns::VERSION
|
data/lib/ronin/vulns/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ronin-vulns
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.0
|
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-
|
11
|
+
date: 2024-07-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: ronin-support
|
@@ -36,28 +36,28 @@ dependencies:
|
|
36
36
|
requirements:
|
37
37
|
- - "~>"
|
38
38
|
- !ruby/object:Gem::Version
|
39
|
-
version: 0.2
|
39
|
+
version: '0.2'
|
40
40
|
type: :runtime
|
41
41
|
prerelease: false
|
42
42
|
version_requirements: !ruby/object:Gem::Requirement
|
43
43
|
requirements:
|
44
44
|
- - "~>"
|
45
45
|
- !ruby/object:Gem::Version
|
46
|
-
version: 0.2
|
46
|
+
version: '0.2'
|
47
47
|
- !ruby/object:Gem::Dependency
|
48
48
|
name: ronin-db
|
49
49
|
requirement: !ruby/object:Gem::Requirement
|
50
50
|
requirements:
|
51
51
|
- - "~>"
|
52
52
|
- !ruby/object:Gem::Version
|
53
|
-
version: 0.2
|
53
|
+
version: '0.2'
|
54
54
|
type: :runtime
|
55
55
|
prerelease: false
|
56
56
|
version_requirements: !ruby/object:Gem::Requirement
|
57
57
|
requirements:
|
58
58
|
- - "~>"
|
59
59
|
- !ruby/object:Gem::Version
|
60
|
-
version: 0.2
|
60
|
+
version: '0.2'
|
61
61
|
- !ruby/object:Gem::Dependency
|
62
62
|
name: bundler
|
63
63
|
requirement: !ruby/object:Gem::Requirement
|
@@ -190,7 +190,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
190
190
|
- !ruby/object:Gem::Version
|
191
191
|
version: '0'
|
192
192
|
requirements: []
|
193
|
-
rubygems_version: 3.
|
193
|
+
rubygems_version: 3.5.11
|
194
194
|
signing_key:
|
195
195
|
specification_version: 4
|
196
196
|
summary: Tests URLs for Local File Inclusion (LFI), Remove File Inclusion (RFI), SQL
|