ronin-exploits 1.0.4 → 1.1.0.rc1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/ruby.yml +1 -0
- data/.gitignore +1 -0
- data/ChangeLog.md +37 -0
- data/Gemfile +6 -4
- data/README.md +32 -6
- data/Rakefile +10 -0
- data/data/completions/ronin-exploits +111 -0
- data/data/completions/ronin-exploits.yml +12 -0
- data/data/new/exploit.rb.erb +5 -3
- data/gemspec.yml +3 -1
- data/lib/ronin/exploits/advisory.rb +1 -1
- data/lib/ronin/exploits/cli/command.rb +1 -1
- data/lib/ronin/exploits/cli/commands/completion.rb +64 -0
- data/lib/ronin/exploits/cli/commands/irb.rb +1 -1
- data/lib/ronin/exploits/cli/commands/list.rb +1 -1
- data/lib/ronin/exploits/cli/commands/new.rb +25 -16
- data/lib/ronin/exploits/cli/commands/run.rb +30 -4
- data/lib/ronin/exploits/cli/commands/show.rb +44 -1
- data/lib/ronin/exploits/cli/exploit_command.rb +1 -1
- data/lib/ronin/exploits/cli/exploit_methods.rb +1 -1
- data/lib/ronin/exploits/cli/ruby_shell.rb +1 -1
- data/lib/ronin/exploits/cli.rb +1 -1
- data/lib/ronin/exploits/client_side_web_vuln.rb +1 -1
- data/lib/ronin/exploits/command_injection.rb +78 -0
- data/lib/ronin/exploits/exceptions.rb +1 -1
- data/lib/ronin/exploits/exploit.rb +4 -3
- data/lib/ronin/exploits/heap_overflow.rb +1 -1
- data/lib/ronin/exploits/lfi.rb +1 -1
- data/lib/ronin/exploits/loot/file.rb +1 -1
- data/lib/ronin/exploits/loot.rb +1 -1
- data/lib/ronin/exploits/memory_corruption.rb +1 -1
- data/lib/ronin/exploits/metadata/arch.rb +1 -1
- data/lib/ronin/exploits/metadata/cookie_param.rb +1 -1
- data/lib/ronin/exploits/metadata/default_filename.rb +1 -1
- data/lib/ronin/exploits/metadata/default_port.rb +1 -1
- data/lib/ronin/exploits/metadata/header_name.rb +1 -1
- data/lib/ronin/exploits/metadata/os.rb +1 -1
- data/lib/ronin/exploits/metadata/shouts.rb +1 -1
- data/lib/ronin/exploits/metadata/url_path.rb +1 -1
- data/lib/ronin/exploits/metadata/url_query_param.rb +1 -1
- data/lib/ronin/exploits/mixins/binary.rb +1 -1
- data/lib/ronin/exploits/mixins/build_dir.rb +1 -1
- data/lib/ronin/exploits/mixins/file_builder.rb +1 -1
- data/lib/ronin/exploits/mixins/format_string.rb +1 -1
- data/lib/ronin/exploits/mixins/has_payload.rb +1 -1
- data/lib/ronin/exploits/mixins/has_targets.rb +1 -1
- data/lib/ronin/exploits/mixins/html.rb +1 -1
- data/lib/ronin/exploits/mixins/http.rb +3 -3
- data/lib/ronin/exploits/mixins/loot.rb +1 -1
- data/lib/ronin/exploits/mixins/nops.rb +1 -1
- data/lib/ronin/exploits/mixins/remote_tcp.rb +1 -1
- data/lib/ronin/exploits/mixins/remote_udp.rb +2 -2
- data/lib/ronin/exploits/mixins/seh.rb +1 -1
- data/lib/ronin/exploits/mixins/stack_overflow.rb +1 -1
- data/lib/ronin/exploits/mixins/text.rb +1 -1
- data/lib/ronin/exploits/mixins.rb +1 -1
- data/lib/ronin/exploits/open_redirect.rb +1 -1
- data/lib/ronin/exploits/params/base_url.rb +1 -1
- data/lib/ronin/exploits/params/bind_host.rb +1 -1
- data/lib/ronin/exploits/params/bind_port.rb +1 -1
- data/lib/ronin/exploits/params/filename.rb +1 -1
- data/lib/ronin/exploits/params/host.rb +1 -1
- data/lib/ronin/exploits/params/port.rb +1 -1
- data/lib/ronin/exploits/registry.rb +1 -1
- data/lib/ronin/exploits/rfi.rb +1 -1
- data/lib/ronin/exploits/root.rb +1 -1
- data/lib/ronin/exploits/seh_overflow.rb +1 -1
- data/lib/ronin/exploits/sqli.rb +1 -1
- data/lib/ronin/exploits/ssti.rb +1 -1
- data/lib/ronin/exploits/stack_overflow.rb +1 -1
- data/lib/ronin/exploits/target.rb +1 -1
- data/lib/ronin/exploits/test_result.rb +1 -1
- data/lib/ronin/exploits/use_after_free.rb +1 -1
- data/lib/ronin/exploits/version.rb +2 -2
- data/lib/ronin/exploits/web.rb +1 -1
- data/lib/ronin/exploits/web_vuln.rb +1 -1
- data/lib/ronin/exploits/xss.rb +1 -1
- data/lib/ronin/exploits.rb +2 -1
- data/man/ronin-exploits-completion.1 +76 -0
- data/man/ronin-exploits-completion.1.md +78 -0
- data/man/ronin-exploits-irb.1 +10 -15
- data/man/ronin-exploits-irb.1.md +6 -2
- data/man/ronin-exploits-list.1 +8 -16
- data/man/ronin-exploits-list.1.md +7 -3
- data/man/ronin-exploits-new.1 +23 -46
- data/man/ronin-exploits-new.1.md +24 -20
- data/man/ronin-exploits-run.1 +32 -56
- data/man/ronin-exploits-run.1.md +31 -24
- data/man/ronin-exploits-show.1 +10 -20
- data/man/ronin-exploits-show.1.md +9 -5
- data/man/ronin-exploits.1 +11 -23
- data/man/ronin-exploits.1.md +11 -7
- data/scripts/setup +58 -0
- metadata +12 -5
@@ -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-
|
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-
|
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-
|
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-
|
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-
|
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-
|
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-
|
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-
|
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
|
data/lib/ronin/exploits/rfi.rb
CHANGED
@@ -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-
|
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
|
data/lib/ronin/exploits/root.rb
CHANGED
@@ -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-
|
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-
|
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
|
data/lib/ronin/exploits/sqli.rb
CHANGED
@@ -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-
|
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
|
data/lib/ronin/exploits/ssti.rb
CHANGED
@@ -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-
|
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-
|
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-
|
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-
|
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-
|
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-
|
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.
|
25
|
+
VERSION = '1.1.0.rc1'
|
26
26
|
end
|
27
27
|
end
|
data/lib/ronin/exploits/web.rb
CHANGED
@@ -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-
|
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-
|
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
|
data/lib/ronin/exploits/xss.rb
CHANGED
@@ -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-
|
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
|
data/lib/ronin/exploits.rb
CHANGED
@@ -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-
|
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
|
+
|
data/man/ronin-exploits-irb.1
CHANGED
@@ -1,31 +1,26 @@
|
|
1
|
-
.\" Generated by kramdown-man 0.1
|
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
|
-
.
|
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
|
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
|
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
|
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
|
24
|
+
.BR ronin\-exploits\-list (1)
|
25
|
+
.BR ronin\-exploits\-show (1)
|
26
|
+
.BR ronin\-exploits\-run (1)
|
data/man/ronin-exploits-irb.1.md
CHANGED
@@ -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
|
-
|
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)
|
data/man/ronin-exploits-list.1
CHANGED
@@ -1,37 +1,29 @@
|
|
1
|
-
.\" Generated by kramdown-man 0.1
|
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
|
-
.
|
4
|
+
.SH NAME
|
5
|
+
.PP
|
6
|
+
ronin\-exploits\-list \- Lists the available exploits
|
5
7
|
.SH SYNOPSIS
|
6
|
-
.LP
|
7
8
|
.PP
|
8
|
-
\fBronin
|
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
|
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
|
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
|
-
|
18
|
+
: The optional directory to list exploits from.
|
15
19
|
|
16
20
|
## OPTIONS
|
17
21
|
|
18
22
|
`-h`, `--help`
|
19
|
-
|
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)
|
data/man/ronin-exploits-new.1
CHANGED
@@ -1,98 +1,75 @@
|
|
1
|
-
.\" Generated by kramdown-man 0.1
|
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
|
-
.
|
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
|
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
|
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
|
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
|
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
|
29
|
+
\fB\-s\fR, \fB\-\-summary\fR \fITEXT\fP
|
38
30
|
One sentence summary for the exploit\.
|
39
|
-
.LP
|
40
31
|
.TP
|
41
|
-
\fB
|
32
|
+
\fB\-d\fR, \fB\-\-description\fR \fITEXT\fP
|
42
33
|
Longer description for the exploit\.
|
43
|
-
.LP
|
44
34
|
.TP
|
45
|
-
\fB
|
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
|
38
|
+
\fB\-R\fR, \fB\-\-reference\fR \fIURL\fP
|
50
39
|
Adds a reference to the exploit\.
|
51
|
-
.LP
|
52
40
|
.TP
|
53
|
-
\fB
|
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
|
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
|
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
|
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
|
53
|
+
\fB\-\-os\-version\fR \fIVERSION\fP
|
70
54
|
The OS version to target\.
|
71
|
-
.LP
|
72
55
|
.TP
|
73
|
-
\fB
|
56
|
+
\fB\-S\fR, \fB\-\-software\fR \fINAME\fP
|
74
57
|
The software to target\.
|
75
|
-
.LP
|
76
58
|
.TP
|
77
|
-
\fB
|
59
|
+
\fB\-V\fR, \fB\-\-software\-version\fR \fIVERSION\fP
|
78
60
|
The software version to target\.
|
79
|
-
.LP
|
80
61
|
.TP
|
81
|
-
\fB
|
62
|
+
\fB\-L\fR, \fB\-\-loot\fR
|
82
63
|
Adds the loot mixin\.
|
83
|
-
.LP
|
84
64
|
.TP
|
85
|
-
\fB
|
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
|
74
|
+
.BR ronin\-exploits\-show (1)
|
75
|
+
.BR ronin\-exploits\-run (1)
|