ronin-exploits 1.0.6 → 1.1.0.rc2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (93) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +1 -0
  3. data/ChangeLog.md +18 -0
  4. data/Gemfile +6 -4
  5. data/README.md +32 -6
  6. data/Rakefile +10 -0
  7. data/data/completions/ronin-exploits +111 -0
  8. data/data/completions/ronin-exploits.yml +12 -0
  9. data/gemspec.yml +3 -1
  10. data/lib/ronin/exploits/advisory.rb +1 -1
  11. data/lib/ronin/exploits/cli/command.rb +1 -1
  12. data/lib/ronin/exploits/cli/commands/completion.rb +64 -0
  13. data/lib/ronin/exploits/cli/commands/irb.rb +1 -1
  14. data/lib/ronin/exploits/cli/commands/list.rb +1 -1
  15. data/lib/ronin/exploits/cli/commands/new.rb +14 -9
  16. data/lib/ronin/exploits/cli/commands/run.rb +33 -7
  17. data/lib/ronin/exploits/cli/commands/show.rb +44 -1
  18. data/lib/ronin/exploits/cli/exploit_command.rb +1 -1
  19. data/lib/ronin/exploits/cli/exploit_methods.rb +1 -1
  20. data/lib/ronin/exploits/cli/ruby_shell.rb +1 -1
  21. data/lib/ronin/exploits/cli.rb +3 -1
  22. data/lib/ronin/exploits/client_side_web_vuln.rb +1 -1
  23. data/lib/ronin/exploits/command_injection.rb +78 -0
  24. data/lib/ronin/exploits/exceptions.rb +1 -1
  25. data/lib/ronin/exploits/exploit.rb +4 -3
  26. data/lib/ronin/exploits/heap_overflow.rb +1 -1
  27. data/lib/ronin/exploits/lfi.rb +1 -1
  28. data/lib/ronin/exploits/loot/file.rb +1 -1
  29. data/lib/ronin/exploits/loot.rb +1 -1
  30. data/lib/ronin/exploits/memory_corruption.rb +1 -1
  31. data/lib/ronin/exploits/metadata/arch.rb +1 -1
  32. data/lib/ronin/exploits/metadata/cookie_param.rb +1 -1
  33. data/lib/ronin/exploits/metadata/default_filename.rb +1 -1
  34. data/lib/ronin/exploits/metadata/default_port.rb +1 -1
  35. data/lib/ronin/exploits/metadata/header_name.rb +1 -1
  36. data/lib/ronin/exploits/metadata/os.rb +1 -1
  37. data/lib/ronin/exploits/metadata/shouts.rb +1 -1
  38. data/lib/ronin/exploits/metadata/url_path.rb +1 -1
  39. data/lib/ronin/exploits/metadata/url_query_param.rb +1 -1
  40. data/lib/ronin/exploits/mixins/binary.rb +1 -1
  41. data/lib/ronin/exploits/mixins/build_dir.rb +1 -1
  42. data/lib/ronin/exploits/mixins/file_builder.rb +1 -1
  43. data/lib/ronin/exploits/mixins/format_string.rb +1 -1
  44. data/lib/ronin/exploits/mixins/has_payload.rb +1 -1
  45. data/lib/ronin/exploits/mixins/has_targets.rb +1 -1
  46. data/lib/ronin/exploits/mixins/html.rb +1 -1
  47. data/lib/ronin/exploits/mixins/http.rb +3 -3
  48. data/lib/ronin/exploits/mixins/loot.rb +1 -1
  49. data/lib/ronin/exploits/mixins/nops.rb +1 -1
  50. data/lib/ronin/exploits/mixins/remote_tcp.rb +1 -1
  51. data/lib/ronin/exploits/mixins/remote_udp.rb +1 -1
  52. data/lib/ronin/exploits/mixins/seh.rb +1 -1
  53. data/lib/ronin/exploits/mixins/stack_overflow.rb +1 -1
  54. data/lib/ronin/exploits/mixins/text.rb +1 -1
  55. data/lib/ronin/exploits/mixins.rb +1 -1
  56. data/lib/ronin/exploits/open_redirect.rb +1 -1
  57. data/lib/ronin/exploits/params/base_url.rb +1 -1
  58. data/lib/ronin/exploits/params/bind_host.rb +1 -1
  59. data/lib/ronin/exploits/params/bind_port.rb +1 -1
  60. data/lib/ronin/exploits/params/filename.rb +1 -1
  61. data/lib/ronin/exploits/params/host.rb +1 -1
  62. data/lib/ronin/exploits/params/port.rb +1 -1
  63. data/lib/ronin/exploits/registry.rb +1 -1
  64. data/lib/ronin/exploits/rfi.rb +1 -1
  65. data/lib/ronin/exploits/root.rb +1 -1
  66. data/lib/ronin/exploits/seh_overflow.rb +1 -1
  67. data/lib/ronin/exploits/sqli.rb +1 -1
  68. data/lib/ronin/exploits/ssti.rb +1 -1
  69. data/lib/ronin/exploits/stack_overflow.rb +1 -1
  70. data/lib/ronin/exploits/target.rb +1 -1
  71. data/lib/ronin/exploits/test_result.rb +1 -1
  72. data/lib/ronin/exploits/use_after_free.rb +1 -1
  73. data/lib/ronin/exploits/version.rb +2 -2
  74. data/lib/ronin/exploits/web.rb +1 -1
  75. data/lib/ronin/exploits/web_vuln.rb +1 -1
  76. data/lib/ronin/exploits/xss.rb +1 -1
  77. data/lib/ronin/exploits.rb +2 -1
  78. data/man/ronin-exploits-completion.1 +76 -0
  79. data/man/ronin-exploits-completion.1.md +78 -0
  80. data/man/ronin-exploits-irb.1 +10 -15
  81. data/man/ronin-exploits-irb.1.md +6 -2
  82. data/man/ronin-exploits-list.1 +8 -16
  83. data/man/ronin-exploits-list.1.md +7 -3
  84. data/man/ronin-exploits-new.1 +23 -46
  85. data/man/ronin-exploits-new.1.md +24 -20
  86. data/man/ronin-exploits-run.1 +32 -56
  87. data/man/ronin-exploits-run.1.md +30 -23
  88. data/man/ronin-exploits-show.1 +10 -20
  89. data/man/ronin-exploits-show.1.md +9 -5
  90. data/man/ronin-exploits.1 +11 -23
  91. data/man/ronin-exploits.1.md +11 -7
  92. data/scripts/setup +58 -0
  93. metadata +10 -3
