ronin-exploits 1.1.0.rc2 → 1.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1ffd8a91a46c0ef7c6f51b67d888982105e70c89dd5426ef8618ab100ce7e85e
4
- data.tar.gz: c606a18604302c7f7525c5e694a739aa9a8f27d7e27dd6ade459d7afe85493c4
3
+ metadata.gz: 4c534ea93cf254811c9befdf81e9b1a33bdde7ebd77acde64ed48a61c1cd1336
4
+ data.tar.gz: 77ae62bfc8c746f95879bef981907d9d690b320a9228b504a406ac4a24696309
5
5
  SHA512:
6
- metadata.gz: bb0f78b1aebef5d68bb442b89bd710a839e4d983718fcf86d3a77841351f6b5d068e3846e866cde1130562bb416a60fb7fbfa115ebe1a2693fac2d2367eab04b
7
- data.tar.gz: b5164f3d77bc186c788dea751591d9a76469157b3d3fc390d37ef6c1c21343e24564ed4c7d0e84e878e4f56447acd5f21ae6f2161f1737e68c38a682c33be8c9
6
+ metadata.gz: cfde36c4b8ef4d5a0b3a87d8213e7e358d2e040d421288829f3b557f88f6069427666d8aa37f89397782cc059b48bd17897e4f0465dee3f933231a9b1e56d7c2
7
+ data.tar.gz: b7310990fd4c87e449b3ff370c96804a6cbcf291e7f7824ea4bf6bd63268fc4104a93eb78ced62bcfa5b0608deacc3cad93a78fe60e6e86dae7713b02c879507
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- ruby-3.1
1
+ ruby-3.3
data/ChangeLog.md CHANGED
@@ -1,4 +1,4 @@
1
- ### 1.1.0 / 2024-XX-XX
1
+ ### 1.1.0 / 2024-07-22
2
2
 
3
3
  * Added {Ronin::Exploits::CommandInjection}.
4
4
  * Allow `:untested` as a value for {Ronin::Exploits::Exploit.quality}.
@@ -11,7 +11,7 @@ _ronin-exploits_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,83 +29,83 @@ _ronin-exploits_completions() {
29
29
 
30
30
  case "$compline" in
31
31
  'run'*'--payload-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
  'run'*'--read-payload')
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
  'run'*'--encoder-file')
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
  'run'*'--save-loot')
44
- while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -A directory -- "$cur" )
44
+ while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A directory -- "$cur")
45
45
  ;;
46
46
 
47
- 'run'*'--encoder')
48
- while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -W "$(_ronin-exploits_completions_filter "$(ronin-payloads encoders)")" -- "$cur" )
47
+ 'run'*'--payload')
48
+ while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -W "$(_ronin-exploits_completions_filter "$(ronin-payloads list)")" -- "$cur")
49
49
  ;;
50
50
 
51
- 'run'*'--payload')
52
- while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -W "$(_ronin-exploits_completions_filter "$(ronin-payloads list)")" -- "$cur" )
51
+ 'run'*'--encoder')
52
+ while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -W "$(_ronin-exploits_completions_filter "$(ronin-payloads encoders)")" -- "$cur")
53
53
  ;;
54
54
 
55
55
  'show'*'--file')
56
- while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -A file -- "$cur" )
56
+ while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur")
57
57
  ;;
58
58
 
59
59
  'completion'*)
60
- while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -W "$(_ronin-exploits_completions_filter "--print --install --uninstall")" -- "$cur" )
60
+ while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -W "$(_ronin-exploits_completions_filter "--print --install --uninstall")" -- "$cur")
61
61
  ;;
62
62
 
63
63
  'run'*'--file')
64
- while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -A file -- "$cur" )
64
+ while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur")
65
65
  ;;
66
66
 
67
67
  'show'*'-f')
68
- while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -A file -- "$cur" )
68
+ while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur")
69
69
  ;;
70
70
 
71
- 'run'*'-f')
72
- while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -A file -- "$cur" )
71
+ 'run'*'-P')
72
+ while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -W "$(_ronin-exploits_completions_filter "$(ronin-payloads list)")" -- "$cur")
73
73
  ;;
74
74
 
75
- 'run'*'-L')
76
- while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -A directory -- "$cur" )
75
+ 'run'*'-E')
76
+ while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -W "$(_ronin-exploits_completions_filter "$(ronin-payloads encoders)")" -- "$cur")
77
77
  ;;
78
78
 
79
- 'run'*'-E')
80
- while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -W "$(_ronin-exploits_completions_filter "$(ronin-payloads encoders)")" -- "$cur" )
79
+ 'run'*'-L')
80
+ while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A directory -- "$cur")
81
81
  ;;
82
82
 
