ronin-payloads 0.1.2 → 0.1.4

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: d2ab679d7311dab9baaff45c264e2a651a09530b5790eed2611060b66e776585
4
- data.tar.gz: 7058d3c5e5f25f947e46cc651f4d7de2e7e3878578be2b0cb778f35864f2fdfd
3
+ metadata.gz: 22dcc9ea244534bd659de580c4ef0576401bf480055ad9b0a6a05787e7375c1b
4
+ data.tar.gz: f3ce8d4f1e8b1c80610c9de6d860514d9a3d5ef4eb6840d7f888d12fc6621f4c
5
5
  SHA512:
6
- metadata.gz: d42c63a5fd2d02b157947de808e394fc60f052c22700b073cc632b9c32f40bec44570d09b0141bcfc97dfe28634869cf1e6c2367b62285ec38896b053d66444b
7
- data.tar.gz: d87cfacd3e70ad04e553644d0956653ec6b9a6673645dddd14ac63c4699e9fe1f30b98224f0c665035950fe1578a7689e21650438f88eb8c15e1491a7ce704e2
6
+ metadata.gz: 8449b2f43b09fd2bf49b29417f8004e24c970b4e797a65430fdfd9df8c7132daa8d4112c36f3a5bb6569efc92e4ada98a0de624a1eb209e50eeadaa245750536
7
+ data.tar.gz: 02b8ae12c4b29dbd3987067d429919a4bbc883ff562dd8228b93b2eef8ed80fbf8f82c366d43d9a00c92f48570afe480186a2f7cd2ec80d2d35e56312160546e
data/.document CHANGED
@@ -2,4 +2,3 @@ lib/**/*.rb
2
2
  -
3
3
  ChangeLog.md
4
4
  COPYING.txt
5
- man/*.md
data/ChangeLog.md CHANGED
@@ -1,3 +1,19 @@
1
+ ### 0.1.4 / 2023-09-19
2
+
3
+ #### CLI
4
+
5
+ * All newly generated payload files using `ronin-payloads new` should have a
6
+ `summary` and a `description`.
7
+ * Fixed a bug where the `ronin-payloads new` options `--author`,
8
+ `--author-email`, or `--summary` were not properly escaping given values.
9
+
10
+ ### 0.1.3 / 2023-06-12
11
+
12
+ #### CLI
13
+
14
+ * Fixed a bug where `ronin-payloads new --type command` wasn't being accepted
15
+ as a valid payload type.
16
+
1
17
  ### 0.1.2 / 2023-06-09
2
18
 
3
19
  * Add missing `require` for {Ronin::Payloads::Encoders::Encoder}.
data/README.md CHANGED
@@ -9,7 +9,6 @@
9
9
  * [Issues](https://github.com/ronin-rb/ronin-payloads/issues)
10
10
  * [Documentation](https://ronin-rb.dev/docs/ronin-payloads/frames)
11
11
  * [Discord](https://discord.gg/6WAb3PsVX9) |
12
- [Twitter](https://twitter.com/ronin_rb) |
13
12
  [Mastodon](https://infosec.exchange/@ronin_rb)
14
13
 
15
14
  ## Description
@@ -9,23 +9,23 @@ module Ronin
9
9
  register '<%= @file_name -%>'
10
10
 
11
11
  <%- if @author_email -%>
12
- author '<%= @author_name %>', email: '<%= @author_email -%>'
12
+ author <%= @author_name.inspect %>, email: <%= @author_email.inspect %>
13
13
  <%- else -%>
14
- author '<%= @author_name %>'
14
+ author <%= @author_name.inspect %>
15
15
  <%- end -%>
16
16
  <%- if @summary -%>
17
- summary "<%= @summary %>"
17
+ summary <%= @summary.inspect %>
18
18
  <%- else -%>
19
- # summary "FIX ME"
19
+ summary "FIX ME"
20
20
  <%- end -%>
21
21
  <%- if @description -%>
22
22
  description <<~DESC
23
23
  <%= @description %>
24
24
  DESC
25
25
  <%- else -%>
26
- # description <<~DESC
27
- # FIX ME
28
- # DESC
26
+ description <<~DESC
27
+ FIX ME
28
+ DESC
29
29
  <%- end -%>
30
30
  <%- unless @references.empty? -%>
31
31
  references [
@@ -42,7 +42,7 @@ module Ronin
42
42
  #
43
43
  # ## Options
44
44
  #
45
- # -t asm|shellcode|c|go|rust|shell|powershell|html|javascript|typescript|java|sql|php|python|ruby|nodejs,
45
+ # -t asm|shellcode|c|go|rust|command|shell|powershell|html|javascript|typescript|java|sql|php|python|ruby|nodejs,
46
46
  # --type The type for the new payload
47
47
  # -a, --author NAME The name of the author
48
48
  # -e, --author-email EMAIL The email address of the author
@@ -52,6 +52,11 @@ module Ronin
52
52
  class: 'RustPayload'
53
53
  },
54
54
 
55
+ command: {
56
+ file: 'command_payload',
57
+ class: 'CommandPayload'
58
+ },
59
+
55
60
  shell: {
56
61
  file: 'shell_payload',
57
62
  class: 'ShellPayload'
@@ -29,6 +29,8 @@ module Ronin
29
29
  #
30
30
  # [ERB]: https://docs.ruby-lang.org/en/3.1/ERB.html
31
31
  #
32
+ # @see https://ronin-rb.dev/docs/ronin-support/Ronin/Support/Text/ERB/Mixin.html
33
+ #
32
34
  # @api public
33
35
  #
34
36
  module ERB
@@ -22,6 +22,6 @@
22
22
  module Ronin
23
23
  module Payloads
24
24
  # ronin-payloads version
25
- VERSION = '0.1.2'
25
+ VERSION = '0.1.4'
26
26
  end
27
27
  end
@@ -15,7 +15,7 @@ Generates a new payload file.
15
15
 
16
16
  ## OPTIONS
17
17
 
18
- `-t`, `--type` `asm`\|`shellcode`\|`c`\|`go`\|`rust`\|`shell`\|`powershell`\|`html`\|`javascript`\|`typescript`\|`java`\|`sql`\|`php`\|`python`\|`ruby`\|`nodejs`
18
+ `-t`, `--type` `asm`\|`shellcode`\|`c`\|`go`\|`rust`\|`command`\|`shell`\|`powershell`\|`html`\|`javascript`\|`typescript`\|`java`\|`sql`\|`php`\|`python`\|`ruby`\|`nodejs`
19
19
  The type of payload to generate.
20
20
 
21
21
  `-a`, `--author` *NAME*
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ronin-payloads
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Postmodern
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-06-09 00:00:00.000000000 Z
11
+ date: 2023-09-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ronin-support