@@ -3,7 +3,7 @@
3
3
  # ronin-exploits - A Ruby library for ronin-rb that provides exploitation and
4
4
  # payload crafting functionality.
5
5
  #
6
- # Copyright (c) 2007-2023 Hal Brodigan (postmodern.mod3 at gmail.com)
6
+ # Copyright (c) 2007-2024 Hal Brodigan (postmodern.mod3 at gmail.com)
7
7
  #
8
8
  # ronin-exploits is free software: you can redistribute it and/or modify
9
9
  # it under the terms of the GNU Lesser General Public License as published
@@ -3,7 +3,7 @@
3
3
  # ronin-exploits - A Ruby library for ronin-rb that provides exploitation and
4
4
  # payload crafting functionality.
5
5
  #
6
- # Copyright (c) 2007-2023 Hal Brodigan (postmodern.mod3 at gmail.com)
6
+ # Copyright (c) 2007-2024 Hal Brodigan (postmodern.mod3 at gmail.com)
7
7
  #
8
8
  # ronin-exploits is free software: you can redistribute it and/or modify
9
9
  # it under the terms of the GNU Lesser General Public License as published
@@ -3,7 +3,7 @@
3
3
  # ronin-exploits - A Ruby library for ronin-rb that provides exploitation and
4
4
  # payload crafting functionality.
5
5
  #
6
- # Copyright (c) 2007-2023 Hal Brodigan (postmodern.mod3 at gmail.com)
6
+ # Copyright (c) 2007-2024 Hal Brodigan (postmodern.mod3 at gmail.com)
7
7
  #
8
8
  # ronin-exploits is free software: you can redistribute it and/or modify
9
9
  # it under the terms of the GNU Lesser General Public License as published
@@ -3,7 +3,7 @@
3
3
  # ronin-exploits - A Ruby library for ronin-rb that provides exploitation and
4
4
  # payload crafting functionality.
5
5
  #
6
- # Copyright (c) 2007-2023 Hal Brodigan (postmodern.mod3 at gmail.com)
6
+ # Copyright (c) 2007-2024 Hal Brodigan (postmodern.mod3 at gmail.com)
7
7
  #
8
8
  # ronin-exploits is free software: you can redistribute it and/or modify
9
9
  # it under the terms of the GNU Lesser General Public License as published
@@ -3,7 +3,7 @@
3
3
  # ronin-exploits - A Ruby library for ronin-rb that provides exploitation and
4
4
  # payload crafting functionality.
5
5
  #
6
- # Copyright (c) 2007-2023 Hal Brodigan (postmodern.mod3 at gmail.com)
6
+ # Copyright (c) 2007-2024 Hal Brodigan (postmodern.mod3 at gmail.com)
7
7
  #
8
8
  # ronin-exploits is free software: you can redistribute it and/or modify
9
9
  # it under the terms of the GNU Lesser General Public License as published
@@ -3,7 +3,7 @@
3
3
  # ronin-exploits - A Ruby library for ronin-rb that provides exploitation and
4
4
  # payload crafting functionality.
5
5
  #