83
- 'run'*'-P')
84
- while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -W "$(_ronin-exploits_completions_filter "$(ronin-payloads list)")" -- "$cur" )
83
+ 'run'*'-f')
84
+ while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -- "$cur")
85
85
  ;;
86
86
 
87
87
  'show'*)
88
- while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -W "$(_ronin-exploits_completions_filter "--file -f --verbose -v $(ronin-exploits list)")" -- "$cur" )
88
+ while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -W "$(_ronin-exploits_completions_filter "--file -f --verbose -v $(ronin-exploits list)")" -- "$cur")
89
89
  ;;
90
90
 
91
91
  'info'*)
92
- while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -W "$(_ronin-exploits_completions_filter "$(ronin-exploits list)")" -- "$cur" )
92
+ while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -W "$(_ronin-exploits_completions_filter "$(ronin-exploits list)")" -- "$cur")
93
93
  ;;
94
94
 
95
- 'new'*)
96
- while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -A file -W "$(_ronin-exploits_completions_filter "--type -t --author -a --author-email -e --summary -S --description -D --advisory-id -I --reference -R --has-payload -P --networking -N --arch -A --os -O --os-version --software -S --software-version -V --loot -L")" -- "$cur" )
95
+ 'run'*)
96
+ while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -W "$(_ronin-exploits_completions_filter "--file -f --param -p --dry-run -D --test -T --payload-file --read-payload --payload-string --payload -P --payload-param --encoder-file --encoder -E --encoder-param --target -t --target-arch -A --target-os -O --target-os-version --target-software -S --target-version -V --save-loot -L --debug -d --irb $(ronin-exploits list)")" -- "$cur")
97
97
  ;;
98
98
 
99
- 'run'*)
100
- while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -W "$(_ronin-exploits_completions_filter "--file -f --param -p --dry-run -D --test -T --payload-file --read-payload --payload-string --payload -P --payload-param --encoder-file --encoder -E --encoder-param --target -t --target-arch -A --target-os -O --target-os-version --target-software -S --target-version -V --save-loot -L --debug -d --irb $(ronin-exploits list)")" -- "$cur" )
99
+ 'new'*)
100
+ while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -W "$(_ronin-exploits_completions_filter "--type -t --author -a --author-email -e --summary -S --description -D --advisory-id -I --reference -R --has-payload -P --networking -N --arch -A --os -O --os-version --software -S --software-version -V --loot -L")" -- "$cur")
101
101
  ;;
102
102
 
103
103
  *)
104
- while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -W "$(_ronin-exploits_completions_filter "--version -V help completion irb list new run show ls info")" -- "$cur" )
104
+ while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -W "$(_ronin-exploits_completions_filter "--version -V help completion irb list new run show ls info")" -- "$cur")
105
105
  ;;
106
106
 
107
107
  esac
108
108
  } &&
109
- complete -F _ronin-exploits_completions ronin-exploits
109
+ complete -F _ronin-exploits_completions ronin-exploits
110
110
 
111
111
  # ex: filetype=sh
data/gemspec.yml CHANGED
@@ -41,7 +41,7 @@ dependencies:
41
41
  ronin-payloads: ~> 0.1, >= 0.1.1
42
42
  ronin-vulns: ~> 0.1, >= 0.1.1
43
43
  ronin-post_ex: ~> 0.1
44
- ronin-core: ~> 0.2.0.rc1
44
+ ronin-core: ~> 0.2
45
45
  ronin-repos: ~> 0.1
46
46
 
47
47
  development_dependencies:
@@ -22,6 +22,6 @@
22
22
  module Ronin
23
23
  module Exploits
24
24
  # ronin-exploits version
25
- VERSION = '1.1.0.rc2'
25
+ VERSION = '1.1.0'
26
26
  end
27
27
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ronin-exploits
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0.rc2
4
+ version: 1.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-29 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: uri-query_params
@@ -118,14 +118,14 @@ dependencies:
118
118
  requirements:
119
119
  - - "~>"
120
120
  - !ruby/object:Gem::Version
121
- version: 0.2.0.rc1
121
+ version: '0.2'
122
122
  type: :runtime
123
123
  prerelease: false
124
124
  version_requirements: !ruby/object:Gem::Requirement
125
125
  requirements:
126
126
  - - "~>"
127
127
  - !ruby/object:Gem::Version
128
- version: 0.2.0.rc1
128
+ version: '0.2'
129
129
  - !ruby/object:Gem::Dependency
130
130
  name: ronin-repos
131
131
  requirement: !ruby/object:Gem::Requirement
@@ -297,7 +297,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
297
297
  - !ruby/object:Gem::Version
298
298
  version: '0'
299
299
  requirements: []
300
- rubygems_version: 3.3.27
300
+ rubygems_version: 3.5.11
301
301
  signing_key:
302
302
  specification_version: 4
303
303
  summary: A Ruby micro-framework for writing and running exploits and payloads.