6
- # Copyright (c) 2007-2023 Hal Brodigan (postmodern.mod3 at gmail.com)
6
+ # Copyright (c) 2007-2024 Hal Brodigan (postmodern.mod3 at gmail.com)
7
7
  #
8
8
  # ronin-exploits is free software: you can redistribute it and/or modify
9
9
  # it under the terms of the GNU Lesser General Public License as published
@@ -22,6 +22,6 @@
22
22
  module Ronin
23
23
  module Exploits
24
24
  # ronin-exploits version
25
- VERSION = '1.0.6'
25
+ VERSION = '1.1.0.rc2'
26
26
  end
27
27
  end
@@ -3,7 +3,7 @@
3
3
  # ronin-exploits - A Ruby library for ronin-rb that provides exploitation and
4
4
  # payload crafting functionality.
5
5
  #
6
- # Copyright (c) 2007-2023 Hal Brodigan (postmodern.mod3 at gmail.com)
6
+ # Copyright (c) 2007-2024 Hal Brodigan (postmodern.mod3 at gmail.com)
7
7
  #
8
8
  # ronin-exploits is free software: you can redistribute it and/or modify
9
9
  # it under the terms of the GNU Lesser General Public License as published
@@ -3,7 +3,7 @@
3
3
  # ronin-exploits - A Ruby library for ronin-rb that provides exploitation and
4
4
  # payload crafting functionality.
5
5
  #
6
- # Copyright (c) 2007-2023 Hal Brodigan (postmodern.mod3 at gmail.com)
6
+ # Copyright (c) 2007-2024 Hal Brodigan (postmodern.mod3 at gmail.com)
7
7
  #
8
8
  # ronin-exploits is free software: you can redistribute it and/or modify
9
9
  # it under the terms of the GNU Lesser General Public License as published
@@ -3,7 +3,7 @@
3
3
  # ronin-exploits - A Ruby library for ronin-rb that provides exploitation and
4
4
  # payload crafting functionality.
5
5
  #
6
- # Copyright (c) 2007-2023 Hal Brodigan (postmodern.mod3 at gmail.com)
6
+ # Copyright (c) 2007-2024 Hal Brodigan (postmodern.mod3 at gmail.com)
7
7
  #
8
8
  # ronin-exploits is free software: you can redistribute it and/or modify
9
9
  # it under the terms of the GNU Lesser General Public License as published
@@ -3,7 +3,7 @@
3
3
  # ronin-exploits - A Ruby library for ronin-rb that provides exploitation and
4
4
  # payload crafting functionality.
5
5
  #
6
- # Copyright (c) 2007-2023 Hal Brodigan (postmodern.mod3 at gmail.com)
6
+ # Copyright (c) 2007-2024 Hal Brodigan (postmodern.mod3 at gmail.com)
7
7
  #
8
8
  # ronin-exploits is free software: you can redistribute it and/or modify
9
9
  # it under the terms of the GNU Lesser General Public License as published
@@ -27,6 +27,7 @@ require 'ronin/exploits/stack_overflow'
27
27
  require 'ronin/exploits/seh_overflow'
28
28
  require 'ronin/exploits/heap_overflow'
29
29
  require 'ronin/exploits/use_after_free'
30
+ require 'ronin/exploits/command_injection'
30
31
  require 'ronin/exploits/web'
31
32
  require 'ronin/exploits/lfi'
32
33
  require 'ronin/exploits/rfi'
@@ -0,0 +1,76 @@
1
+ .\" Generated by kramdown-man 1.0.1
2
+ .\" https://github.com/postmodern/kramdown-man#readme
3
+ .TH ronin-exploits-completion 1 "2024-01-01" Ronin Exploits "User Manuals"
4
+ .SH NAME
5
+ .PP
6
+ ronin\-exploits\-completion \- Manages shell completion rules for \fBronin\-exploits\fR
7
+ .SH SYNOPSIS
8
+ .PP
9
+ \fBronin\-exploits completion\fR \[lB]\fIoptions\fP\[rB]
10
+ .SH DESCRIPTION
11
+ .PP
12
+ The \fBronin\-exploits completion\fR command can print, install, or uninstall shell
13
+ completion rules for the \fBronin\-exploits\fR command\.
14
+ .PP
15
+ Supports installing completion rules for Bash or Zsh shells\.
16
+ Completion rules for the Fish shell is currently not supported\.
17
+ .SS ZSH SUPPORT
18
+ .PP
19
+ Zsh users will have to add the following lines to their \fB\[ti]\[sl]\.zshrc\fR file in
20
+ order to enable Zsh\[cq]s Bash completion compatibility layer:
21
+ .PP
22
+ .RS 4
23
+ .EX
24
+ autoload \-Uz \[pl]X compinit && compinit
25
+ autoload \-Uz \[pl]X bashcompinit && bashcompinit
26
+ .EE
27
+ .RE
28
+ .SH OPTIONS
29
+ .TP
30
+ \fB\-\-print\fR
31
+ Prints the shell completion file\.
32
+ .TP
33
+ \fB\-\-install\fR
34
+ Installs the shell completion file\.
35
+ .TP
36
+ \fB\-\-uninstall\fR
37
+ Uninstalls the shell completion file\.
38
+ .TP
39
+ \fB\-h\fR, \fB\-\-help\fR
40
+ Prints help information\.
41
+ .SH ENVIRONMENT
42
+ .TP
43
+ \fIPREFIX\fP
44
+ Specifies the root prefix for the file system\.
45
+ .TP
46
+ \fIHOME\fP
47
+ Specifies the home directory of the user\. Ronin will search for the
48
+ \fB\[ti]\[sl]\.cache\[sl]ronin\-exploits\fR cache directory within the home directory\.
49
+ .TP
50
+ \fIXDG\[ru]DATA\[ru]HOME\fP
51
+ Specifies the data directory to use\. Defaults to \fB\[Do]HOME\[sl]\.local\[sl]share\fR\.
52
+ .SH FILES
53
+ .TP
54
+ \fB\[ti]\[sl]\.local\[sl]share\[sl]bash\-completion\[sl]completions\[sl]\fR
55
+ The user\-local installation directory for Bash completion files\.
56
+ .TP
57
+ \fB\[sl]usr\[sl]local\[sl]share\[sl]bash\-completion\[sl]completions\[sl]\fR
58
+ The system\-wide installation directory for Bash completions files\.
59
+ .TP
60
+ \fB\[sl]usr\[sl]local\[sl]share\[sl]zsh\[sl]site\-functions\[sl]\fR
61
+ The installation directory for Zsh completion files\.
62
+ .SH EXAMPLES
63
+ .TP
64
+ \fBronin\-exploits completion \-\-print\fR
65
+ Prints the shell completion rules instead of installing them\.
66
+ .TP
67
+ \fBronin\-exploits completion \-\-install\fR
68
+ Installs the shell completion rules for \fBronin\-exploits\fR\.
69
+ .TP
70
+ \fBronin\-exploits completion \-\-uninstall\fR
71
+ Uninstalls the shell completion rules for \fBronin\-exploits\fR\.
72
+ .SH AUTHOR
73
+ .PP
74
+ Postmodern
75
+ .MT postmodern\.mod3\[at]gmail\.com
76
+ .ME
@@ -0,0 +1,78 @@
1
+ # ronin-exploits-completion 1 "2024-01-01" Ronin Exploits "User Manuals"
2
+
3
+ ## NAME
4
+
5
+ ronin-exploits-completion - Manages shell completion rules for `ronin-exploits`
6
+
7
+ ## SYNOPSIS
8
+
9
+ `ronin-exploits completion` [*options*]
10
+
11
+ ## DESCRIPTION
12
+
13
+ The `ronin-exploits completion` command can print, install, or uninstall shell
14
+ completion rules for the `ronin-exploits` command.
15
+
16
+ Supports installing completion rules for Bash or Zsh shells.
17
+ Completion rules for the Fish shell is currently not supported.
18
+
19
+ ### ZSH SUPPORT
20
+
21
+ Zsh users will have to add the following lines to their `~/.zshrc` file in
22
+ order to enable Zsh's Bash completion compatibility layer:
23
+
24
+ autoload -Uz +X compinit && compinit
25
+ autoload -Uz +X bashcompinit && bashcompinit
26
+
27
+ ## OPTIONS
28
+
29
+ `--print`
30
+ : Prints the shell completion file.
31
+
32
+ `--install`
33
+ : Installs the shell completion file.
34
+
35
+ `--uninstall`
36
+ : Uninstalls the shell completion file.
37
+
38
+ `-h`, `--help`
39
+ : Prints help information.
40
+
41
+ ## ENVIRONMENT
42
+
43
+ *PREFIX*
44
+ : Specifies the root prefix for the file system.
45
+
46
+ *HOME*
47
+ : Specifies the home directory of the user. Ronin will search for the
48
+ `~/.cache/ronin-exploits` cache directory within the home directory.
49
+
50
+ *XDG_DATA_HOME*
51
+ : Specifies the data directory to use. Defaults to `$HOME/.local/share`.
52
+
53
+ ## FILES
54
+
55
+ `~/.local/share/bash-completion/completions/`
56
+ : The user-local installation directory for Bash completion files.
57
+
58
+ `/usr/local/share/bash-completion/completions/`
59
+ : The system-wide installation directory for Bash completions files.
60
+
61
+ `/usr/local/share/zsh/site-functions/`
62
+ : The installation directory for Zsh completion files.
63
+
64
+ ## EXAMPLES
65
+
66
+ `ronin-exploits completion --print`
67
+ : Prints the shell completion rules instead of installing them.
68
+
69
+ `ronin-exploits completion --install`
70
+ : Installs the shell completion rules for `ronin-exploits`.
71
+
72
+ `ronin-exploits completion --uninstall`
73
+ : Uninstalls the shell completion rules for `ronin-exploits`.
74
+
75
+ ## AUTHOR
76
+
77
+ Postmodern <postmodern.mod3@gmail.com>
78
+
@@ -1,31 +1,26 @@
1
- .\" Generated by kramdown-man 0.1.9
1
+ .\" Generated by kramdown-man 1.0.1
2
2
  .\" https://github.com/postmodern/kramdown-man#readme
3
3
  .TH ronin-exploits-irb 1 "2023-02-01" Ronin "User Manuals"
4
- .LP
4
+ .SH NAME
5
+ .PP
6
+ ronin\-exploits\-irb \- Starts an interactive Ruby shell with ronin\-exploits loaded
5
7
  .SH SYNOPSIS
6
- .LP
7
8
  .PP
8
- \fBronin-exploits irb\fR \[lB]\fIoptions\fP\[rB]
9
- .LP
9
+ \fBronin\-exploits irb\fR \[lB]\fIoptions\fP\[rB]
10
10
  .SH DESCRIPTION
11
- .LP
12
11
  .PP
13
- Starts an interactive Ruby shell with \fBronin/exploits\fR loaded\.
14
- .LP
12
+ Starts an interactive Ruby shell with \fBronin\[sl]exploits\fR loaded\.
15
13
  .SH OPTIONS
16
- .LP
17
14
  .TP
18
- \fB-h\fR, \fB--help\fR
15
+ \fB\-h\fR, \fB\-\-help\fR
19
16
  Print help information
20
- .LP
21
17
  .SH AUTHOR
22
- .LP
23
18
  .PP
24
19
  Postmodern
25
20
  .MT postmodern\.mod3\[at]gmail\.com
26
21
  .ME
27
- .LP
28
22
  .SH SEE ALSO
29
- .LP
30
23
  .PP
31
- ronin\-exploits\-list(1) ronin\-exploits\-show(1) ronin\-exploits\-run(1)
24
+ .BR ronin\-exploits\-list (1)
25
+ .BR ronin\-exploits\-show (1)
26
+ .BR ronin\-exploits\-run (1)
@@ -1,5 +1,9 @@
1
1
  # ronin-exploits-irb 1 "2023-02-01" Ronin "User Manuals"
2
2
 
3
+ ## NAME
4
+
5
+ ronin-exploits-irb - Starts an interactive Ruby shell with ronin-exploits loaded
6
+
3
7
  ## SYNOPSIS
4
8
 
5
9
  `ronin-exploits irb` [*options*]
@@ -11,7 +15,7 @@ Starts an interactive Ruby shell with `ronin/exploits` loaded.
11
15
  ## OPTIONS
12
16
 
13
17
  `-h`, `--help`
14
- Print help information
18
+ : Print help information
15
19
 
16
20
  ## AUTHOR
17
21
 
@@ -19,4 +23,4 @@ Postmodern <postmodern.mod3@gmail.com>
19
23
 
20
24
  ## SEE ALSO
21
25
 
22
- ronin-exploits-list(1) ronin-exploits-show(1) ronin-exploits-run(1)
26
+ [ronin-exploits-list](ronin-exploits-list.1.md) [ronin-exploits-show](ronin-exploits-show.1.md) [ronin-exploits-run](ronin-exploits-run.1.md)
@@ -1,37 +1,29 @@
1
- .\" Generated by kramdown-man 0.1.9
1
+ .\" Generated by kramdown-man 1.0.1
2
2
  .\" https://github.com/postmodern/kramdown-man#readme
3
3
  .TH ronin-exploits-list 1 "2023-02-01" Ronin "User Manuals"
4
- .LP
4
+ .SH NAME
5
+ .PP
6
+ ronin\-exploits\-list \- Lists the available exploits
5
7
  .SH SYNOPSIS
6
- .LP
7
8
  .PP
8
- \fBronin-exploits list\fR \[lB]\fIoptions\fP\[rB] \fIDIR\fP
9
- .LP
9
+ \fBronin\-exploits list\fR \[lB]\fIoptions\fP\[rB] \fIDIR\fP
10
10
  .SH DESCRIPTION
11
- .LP
12
11
  .PP
13
12
  Lists available exploits\.
14
- .LP
15
13
  .SH ARGUMENTS
16
- .LP
17
14
  .TP
18
15
  \fIDIR\fP
19
16
  The optional directory to list exploits from\.
20
- .LP
21
17
  .SH OPTIONS
22
- .LP
23
18
  .TP
24
- \fB-h\fR, \fB--help\fR
19
+ \fB\-h\fR, \fB\-\-help\fR
25
20
  Print help information
26
- .LP
27
21
  .SH AUTHOR
28
- .LP
29
22
  .PP
30
23
  Postmodern
31
24
  .MT postmodern\.mod3\[at]gmail\.com
32
25
  .ME
33
- .LP
34
26
  .SH SEE ALSO
35
- .LP
36
27
  .PP
37
- ronin\-exploits\-show(1) ronin\-exploits\-run(1)
28
+ .BR ronin\-exploits\-show (1)
29
+ .BR ronin\-exploits\-run (1)
@@ -1,5 +1,9 @@
1
1
  # ronin-exploits-list 1 "2023-02-01" Ronin "User Manuals"
2
2
 
3
+ ## NAME
4
+
5
+ ronin-exploits-list - Lists the available exploits
6
+
3
7
  ## SYNOPSIS
4
8
 
5
9
  `ronin-exploits list` [*options*] *DIR*
@@ -11,12 +15,12 @@ Lists available exploits.
11
15
  ## ARGUMENTS
12
16
 
13
17
  *DIR*
14
- The optional directory to list exploits from.
18
+ : The optional directory to list exploits from.
15
19
 
16
20
  ## OPTIONS
17
21
 
18
22
  `-h`, `--help`
19
- Print help information
23
+ : Print help information
20
24
 
21
25
  ## AUTHOR
22
26
 
@@ -24,4 +28,4 @@ Postmodern <postmodern.mod3@gmail.com>
24
28
 
25
29
  ## SEE ALSO
26
30
 
27
- ronin-exploits-show(1) ronin-exploits-run(1)
31
+ [ronin-exploits-show](ronin-exploits-show.1.md) [ronin-exploits-run](ronin-exploits-run.1.md)
@@ -1,98 +1,75 @@
1
- .\" Generated by kramdown-man 0.1.9
1
+ .\" Generated by kramdown-man 1.0.1
2
2
  .\" https://github.com/postmodern/kramdown-man#readme
3
3
  .TH ronin-exploits-new 1 "2023-02-01" Ronin "User Manuals"
4
- .LP
4
+ .SH NAME
5
+ .PP
6
+ ronin\-exploits\-new \- Creates a new exploit file
5
7
  .SH SYNOPSIS
6
- .LP
7
8
  .PP
8
- \fBronin-exploits new\fR \[lB]\fIoptions\fP\[rB] \fIPATH\fP
9
- .LP
9
+ \fBronin\-exploits new\fR \[lB]\fIoptions\fP\[rB] \fIPATH\fP
10
10
  .SH DESCRIPTION
11
- .LP
12
11
  .PP
13
12
  Creates a new exploit file\.
14
- .LP
15
13
  .SH ARGUMENTS
16
- .LP
17
14
  .TP
18
15
  \fIPATH\fP
19
16
  The path to the exploit file to generate\.
20
- .LP
21
17
  .SH OPTIONS
22
- .LP
23
18
  .TP
24
- \fB-t\fR, \fB--type\fR \fBexploit\fR\[or]\fBheap_overflow\fR\[or]\fBstack_overflow\fR\[or]\fBweb\fR\[or]\fBopen_redirect\fR\[or]\fBlfi\fR\[or]\fBrfi\fR\[or]\fBsqli\fR\[or]\fBssti\fR\[or]\fBxss\fR
19
+ \fB\-t\fR, \fB\-\-type\fR \fBexploit\fR\[or]\fBheap\-overflow\fR\[or]\fBstack\-overflow\fR\[or]\fBcommand\-injection\fR\[or]\fBweb\fR\[or]\fBopen\-redirect\fR\[or]\fBlfi\fR\[or]\fBrfi\fR\[or]\fBsqli\fR\[or]\fBssti\fR\[or]\fBxss\fR
25
20
  The type for the new exploit\.
26
- .LP
27
21
  .TP
28
- \fB-a\fR, \fB--author\fR \fINAME\fP
22
+ \fB\-a\fR, \fB\-\-author\fR \fINAME\fP
29
23
  The name of the author\. Defaults to the configured git author name or the
30
24
  \fBUSERNAME\fR environment variable\.
31
- .LP
32
25
  .TP
33
- \fB-e\fR, \fB--author-email\fR \fIEMAIL\fP
26
+ \fB\-e\fR, \fB\-\-author\-email\fR \fIEMAIL\fP
34
27
  The email address of the author\. Defaults to the configured git author email\.
35
- .LP
36
28
  .TP
37
- \fB-s\fR, \fB--summary\fR \fITEXT\fP
29
+ \fB\-s\fR, \fB\-\-summary\fR \fITEXT\fP
38
30
  One sentence summary for the exploit\.
39
- .LP
40
31
  .TP
41
- \fB-d\fR, \fB--description\fR \fITEXT\fP
32
+ \fB\-d\fR, \fB\-\-description\fR \fITEXT\fP
42
33
  Longer description for the exploit\.
43
- .LP
44
34
  .TP
45
- \fB-I\fR, \fB--advisory-id\fR \fIID\fP
35
+ \fB\-I\fR, \fB\-\-advisory\-id\fR \fIID\fP
46
36
  Add the advisory ID to the exploit\.
47
- .LP
48
37
  .TP
49
- \fB-R\fR, \fB--reference\fR \fIURL\fP
38
+ \fB\-R\fR, \fB\-\-reference\fR \fIURL\fP
50
39
  Adds a reference to the exploit\.
51
- .LP
52
40
  .TP
53
- \fB-P\fR, \fB--has-payload\fR \fBpayload\fR\[or]\fBasm\fR\[or]\fBshellcode\fR\[or]\fBc\fR\[or]\fBcommand\fR\[or]\fBshell\fR\[or]\fBpowershell\fR\[or]\fBhtml\fR\[or]\fBjavascript\fR\[or]\fBtypescript\fR\[or]\fBjava\fR\[or]\fBsql\fR\[or]\fBphp\fR\[or]\fBnodejs\fR
41
+ \fB\-P\fR, \fB\-\-has\-payload\fR \fBpayload\fR\[or]\fBasm\fR\[or]\fBshellcode\fR\[or]\fBc\fR\[or]\fBcommand\fR\[or]\fBshell\fR\[or]\fBpowershell\fR\[or]\fBhtml\fR\[or]\fBjavascript\fR\[or]\fBtypescript\fR\[or]\fBjava\fR\[or]\fBsql\fR\[or]\fBphp\fR\[or]\fBnodejs\fR
54
42
  The payload type the exploit uses\.
55
- .LP
56
43
  .TP
57
- \fB-N\fR, \fB--networking\fR \fBremote_tcp\fR\[or]\fBremote_udp\fR\[or]\fBhttp\fR
44
+ \fB\-N\fR, \fB\-\-networking\fR \fBremote\-tcp\fR\[or]\fBremote\-udp\fR\[or]\fBhttp\fR
58
45
  The networking mixin to use\.
59
- .LP
60
46
  .TP
61
- \fB-A\fR, \fB--arch\fR \fBx86\fR\[or]\fBx86-64\fR\[or]\fBamd64\fR\[or]\fBia64\fR\[or]\fBppc\fR\[or]\fBppc64\fR\[or]\fBarm\fR\[or]\fBarmbe\fR\[or]\fBarm64\fR\[or]\fBarm64be\fR\[or]\fBmips\fR\[or]\fBmipsle\fR\[or]\fBmips64\fR\[or]\fBmips64le\fR
47
+ \fB\-A\fR, \fB\-\-arch\fR \fBx86\fR\[or]\fBx86\-64\fR\[or]\fBamd64\fR\[or]\fBia64\fR\[or]\fBppc\fR\[or]\fBppc64\fR\[or]\fBarm\fR\[or]\fBarmbe\fR\[or]\fBarm64\fR\[or]\fBarm64be\fR\[or]\fBmips\fR\[or]\fBmipsle\fR\[or]\fBmips64\fR\[or]\fBmips64le\fR
62
48
  The architecture to target\.
63
- .LP
64
49
  .TP
65
- \fB-O\fR, \fB--os\fR \fBlinux\fR\[or]\fBmacos\fR\[or]\fBwindows\fR\[or]\fBfreebsd\fR\[or]\fBopenbsd\fR\[or]\fBnetbsd\fR
50
+ \fB\-O\fR, \fB\-\-os\fR \fBlinux\fR\[or]\fBmacos\fR\[or]\fBwindows\fR\[or]\fBfreebsd\fR\[or]\fBopenbsd\fR\[or]\fBnetbsd\fR
66
51
  The Operating System (OS) to target\.
67
- .LP
68
52
  .TP
69
- \fB--os-version\fR \fIVERSION\fP
53
+ \fB\-\-os\-version\fR \fIVERSION\fP
70
54
  The OS version to target\.
71
- .LP
72
55
  .TP
73
- \fB-S\fR, \fB--software\fR \fINAME\fP
56
+ \fB\-S\fR, \fB\-\-software\fR \fINAME\fP
74
57
  The software to target\.
75
- .LP
76
58
  .TP
77
- \fB-V\fR, \fB--software-version\fR \fIVERSION\fP
59
+ \fB\-V\fR, \fB\-\-software\-version\fR \fIVERSION\fP
78
60
  The software version to target\.
79
- .LP
80
61
  .TP
81
- \fB-L\fR, \fB--loot\fR
62
+ \fB\-L\fR, \fB\-\-loot\fR
82
63
  Adds the loot mixin\.
83
- .LP
84
64
  .TP
85
- \fB-h\fR, \fB--help\fR
65
+ \fB\-h\fR, \fB\-\-help\fR
86
66
  Print help information
87
- .LP
88
67
  .SH AUTHOR
89
- .LP
90
68
  .PP
91
69
  Postmodern
92
70
  .MT postmodern\.mod3\[at]gmail\.com
93
71
  .ME
94
- .LP
95
72
  .SH SEE ALSO
96
- .LP
97
73
  .PP
98
- ronin\-exploits\-show(1) ronin\-exploits\-run(1)
74
+ .BR ronin\-exploits\-show (1)
75
+ .BR ronin\-exploits\-run (1)
@@ -1,5 +1,9 @@
1
1
  # ronin-exploits-new 1 "2023-02-01" Ronin "User Manuals"
2
2
 
3
+ ## NAME
4
+
5
+ ronin-exploits-new - Creates a new exploit file
6
+
3
7
  ## SYNOPSIS
4
8
 
5
9
  `ronin-exploits new` [*options*] *PATH*
@@ -11,58 +15,58 @@ Creates a new exploit file.
11
15
  ## ARGUMENTS
12
16
 
13
17
  *PATH*
14
- The path to the exploit file to generate.
18
+ : The path to the exploit file to generate.
15
19
 
16
20
  ## OPTIONS
17
21
 
18
- `-t`, `--type` `exploit`\|`heap_overflow`\|`stack_overflow`\|`web`\|`open_redirect`\|`lfi`\|`rfi`\|`sqli`\|`ssti`\|`xss`
19
- The type for the new exploit.
22
+ `-t`, `--type` `exploit`\|`heap-overflow`\|`stack-overflow`\|`command-injection`\|`web`\|`open-redirect`\|`lfi`\|`rfi`\|`sqli`\|`ssti`\|`xss`
23
+ : The type for the new exploit.
20
24
 
21
25
  `-a`, `--author` *NAME*
22
- The name of the author. Defaults to the configured git author name or the
26
+ : The name of the author. Defaults to the configured git author name or the
23
27
  `USERNAME` environment variable.
24
28
 
25
29
  `-e`, `--author-email` *EMAIL*
26
- The email address of the author. Defaults to the configured git author email.
30
+ : The email address of the author. Defaults to the configured git author email.
27
31
 
28
32
  `-s`, `--summary` *TEXT*
29
- One sentence summary for the exploit.
33
+ : One sentence summary for the exploit.
30
34
 
31
35
  `-d`, `--description` *TEXT*
32
- Longer description for the exploit.
36
+ : Longer description for the exploit.
33
37
 
34
38
  `-I`, `--advisory-id` *ID*
35
- Add the advisory ID to the exploit.
39
+ : Add the advisory ID to the exploit.
36
40
 
37
41
  `-R`, `--reference` *URL*
38
- Adds a reference to the exploit.
42
+ : Adds a reference to the exploit.
39
43
 
40
44
  `-P`, `--has-payload` `payload`\|`asm`\|`shellcode`\|`c`\|`command`\|`shell`\|`powershell`\|`html`\|`javascript`\|`typescript`\|`java`\|`sql`\|`php`\|`nodejs`
41
- The payload type the exploit uses.
45
+ : The payload type the exploit uses.
42
46
 
43
- `-N`, `--networking` `remote_tcp`\|`remote_udp`\|`http`
44
- The networking mixin to use.
47
+ `-N`, `--networking` `remote-tcp`\|`remote-udp`\|`http`
48
+ : The networking mixin to use.
45
49
 
46
50
  `-A`, `--arch` `x86`\|`x86-64`\|`amd64`\|`ia64`\|`ppc`\|`ppc64`\|`arm`\|`armbe`\|`arm64`\|`arm64be`\|`mips`\|`mipsle`\|`mips64`\|`mips64le`
47
- The architecture to target.
51
+ : The architecture to target.
48
52
 
49
53
  `-O`, `--os` `linux`\|`macos`\|`windows`\|`freebsd`\|`openbsd`\|`netbsd`
50
- The Operating System (OS) to target.
54
+ : The Operating System (OS) to target.
51
55
 
52
56
  `--os-version` *VERSION*
53
- The OS version to target.
57
+ : The OS version to target.
54
58
 
55
59
  `-S`, `--software` *NAME*
56
- The software to target.
60
+ : The software to target.
57
61
 
58
62
  `-V`, `--software-version` *VERSION*
59
- The software version to target.
63
+ : The software version to target.
60
64
 
61
65
  `-L`, `--loot`
62
- Adds the loot mixin.
66
+ : Adds the loot mixin.
63
67
 
64
68
  `-h`, `--help`
65
- Print help information
69
+ : Print help information
66
70
 
67
71
  ## AUTHOR
68
72
 
@@ -70,4 +74,4 @@ Postmodern <postmodern.mod3@gmail.com>
70
74
 
71
75
  ## SEE ALSO
72
76
 
73
- ronin-exploits-show(1) ronin-exploits-run(1)
77
+ [ronin-exploits-show](ronin-exploits-show.1.md) [ronin-exploits-run](ronin-exploits-run.1.md)