ronin-exploits 0.3.0 → 1.0.0.beta1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.document +4 -0
- data/.editorconfig +11 -0
- data/.github/workflows/ruby.yml +31 -0
- data/.gitignore +13 -0
- data/.mailmap +1 -0
- data/.rspec +1 -0
- data/.ruby-version +1 -0
- data/.yardopts +1 -0
- data/COPYING.txt +161 -335
- data/{History.txt → ChangeLog.md} +122 -14
- data/Gemfile +50 -0
- data/README.md +454 -0
- data/Rakefile +37 -23
- data/bin/ronin-exploits +13 -6
- data/data/new/exploit.rb.erb +158 -0
- data/gemspec.yml +37 -0
- data/lib/ronin/exploits/advisory.rb +84 -0
- data/lib/ronin/exploits/cli/command.rb +39 -0
- data/lib/ronin/exploits/cli/commands/irb.rb +57 -0
- data/lib/ronin/exploits/cli/commands/list.rb +80 -0
- data/lib/ronin/exploits/cli/commands/new.rb +332 -0
- data/lib/ronin/exploits/cli/commands/run.rb +396 -0
- data/lib/ronin/exploits/cli/commands/show.rb +264 -0
- data/lib/ronin/exploits/cli/exploit_command.rb +114 -0
- data/lib/ronin/exploits/cli/exploit_methods.rb +114 -0
- data/lib/ronin/exploits/cli/ruby_shell.rb +51 -0
- data/lib/ronin/exploits/cli.rb +46 -0
- data/lib/ronin/exploits/client_side_web_vuln.rb +69 -0
- data/lib/ronin/exploits/exceptions.rb +27 -17
- data/lib/ronin/exploits/exploit.rb +501 -582
- data/lib/ronin/exploits/heap_overflow.rb +50 -0
- data/lib/ronin/exploits/lfi.rb +141 -0
- data/lib/ronin/exploits/loot/file.rb +113 -0
- data/lib/ronin/exploits/loot.rb +119 -0
- data/lib/ronin/exploits/memory_corruption.rb +53 -0
- data/lib/ronin/exploits/metadata/arch.rb +83 -0
- data/lib/ronin/exploits/metadata/cookie_param.rb +80 -0
- data/lib/ronin/exploits/metadata/default_filename.rb +69 -0
- data/lib/ronin/exploits/metadata/default_port.rb +69 -0
- data/lib/ronin/exploits/metadata/header_name.rb +80 -0
- data/lib/ronin/exploits/metadata/os.rb +117 -0
- data/lib/ronin/exploits/metadata/shouts.rb +85 -0
- data/lib/ronin/exploits/metadata/url_path.rb +82 -0
- data/lib/ronin/exploits/metadata/url_query_param.rb +80 -0
- data/lib/ronin/exploits/mixins/binary.rb +106 -0
- data/lib/ronin/exploits/mixins/build_dir.rb +61 -0
- data/lib/ronin/exploits/mixins/file_builder.rb +102 -0
- data/lib/ronin/exploits/mixins/format_string.rb +87 -0
- data/lib/ronin/exploits/mixins/has_payload.rb +202 -0
- data/lib/ronin/exploits/mixins/has_targets.rb +297 -0
- data/lib/ronin/exploits/mixins/html.rb +213 -0
- data/lib/ronin/exploits/mixins/http.rb +866 -0
- data/lib/ronin/exploits/mixins/loot.rb +84 -0
- data/lib/ronin/exploits/mixins/nops.rb +121 -0
- data/lib/ronin/exploits/mixins/remote_tcp.rb +272 -0
- data/lib/ronin/exploits/mixins/remote_udp.rb +264 -0
- data/lib/ronin/exploits/mixins/seh.rb +136 -0
- data/lib/ronin/exploits/mixins/stack_overflow.rb +124 -0
- data/lib/ronin/exploits/mixins/text.rb +65 -0
- data/lib/ronin/exploits/mixins.rb +32 -0
- data/lib/ronin/exploits/open_redirect.rb +103 -0
- data/lib/ronin/exploits/params/base_url.rb +84 -0
- data/lib/ronin/exploits/params/bind_host.rb +53 -0
- data/lib/ronin/exploits/params/bind_port.rb +53 -0
- data/lib/ronin/exploits/params/filename.rb +71 -0
- data/lib/ronin/exploits/params/host.rb +56 -0
- data/lib/ronin/exploits/params/port.rb +71 -0
- data/lib/ronin/exploits/registry.rb +32 -0
- data/lib/ronin/exploits/rfi.rb +106 -0
- data/lib/ronin/exploits/root.rb +28 -0
- data/lib/ronin/exploits/seh_overflow.rb +90 -0
- data/lib/ronin/exploits/sqli.rb +172 -0
- data/lib/ronin/exploits/ssti.rb +108 -0
- data/lib/ronin/exploits/stack_overflow.rb +90 -0
- data/lib/ronin/exploits/target.rb +63 -103
- data/lib/ronin/exploits/test_result.rb +80 -0
- data/lib/ronin/exploits/use_after_free.rb +50 -0
- data/lib/ronin/exploits/version.rb +11 -12
- data/lib/ronin/exploits/web.rb +18 -89
- data/lib/ronin/exploits/web_vuln.rb +378 -0
- data/lib/ronin/exploits/xss.rb +102 -0
- data/lib/ronin/exploits.rb +19 -26
- data/man/ronin-exploits-irb.1 +31 -0
- data/man/ronin-exploits-irb.1.md +22 -0
- data/man/ronin-exploits-list.1 +37 -0
- data/man/ronin-exploits-list.1.md +27 -0
- data/man/ronin-exploits-new.1 +98 -0
- data/man/ronin-exploits-new.1.md +73 -0
- data/man/ronin-exploits-run.1 +117 -0
- data/man/ronin-exploits-run.1.md +87 -0
- data/man/ronin-exploits-show.1 +45 -0
- data/man/ronin-exploits-show.1.md +33 -0
- data/man/ronin-exploits.1 +55 -0
- data/man/ronin-exploits.1.md +41 -0
- data/ronin-exploits.gemspec +62 -0
- data/spec/advisory_spec.rb +71 -0
- data/spec/cli/exploit_command_spec.rb +68 -0
- data/spec/cli/exploit_methods_spec.rb +208 -0
- data/spec/cli/ruby_shell_spec.rb +14 -0
- data/spec/client_side_web_vuln_spec.rb +117 -0
- data/spec/exploit_spec.rb +538 -0
- data/spec/exploits_spec.rb +3 -4
- data/spec/heap_overflow_spec.rb +14 -0
- data/spec/lfi_spec.rb +162 -0
- data/spec/loot/file_spec.rb +131 -0
- data/spec/loot_spec.rb +138 -0
- data/spec/memory_corruption_spec.rb +22 -0
- data/spec/metadata/arch_spec.rb +82 -0
- data/spec/metadata/cookie_param_spec.rb +67 -0
- data/spec/metadata/default_filename_spec.rb +62 -0
- data/spec/metadata/default_port_spec.rb +62 -0
- data/spec/metadata/header_name_spec.rb +67 -0
- data/spec/metadata/os_spec.rb +164 -0
- data/spec/metadata/shouts_spec.rb +100 -0
- data/spec/metadata/url_path_spec.rb +67 -0
- data/spec/metadata/url_query_param_spec.rb +67 -0
- data/spec/mixins/binary_spec.rb +129 -0
- data/spec/mixins/build_dir.rb +66 -0
- data/spec/mixins/file_builder_spec.rb +67 -0
- data/spec/mixins/format_string_spec.rb +44 -0
- data/spec/mixins/has_payload_spec.rb +333 -0
- data/spec/mixins/has_targets_spec.rb +434 -0
- data/spec/mixins/html_spec.rb +772 -0
- data/spec/mixins/http_spec.rb +1227 -0
- data/spec/mixins/loot_spec.rb +20 -0
- data/spec/mixins/nops_spec.rb +165 -0
- data/spec/mixins/remote_tcp_spec.rb +217 -0
- data/spec/mixins/remote_udp_spec.rb +217 -0
- data/spec/mixins/seh_spec.rb +89 -0
- data/spec/mixins/stack_overflow_spec.rb +87 -0
- data/spec/mixins/text_spec.rb +43 -0
- data/spec/open_redirect_spec.rb +71 -0
- data/spec/params/base_url_spec.rb +71 -0
- data/spec/params/bind_host_spec.rb +34 -0
- data/spec/params/bind_port_spec.rb +35 -0
- data/spec/params/filename_spec.rb +77 -0
- data/spec/params/host_spec.rb +34 -0
- data/spec/params/port_spec.rb +77 -0
- data/spec/rfi_spec.rb +107 -0
- data/spec/seh_overflow_spec.rb +18 -0
- data/spec/spec_helper.rb +6 -10
- data/spec/sqli_spec.rb +306 -0
- data/spec/ssti_spec.rb +121 -0
- data/spec/stack_overflow_spec.rb +18 -0
- data/spec/target_spec.rb +92 -0
- data/spec/test_result_spec.rb +32 -0
- data/spec/use_after_free_spec.rb +14 -0
- data/spec/web_spec.rb +12 -0
- data/spec/web_vuln_spec.rb +854 -0
- data/spec/xss_spec.rb +69 -0
- metadata +356 -324
- data/Manifest.txt +0 -196
- data/README.txt +0 -274
- data/bin/ronin-exploit +0 -12
- data/bin/ronin-gen-binary-payload +0 -12
- data/bin/ronin-gen-exploit +0 -12
- data/bin/ronin-gen-ftp-exploit +0 -12
- data/bin/ronin-gen-http-exploit +0 -12
- data/bin/ronin-gen-local-exploit +0 -12
- data/bin/ronin-gen-nops +0 -12
- data/bin/ronin-gen-payload +0 -12
- data/bin/ronin-gen-remote-exploit +0 -12
- data/bin/ronin-gen-remote-tcp-exploit +0 -12
- data/bin/ronin-gen-remote-udp-exploit +0 -12
- data/bin/ronin-gen-shellcode +0 -12
- data/bin/ronin-gen-web-exploit +0 -12
- data/bin/ronin-payload +0 -12
- data/bin/ronin-payloads +0 -12
- data/lib/ronin/controls/behaviors.rb +0 -133
- data/lib/ronin/controls/exceptions/not_implemented.rb +0 -27
- data/lib/ronin/controls/exceptions/program_not_found.rb +0 -27
- data/lib/ronin/controls/exceptions.rb +0 -23
- data/lib/ronin/controls/file_system.rb +0 -145
- data/lib/ronin/controls/helpers/command_exec.rb +0 -143
- data/lib/ronin/controls/helpers/dir_create.rb +0 -42
- data/lib/ronin/controls/helpers/dir_listing.rb +0 -62
- data/lib/ronin/controls/helpers/dir_remove.rb +0 -42
- data/lib/ronin/controls/helpers/file_ctime.rb +0 -52
- data/lib/ronin/controls/helpers/file_mtime.rb +0 -53
- data/lib/ronin/controls/helpers/file_ownership.rb +0 -53
- data/lib/ronin/controls/helpers/file_read.rb +0 -62
- data/lib/ronin/controls/helpers/file_remove.rb +0 -51
- data/lib/ronin/controls/helpers/file_write.rb +0 -62
- data/lib/ronin/controls/helpers/memory_read.rb +0 -39
- data/lib/ronin/controls/helpers/memory_write.rb +0 -39
- data/lib/ronin/controls/helpers.rb +0 -33
- data/lib/ronin/controls.rb +0 -23
- data/lib/ronin/exploits/control.rb +0 -47
- data/lib/ronin/exploits/exceptions/exception.rb +0 -27
- data/lib/ronin/exploits/exceptions/exploit_not_built.rb +0 -29
- data/lib/ronin/exploits/exceptions/payload_size.rb +0 -29
- data/lib/ronin/exploits/exceptions/restricted_char.rb +0 -29
- data/lib/ronin/exploits/exceptions/target_data_missing.rb +0 -29
- data/lib/ronin/exploits/exceptions/target_unspecified.rb +0 -29
- data/lib/ronin/exploits/exceptions/unknown_helper.rb +0 -29
- data/lib/ronin/exploits/exploit_author.rb +0 -33
- data/lib/ronin/exploits/ftp.rb +0 -45
- data/lib/ronin/exploits/helpers/binary.rb +0 -50
- data/lib/ronin/exploits/helpers/buffer_overflow.rb +0 -115
- data/lib/ronin/exploits/helpers/file_based.rb +0 -112
- data/lib/ronin/exploits/helpers/format_string.rb +0 -117
- data/lib/ronin/exploits/helpers/padding.rb +0 -101
- data/lib/ronin/exploits/helpers.rb +0 -26
- data/lib/ronin/exploits/http.rb +0 -52
- data/lib/ronin/exploits/local.rb +0 -40
- data/lib/ronin/exploits/remote.rb +0 -40
- data/lib/ronin/exploits/remote_tcp.rb +0 -87
- data/lib/ronin/exploits/remote_udp.rb +0 -87
- data/lib/ronin/exploits/targets/buffer_overflow.rb +0 -46
- data/lib/ronin/exploits/targets/format_string.rb +0 -43
- data/lib/ronin/exploits/targets.rb +0 -27
- data/lib/ronin/exploits/verifiers.rb +0 -121
- data/lib/ronin/generators/exploits/exploit.rb +0 -70
- data/lib/ronin/generators/exploits/ftp.rb +0 -42
- data/lib/ronin/generators/exploits/http.rb +0 -42
- data/lib/ronin/generators/exploits/local.rb +0 -42
- data/lib/ronin/generators/exploits/remote.rb +0 -42
- data/lib/ronin/generators/exploits/remote_tcp.rb +0 -44
- data/lib/ronin/generators/exploits/remote_udp.rb +0 -44
- data/lib/ronin/generators/exploits/static.rb +0 -30
- data/lib/ronin/generators/exploits/web.rb +0 -45
- data/lib/ronin/generators/exploits.rb +0 -23
- data/lib/ronin/generators/payloads/binary_payload.rb +0 -42
- data/lib/ronin/generators/payloads/nops.rb +0 -42
- data/lib/ronin/generators/payloads/payload.rb +0 -66
- data/lib/ronin/generators/payloads/shellcode.rb +0 -42
- data/lib/ronin/generators/payloads/static.rb +0 -30
- data/lib/ronin/generators/payloads.rb +0 -23
- data/lib/ronin/model/has_default_port.rb +0 -54
- data/lib/ronin/model/targets_arch.rb +0 -68
- data/lib/ronin/model/targets_os.rb +0 -69
- data/lib/ronin/model/targets_product.rb +0 -68
- data/lib/ronin/payloads/asm_payload.rb +0 -40
- data/lib/ronin/payloads/binary_payload.rb +0 -42
- data/lib/ronin/payloads/control.rb +0 -47
- data/lib/ronin/payloads/encoders/encoder.rb +0 -92
- data/lib/ronin/payloads/encoders/xor.rb +0 -79
- data/lib/ronin/payloads/encoders.rb +0 -32
- data/lib/ronin/payloads/exceptions/exception.rb +0 -27
- data/lib/ronin/payloads/exceptions/not_implemented.rb +0 -29
- data/lib/ronin/payloads/exceptions/unknown_helper.rb +0 -29
- data/lib/ronin/payloads/exceptions.rb +0 -23
- data/lib/ronin/payloads/has_payload.rb +0 -111
- data/lib/ronin/payloads/helpers/chained.rb +0 -61
- data/lib/ronin/payloads/helpers/rpc.rb +0 -93
- data/lib/ronin/payloads/helpers.rb +0 -23
- data/lib/ronin/payloads/nops.rb +0 -39
- data/lib/ronin/payloads/payload.rb +0 -350
- data/lib/ronin/payloads/payload_author.rb +0 -33
- data/lib/ronin/payloads/shellcode.rb +0 -40
- data/lib/ronin/payloads/web_payload.rb +0 -41
- data/lib/ronin/payloads.rb +0 -36
- data/lib/ronin/ui/command_line/commands/exploit.rb +0 -193
- data/lib/ronin/ui/command_line/commands/exploits.rb +0 -154
- data/lib/ronin/ui/command_line/commands/gen_binary_payload.rb +0 -34
- data/lib/ronin/ui/command_line/commands/gen_exploit.rb +0 -34
- data/lib/ronin/ui/command_line/commands/gen_ftp_exploit.rb +0 -34
- data/lib/ronin/ui/command_line/commands/gen_http_exploit.rb +0 -34
- data/lib/ronin/ui/command_line/commands/gen_local_exploit.rb +0 -34
- data/lib/ronin/ui/command_line/commands/gen_nops.rb +0 -34
- data/lib/ronin/ui/command_line/commands/gen_payload.rb +0 -34
- data/lib/ronin/ui/command_line/commands/gen_remote_exploit.rb +0 -34
- data/lib/ronin/ui/command_line/commands/gen_remote_tcp_exploit.rb +0 -34
- data/lib/ronin/ui/command_line/commands/gen_remote_udp_exploit.rb +0 -34
- data/lib/ronin/ui/command_line/commands/gen_shellcode.rb +0 -34
- data/lib/ronin/ui/command_line/commands/gen_web_exploit.rb +0 -34
- data/lib/ronin/ui/command_line/commands/payload.rb +0 -129
- data/lib/ronin/ui/command_line/commands/payloads.rb +0 -128
- data/lib/ronin/vuln/behavior.rb +0 -165
- data/spec/controls/behaviors_examples.rb +0 -38
- data/spec/exploits/binary_exploit_spec.rb +0 -44
- data/spec/exploits/buffer_overflow_exploit_spec.rb +0 -70
- data/spec/exploits/exploit_spec.rb +0 -313
- data/spec/exploits/file_based_exploit_spec.rb +0 -48
- data/spec/exploits/format_string_exploit_spec.rb +0 -32
- data/spec/exploits/ftp_spec.rb +0 -13
- data/spec/exploits/http_spec.rb +0 -17
- data/spec/exploits/padding_exploit_spec.rb +0 -44
- data/spec/exploits/remote_tcp_spec.rb +0 -28
- data/spec/exploits/remote_udp_spec.rb +0 -28
- data/spec/exploits/target_spec.rb +0 -98
- data/spec/exploits/targets/buffer_overflow_spec.rb +0 -22
- data/spec/exploits/web_spec.rb +0 -35
- data/spec/generators/exploits/exploit_examples.rb +0 -24
- data/spec/generators/exploits/exploit_spec.rb +0 -42
- data/spec/generators/exploits/ftp_spec.rb +0 -42
- data/spec/generators/exploits/http_spec.rb +0 -42
- data/spec/generators/exploits/local_spec.rb +0 -42
- data/spec/generators/exploits/remote_spec.rb +0 -42
- data/spec/generators/exploits/remote_tcp_spec.rb +0 -47
- data/spec/generators/exploits/remote_udp_spec.rb +0 -47
- data/spec/generators/exploits/web_spec.rb +0 -52
- data/spec/generators/payloads/binary_payload_spec.rb +0 -31
- data/spec/generators/payloads/nops_spec.rb +0 -31
- data/spec/generators/payloads/payload_examples.rb +0 -16
- data/spec/generators/payloads/payload_spec.rb +0 -31
- data/spec/generators/payloads/shellcode_spec.rb +0 -31
- data/spec/helpers/database.rb +0 -5
- data/spec/helpers/objects.rb +0 -22
- data/spec/model/has_default_port_spec.rb +0 -27
- data/spec/model/models/default_port_model.rb +0 -13
- data/spec/model/models/non_default_port_model.rb +0 -11
- data/spec/model/models/targets_arch_model.rb +0 -11
- data/spec/model/models/targets_os_model.rb +0 -11
- data/spec/model/models/targets_product_model.rb +0 -11
- data/spec/model/targets_arch_spec.rb +0 -32
- data/spec/model/targets_os_spec.rb +0 -33
- data/spec/model/targets_product_spec.rb +0 -35
- data/spec/objects/exploits/example.rb +0 -25
- data/spec/objects/exploits/simple.rb +0 -24
- data/spec/objects/payloads/simple.rb +0 -19
- data/spec/payloads/encoders/encoder_spec.rb +0 -30
- data/spec/payloads/encoders/xor_spec.rb +0 -20
- data/spec/payloads/payload_spec.rb +0 -156
- data/spec/vuln/behavior_spec.rb +0 -15
- data/static/ronin/generators/exploits/_cache.erb +0 -14
- data/static/ronin/generators/exploits/_header.erb +0 -1
- data/static/ronin/generators/exploits/_helpers.erb +0 -4
- data/static/ronin/generators/exploits/exploit.erb +0 -24
- data/static/ronin/generators/exploits/ftp.erb +0 -24
- data/static/ronin/generators/exploits/http.erb +0 -26
- data/static/ronin/generators/exploits/local.erb +0 -24
- data/static/ronin/generators/exploits/remote.erb +0 -24
- data/static/ronin/generators/exploits/remote_tcp.erb +0 -26
- data/static/ronin/generators/exploits/remote_udp.erb +0 -26
- data/static/ronin/generators/exploits/web.erb +0 -28
- data/static/ronin/generators/payloads/_cache.erb +0 -10
- data/static/ronin/generators/payloads/_header.erb +0 -1
- data/static/ronin/generators/payloads/_helpers.erb +0 -2
- data/static/ronin/generators/payloads/binary_payload.erb +0 -25
- data/static/ronin/generators/payloads/nops.erb +0 -19
- data/static/ronin/generators/payloads/payload.erb +0 -25
- data/static/ronin/generators/payloads/shellcode.erb +0 -25
- data/tasks/spec.rb +0 -10
- data/tasks/yard.rb +0 -13
- data.tar.gz.sig +0 -2
- metadata.gz.sig +0 -0
data/Manifest.txt
DELETED
@@ -1,196 +0,0 @@
|
|
1
|
-
History.txt
|
2
|
-
COPYING.txt
|
3
|
-
Manifest.txt
|
4
|
-
README.txt
|
5
|
-
Rakefile
|
6
|
-
bin/ronin-payload
|
7
|
-
bin/ronin-exploit
|
8
|
-
bin/ronin-payloads
|
9
|
-
bin/ronin-exploits
|
10
|
-
bin/ronin-gen-exploit
|
11
|
-
bin/ronin-gen-local-exploit
|
12
|
-
bin/ronin-gen-remote-exploit
|
13
|
-
bin/ronin-gen-remote-tcp-exploit
|
14
|
-
bin/ronin-gen-remote-udp-exploit
|
15
|
-
bin/ronin-gen-http-exploit
|
16
|
-
bin/ronin-gen-ftp-exploit
|
17
|
-
bin/ronin-gen-web-exploit
|
18
|
-
bin/ronin-gen-payload
|
19
|
-
bin/ronin-gen-binary-payload
|
20
|
-
bin/ronin-gen-shellcode
|
21
|
-
bin/ronin-gen-nops
|
22
|
-
lib/ronin/model/has_default_port.rb
|
23
|
-
lib/ronin/model/targets_arch.rb
|
24
|
-
lib/ronin/model/targets_os.rb
|
25
|
-
lib/ronin/model/targets_product.rb
|
26
|
-
lib/ronin/vuln/behavior.rb
|
27
|
-
lib/ronin/controls.rb
|
28
|
-
lib/ronin/controls/exceptions.rb
|
29
|
-
lib/ronin/controls/exceptions/not_implemented.rb
|
30
|
-
lib/ronin/controls/exceptions/program_not_found.rb
|
31
|
-
lib/ronin/controls/behaviors.rb
|
32
|
-
lib/ronin/controls/file_system.rb
|
33
|
-
lib/ronin/controls/helpers.rb
|
34
|
-
lib/ronin/controls/helpers/memory_read.rb
|
35
|
-
lib/ronin/controls/helpers/memory_write.rb
|
36
|
-
lib/ronin/controls/helpers/file_read.rb
|
37
|
-
lib/ronin/controls/helpers/file_write.rb
|
38
|
-
lib/ronin/controls/helpers/file_remove.rb
|
39
|
-
lib/ronin/controls/helpers/file_ownership.rb
|
40
|
-
lib/ronin/controls/helpers/file_mtime.rb
|
41
|
-
lib/ronin/controls/helpers/file_ctime.rb
|
42
|
-
lib/ronin/controls/helpers/dir_listing.rb
|
43
|
-
lib/ronin/controls/helpers/dir_create.rb
|
44
|
-
lib/ronin/controls/helpers/dir_remove.rb
|
45
|
-
lib/ronin/controls/helpers/command_exec.rb
|
46
|
-
lib/ronin/exploits.rb
|
47
|
-
lib/ronin/exploits/exceptions.rb
|
48
|
-
lib/ronin/exploits/exceptions/exception.rb
|
49
|
-
lib/ronin/exploits/exceptions/unknown_helper.rb
|
50
|
-
lib/ronin/exploits/exceptions/target_unspecified.rb
|
51
|
-
lib/ronin/exploits/exceptions/target_data_missing.rb
|
52
|
-
lib/ronin/exploits/exceptions/exploit_not_built.rb
|
53
|
-
lib/ronin/exploits/exceptions/restricted_char.rb
|
54
|
-
lib/ronin/exploits/exceptions/payload_size.rb
|
55
|
-
lib/ronin/exploits/verifiers.rb
|
56
|
-
lib/ronin/exploits/helpers.rb
|
57
|
-
lib/ronin/exploits/helpers/file_based.rb
|
58
|
-
lib/ronin/exploits/helpers/binary.rb
|
59
|
-
lib/ronin/exploits/helpers/padding.rb
|
60
|
-
lib/ronin/exploits/helpers/buffer_overflow.rb
|
61
|
-
lib/ronin/exploits/helpers/format_string.rb
|
62
|
-
lib/ronin/exploits/targets.rb
|
63
|
-
lib/ronin/exploits/targets/buffer_overflow.rb
|
64
|
-
lib/ronin/exploits/targets/format_string.rb
|
65
|
-
lib/ronin/exploits/control.rb
|
66
|
-
lib/ronin/exploits/target.rb
|
67
|
-
lib/ronin/exploits/exploit.rb
|
68
|
-
lib/ronin/exploits/exploit_author.rb
|
69
|
-
lib/ronin/exploits/remote.rb
|
70
|
-
lib/ronin/exploits/local.rb
|
71
|
-
lib/ronin/exploits/remote_tcp.rb
|
72
|
-
lib/ronin/exploits/remote_udp.rb
|
73
|
-
lib/ronin/exploits/ftp.rb
|
74
|
-
lib/ronin/exploits/http.rb
|
75
|
-
lib/ronin/exploits/web.rb
|
76
|
-
lib/ronin/exploits/version.rb
|
77
|
-
lib/ronin/payloads.rb
|
78
|
-
lib/ronin/payloads/exceptions.rb
|
79
|
-
lib/ronin/payloads/exceptions/exception.rb
|
80
|
-
lib/ronin/payloads/exceptions/unknown_helper.rb
|
81
|
-
lib/ronin/payloads/exceptions/not_implemented.rb
|
82
|
-
lib/ronin/payloads/helpers.rb
|
83
|
-
lib/ronin/payloads/helpers/chained.rb
|
84
|
-
lib/ronin/payloads/helpers/rpc.rb
|
85
|
-
lib/ronin/payloads/encoders.rb
|
86
|
-
lib/ronin/payloads/encoders/encoder.rb
|
87
|
-
lib/ronin/payloads/encoders/xor.rb
|
88
|
-
lib/ronin/payloads/has_payload.rb
|
89
|
-
lib/ronin/payloads/control.rb
|
90
|
-
lib/ronin/payloads/payload_author.rb
|
91
|
-
lib/ronin/payloads/payload.rb
|
92
|
-
lib/ronin/payloads/binary_payload.rb
|
93
|
-
lib/ronin/payloads/asm_payload.rb
|
94
|
-
lib/ronin/payloads/nops.rb
|
95
|
-
lib/ronin/payloads/shellcode.rb
|
96
|
-
lib/ronin/payloads/web_payload.rb
|
97
|
-
lib/ronin/generators/exploits.rb
|
98
|
-
lib/ronin/generators/exploits/exploit.rb
|
99
|
-
lib/ronin/generators/exploits/local.rb
|
100
|
-
lib/ronin/generators/exploits/remote.rb
|
101
|
-
lib/ronin/generators/exploits/remote_tcp.rb
|
102
|
-
lib/ronin/generators/exploits/remote_udp.rb
|
103
|
-
lib/ronin/generators/exploits/http.rb
|
104
|
-
lib/ronin/generators/exploits/ftp.rb
|
105
|
-
lib/ronin/generators/exploits/web.rb
|
106
|
-
lib/ronin/generators/exploits/static.rb
|
107
|
-
lib/ronin/generators/payloads.rb
|
108
|
-
lib/ronin/generators/payloads/payload.rb
|
109
|
-
lib/ronin/generators/payloads/binary_payload.rb
|
110
|
-
lib/ronin/generators/payloads/shellcode.rb
|
111
|
-
lib/ronin/generators/payloads/nops.rb
|
112
|
-
lib/ronin/generators/payloads/static.rb
|
113
|
-
lib/ronin/ui/command_line/commands/payload.rb
|
114
|
-
lib/ronin/ui/command_line/commands/exploit.rb
|
115
|
-
lib/ronin/ui/command_line/commands/payloads.rb
|
116
|
-
lib/ronin/ui/command_line/commands/exploits.rb
|
117
|
-
lib/ronin/ui/command_line/commands/gen_exploit.rb
|
118
|
-
lib/ronin/ui/command_line/commands/gen_local_exploit.rb
|
119
|
-
lib/ronin/ui/command_line/commands/gen_remote_exploit.rb
|
120
|
-
lib/ronin/ui/command_line/commands/gen_remote_tcp_exploit.rb
|
121
|
-
lib/ronin/ui/command_line/commands/gen_remote_udp_exploit.rb
|
122
|
-
lib/ronin/ui/command_line/commands/gen_http_exploit.rb
|
123
|
-
lib/ronin/ui/command_line/commands/gen_ftp_exploit.rb
|
124
|
-
lib/ronin/ui/command_line/commands/gen_web_exploit.rb
|
125
|
-
lib/ronin/ui/command_line/commands/gen_payload.rb
|
126
|
-
lib/ronin/ui/command_line/commands/gen_binary_payload.rb
|
127
|
-
lib/ronin/ui/command_line/commands/gen_shellcode.rb
|
128
|
-
lib/ronin/ui/command_line/commands/gen_nops.rb
|
129
|
-
tasks/spec.rb
|
130
|
-
tasks/yard.rb
|
131
|
-
static/ronin/generators/exploits/_header.erb
|
132
|
-
static/ronin/generators/exploits/_helpers.erb
|
133
|
-
static/ronin/generators/exploits/_cache.erb
|
134
|
-
static/ronin/generators/exploits/exploit.erb
|
135
|
-
static/ronin/generators/exploits/local.erb
|
136
|
-
static/ronin/generators/exploits/remote.erb
|
137
|
-
static/ronin/generators/exploits/remote_tcp.erb
|
138
|
-
static/ronin/generators/exploits/remote_udp.erb
|
139
|
-
static/ronin/generators/exploits/http.erb
|
140
|
-
static/ronin/generators/exploits/ftp.erb
|
141
|
-
static/ronin/generators/exploits/web.erb
|
142
|
-
static/ronin/generators/payloads/_header.erb
|
143
|
-
static/ronin/generators/payloads/_helpers.erb
|
144
|
-
static/ronin/generators/payloads/_cache.erb
|
145
|
-
static/ronin/generators/payloads/payload.erb
|
146
|
-
static/ronin/generators/payloads/binary_payload.erb
|
147
|
-
static/ronin/generators/payloads/shellcode.erb
|
148
|
-
static/ronin/generators/payloads/nops.erb
|
149
|
-
spec/spec_helper.rb
|
150
|
-
spec/helpers/database.rb
|
151
|
-
spec/helpers/objects.rb
|
152
|
-
spec/objects/exploits/simple.rb
|
153
|
-
spec/objects/exploits/example.rb
|
154
|
-
spec/objects/payloads/simple.rb
|
155
|
-
spec/exploits_spec.rb
|
156
|
-
spec/model/models/default_port_model.rb
|
157
|
-
spec/model/models/non_default_port_model.rb
|
158
|
-
spec/model/models/targets_arch_model.rb
|
159
|
-
spec/model/models/targets_os_model.rb
|
160
|
-
spec/model/models/targets_product_model.rb
|
161
|
-
spec/model/has_default_port_spec.rb
|
162
|
-
spec/model/targets_arch_spec.rb
|
163
|
-
spec/model/targets_os_spec.rb
|
164
|
-
spec/model/targets_product_spec.rb
|
165
|
-
spec/vuln/behavior_spec.rb
|
166
|
-
spec/controls/behaviors_examples.rb
|
167
|
-
spec/exploits/targets/buffer_overflow_spec.rb
|
168
|
-
spec/exploits/target_spec.rb
|
169
|
-
spec/exploits/exploit_spec.rb
|
170
|
-
spec/exploits/remote_tcp_spec.rb
|
171
|
-
spec/exploits/remote_udp_spec.rb
|
172
|
-
spec/exploits/ftp_spec.rb
|
173
|
-
spec/exploits/http_spec.rb
|
174
|
-
spec/exploits/web_spec.rb
|
175
|
-
spec/exploits/file_based_exploit_spec.rb
|
176
|
-
spec/exploits/binary_exploit_spec.rb
|
177
|
-
spec/exploits/padding_exploit_spec.rb
|
178
|
-
spec/exploits/buffer_overflow_exploit_spec.rb
|
179
|
-
spec/exploits/format_string_exploit_spec.rb
|
180
|
-
spec/payloads/encoders/encoder_spec.rb
|
181
|
-
spec/payloads/encoders/xor_spec.rb
|
182
|
-
spec/payloads/payload_spec.rb
|
183
|
-
spec/generators/exploits/exploit_examples.rb
|
184
|
-
spec/generators/exploits/exploit_spec.rb
|
185
|
-
spec/generators/exploits/local_spec.rb
|
186
|
-
spec/generators/exploits/remote_spec.rb
|
187
|
-
spec/generators/exploits/remote_tcp_spec.rb
|
188
|
-
spec/generators/exploits/remote_udp_spec.rb
|
189
|
-
spec/generators/exploits/http_spec.rb
|
190
|
-
spec/generators/exploits/ftp_spec.rb
|
191
|
-
spec/generators/exploits/web_spec.rb
|
192
|
-
spec/generators/payloads/payload_examples.rb
|
193
|
-
spec/generators/payloads/payload_spec.rb
|
194
|
-
spec/generators/payloads/binary_payload_spec.rb
|
195
|
-
spec/generators/payloads/shellcode_spec.rb
|
196
|
-
spec/generators/payloads/nops_spec.rb
|
data/README.txt
DELETED
@@ -1,274 +0,0 @@
|
|
1
|
-
= Ronin Exploits
|
2
|
-
|
3
|
-
* http://ronin.rubyforge.org/exploits/
|
4
|
-
* http://github.com/postmodern/ronin-exploits
|
5
|
-
* irc.freenode.net #ronin
|
6
|
-
* Postmodern (postmodern.mod3 at gmail.com)
|
7
|
-
|
8
|
-
== DESCRIPTION:
|
9
|
-
|
10
|
-
Ronin Exploits is a Ruby library for Ronin that provides exploitation and
|
11
|
-
payload crafting functionality.
|
12
|
-
|
13
|
-
Ronin is a Ruby platform for exploit development and security research.
|
14
|
-
Ronin allows for the rapid development and distribution of code, exploits
|
15
|
-
or payloads over many common Source-Code-Management (SCM) systems.
|
16
|
-
|
17
|
-
=== Ruby
|
18
|
-
|
19
|
-
Ronin's Ruby environment allows security researchers to leverage Ruby with
|
20
|
-
ease. The Ruby environment contains a multitude of convenience methods
|
21
|
-
for working with data in Ruby, a Ruby Object Database, a customized Ruby
|
22
|
-
Console and an extendable command-line interface.
|
23
|
-
|
24
|
-
=== Extend
|
25
|
-
|
26
|
-
Ronin's more specialized features are provided by additional Ronin
|
27
|
-
libraries, which users can choose to install. These libraries can allow
|
28
|
-
one to write and run Exploits and Payloads, scan for PHP vulnerabilities,
|
29
|
-
perform Google Dorks or run 3rd party scanners.
|
30
|
-
|
31
|
-
=== Publish
|
32
|
-
|
33
|
-
Ronin allows users to publish and share code, exploits, payloads or other
|
34
|
-
data via Overlays. Overlays are directories of code and data that can be
|
35
|
-
hosted on any SVN, Hg, Git or Rsync server. Ronin makes it easy to create,
|
36
|
-
install or update Overlays.
|
37
|
-
|
38
|
-
== FEATURES:
|
39
|
-
|
40
|
-
* Ability to define Payloads based on:
|
41
|
-
* Contributing authors.
|
42
|
-
* Behaviors they control.
|
43
|
-
* Helpers they use.
|
44
|
-
* Ability to define Payload Encoders:
|
45
|
-
* Architectures they target.
|
46
|
-
* OSes they target.
|
47
|
-
* Ability to define Exploits based on:
|
48
|
-
* Whether they are local or remote.
|
49
|
-
* Protocol they use.
|
50
|
-
* Contributing authors.
|
51
|
-
* Behaviors they control.
|
52
|
-
* Disclosure status.
|
53
|
-
* Level of weaponization.
|
54
|
-
* Architectures they target.
|
55
|
-
* OSes they target.
|
56
|
-
* Products they target.
|
57
|
-
* Helpers they use.
|
58
|
-
* Provides a simple three phase process of building, verifying and
|
59
|
-
deploying Exploits and Payloads.
|
60
|
-
* Allows adding arbitrary target data to the targets of Exploits.
|
61
|
-
* Allows combining Payloads with Exploits.
|
62
|
-
* Allows using a raw-payload with an Exploit.
|
63
|
-
* Allows the addition of multiple Payload Encoders to an Exploit.
|
64
|
-
* Allows chaining multiple Payloads together.
|
65
|
-
* Provides a multitude of exploit and payload generators which can create
|
66
|
-
customized skeleton Ruby Exploits and Payloads.
|
67
|
-
|
68
|
-
== SYNOPSIS:
|
69
|
-
|
70
|
-
* Generate a skeleton exploit, with some custom information:
|
71
|
-
|
72
|
-
$ ronin-gen exploit exploit.rb --name Example \
|
73
|
-
--controls command_exec \
|
74
|
-
--status proven \
|
75
|
-
--authors Postmodern \
|
76
|
-
--description "This is an example."
|
77
|
-
|
78
|
-
* To generate other types of exploits, you can specify +local_exploit+,
|
79
|
-
+remote_exploit+, +remote_tcp_exploit+, +remote_udp_exploit+,
|
80
|
-
+ftp_exploit+, +http_exploit+ or +web_exploit+, instead of simply
|
81
|
-
+exploit+.
|
82
|
-
|
83
|
-
* Generate a skeleton payload, with some custom information:
|
84
|
-
|
85
|
-
$ ronin-gen payload payload.rb --name Example \
|
86
|
-
--controls file_read file_write \
|
87
|
-
--authors Postmodern \
|
88
|
-
--description "This is an example."
|
89
|
-
|
90
|
-
* To generate other types of payloads, you can specify +binary_payload+,
|
91
|
-
+shellcode+ or +nops+, instead of simply +payload+.
|
92
|
-
|
93
|
-
* List available payloads:
|
94
|
-
|
95
|
-
$ ronin-payloads
|
96
|
-
|
97
|
-
* Print information about a payload:
|
98
|
-
|
99
|
-
$ ronin-payloads -n NAME -v
|
100
|
-
|
101
|
-
* Build and output a payload:
|
102
|
-
|
103
|
-
$ ronin-payload NAME
|
104
|
-
|
105
|
-
* Build and output a raw unescaped payload:
|
106
|
-
|
107
|
-
$ ronin-payload NAME --raw
|
108
|
-
|
109
|
-
* Load a payload from a file, then build and output it:
|
110
|
-
|
111
|
-
$ ronin-payload -f FILE
|
112
|
-
|
113
|
-
* List available exploits:
|
114
|
-
|
115
|
-
$ ronin-exploits
|
116
|
-
|
117
|
-
* Print information about an exploit:
|
118
|
-
|
119
|
-
$ ronin-exploits -n NAME -v
|
120
|
-
|
121
|
-
* Build and deploy an exploit:
|
122
|
-
|
123
|
-
$ ronin-exploit -n NAME --host example.com --port 9999
|
124
|
-
|
125
|
-
* Load an exploit from a file, then build and deploy it:
|
126
|
-
|
127
|
-
$ ronin-exploit -f FILE --host example.com --port 9999
|
128
|
-
|
129
|
-
* Build and deploy an exploit, with a payload:
|
130
|
-
|
131
|
-
$ ronin-exploit -n NAME --host example.com --port 9999 -P PAYLOAD_NAME
|
132
|
-
|
133
|
-
* Build and deploy an exploit, with a raw payload:
|
134
|
-
|
135
|
-
$ ronin-exploit -n NAME --host example.com --port 9999 \
|
136
|
-
--raw-payload \
|
137
|
-
`echo -en "\x66\x31\xc0\xfe\xc0\xb3\xff\xcd\x80"`
|
138
|
-
|
139
|
-
== EXAMPLES:
|
140
|
-
|
141
|
-
* Define a shellcode payload:
|
142
|
-
|
143
|
-
ronin_shellcode do
|
144
|
-
#
|
145
|
-
# Cacheable data.
|
146
|
-
#
|
147
|
-
cache do
|
148
|
-
self.name = 'test'
|
149
|
-
self.version = '0.5'
|
150
|
-
self.description = %{This is an example shellcode payload.}
|
151
|
-
|
152
|
-
author(:name => 'Postmodern', :organization => 'SophSec')
|
153
|
-
|
154
|
-
self.arch :i686
|
155
|
-
self.os :name => 'Linux'
|
156
|
-
end
|
157
|
-
|
158
|
-
#
|
159
|
-
# Configurable parameters.
|
160
|
-
#
|
161
|
-
parameter :exit_status,
|
162
|
-
:default => 0,
|
163
|
-
:description => 'Exit status of shellcode'
|
164
|
-
|
165
|
-
#
|
166
|
-
# Builds the assembly payload, which will call the SYS_EXIT
|
167
|
-
# syscall with the exit_status of the shellcode.
|
168
|
-
#
|
169
|
-
def build
|
170
|
-
@payload = "\x66\x31\xc0\xfe\xc0"
|
171
|
-
|
172
|
-
unless @exit_status == 0
|
173
|
-
@payload << "\xb3#{@exit_status.chr}"
|
174
|
-
else
|
175
|
-
@payload << "\x66\x31\xdb"
|
176
|
-
end
|
177
|
-
|
178
|
-
@payload << "\xcd\x80"
|
179
|
-
return @payload
|
180
|
-
end
|
181
|
-
end
|
182
|
-
|
183
|
-
* Define a payload encoder:
|
184
|
-
|
185
|
-
ronin_payload_encoder do
|
186
|
-
#
|
187
|
-
# Cacheable data.
|
188
|
-
#
|
189
|
-
cache do
|
190
|
-
self.name = 'base64_encode'
|
191
|
-
self.description = %{Example base64 payload encoder}
|
192
|
-
|
193
|
-
self.arch :i686
|
194
|
-
self.os :name => 'Linux'
|
195
|
-
end
|
196
|
-
|
197
|
-
#
|
198
|
-
# Base64 encodes the specified _data_.
|
199
|
-
#
|
200
|
-
def encode(data)
|
201
|
-
return data.to_s.base64_encode
|
202
|
-
end
|
203
|
-
end
|
204
|
-
|
205
|
-
* Define a remote TCP exploit:
|
206
|
-
|
207
|
-
ronin_remote_tcp_exploit do
|
208
|
-
helper :buffer_overflow
|
209
|
-
|
210
|
-
#
|
211
|
-
# Cacheable data.
|
212
|
-
#
|
213
|
-
cache do
|
214
|
-
self.name = 'test'
|
215
|
-
self.description = %{This is an example exploit.}
|
216
|
-
|
217
|
-
self.status = :potential
|
218
|
-
self.disclosure = [:in_wild, :public]
|
219
|
-
|
220
|
-
author(:name => 'Postmodern', :organization => 'SophSec')
|
221
|
-
|
222
|
-
control :code_exec
|
223
|
-
|
224
|
-
targeting do |target|
|
225
|
-
target.arch :i686
|
226
|
-
target.os :name => 'Linux'
|
227
|
-
target.product :name => 'ExampleWare', :version => '2.4.7b'
|
228
|
-
end
|
229
|
-
end
|
230
|
-
|
231
|
-
#
|
232
|
-
# Builds the exploit.
|
233
|
-
#
|
234
|
-
def build
|
235
|
-
@buffer = "USER #{build_buffer}\n"
|
236
|
-
end
|
237
|
-
|
238
|
-
#
|
239
|
-
# Deploys the built exploit.
|
240
|
-
#
|
241
|
-
def deploy
|
242
|
-
tcp_send @buffer
|
243
|
-
end
|
244
|
-
end
|
245
|
-
|
246
|
-
== REQUIREMENTS:
|
247
|
-
|
248
|
-
* {ronin}[http://ronin.rubyforge.org/] >= 0.3.0
|
249
|
-
* {ronin-gen}[http://ronin.rubyforge.org/gen/] >= 0.2.0
|
250
|
-
|
251
|
-
== INSTALL:
|
252
|
-
|
253
|
-
$ sudo gem install ronin-exploits
|
254
|
-
|
255
|
-
== LICENSE:
|
256
|
-
|
257
|
-
Ronin Exploits - A Ruby library for Ronin that provides exploitation and
|
258
|
-
payload crafting functionality.
|
259
|
-
|
260
|
-
Copyright (c) 2007-2009 Hal Brodigan (postmodern.mod3 at gmail.com)
|
261
|
-
|
262
|
-
This program is free software; you can redistribute it and/or modify
|
263
|
-
it under the terms of the GNU General Public License as published by
|
264
|
-
the Free Software Foundation; either version 2 of the License, or
|
265
|
-
(at your option) any later version.
|
266
|
-
|
267
|
-
This program is distributed in the hope that it will be useful,
|
268
|
-
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
269
|
-
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
270
|
-
GNU General Public License for more details.
|
271
|
-
|
272
|
-
You should have received a copy of the GNU General Public License
|
273
|
-
along with this program; if not, write to the Free Software
|
274
|
-
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
data/bin/ronin-exploit
DELETED
@@ -1,12 +0,0 @@
|
|
1
|
-
#!/usr/bin/env ruby
|
2
|
-
|
3
|
-
require 'rubygems'
|
4
|
-
|
5
|
-
lib_dir = File.expand_path(File.join(File.dirname(__FILE__),'..','lib'))
|
6
|
-
unless $LOAD_PATH.include?(lib_dir)
|
7
|
-
$LOAD_PATH << lib_dir
|
8
|
-
end
|
9
|
-
|
10
|
-
require 'ronin/ui/command_line/commands/exploit'
|
11
|
-
|
12
|
-
Ronin::UI::CommandLine::Commands::Exploit.start
|
@@ -1,12 +0,0 @@
|
|
1
|
-
#!/usr/bin/env ruby
|
2
|
-
|
3
|
-
require 'rubygems'
|
4
|
-
|
5
|
-
lib_dir = File.expand_path(File.join(File.dirname(__FILE__),'..','lib'))
|
6
|
-
unless $LOAD_PATH.include?(lib_dir)
|
7
|
-
$LOAD_PATH << lib_dir
|
8
|
-
end
|
9
|
-
|
10
|
-
require 'ronin/ui/command_line/commands/gen_binary_payload'
|
11
|
-
|
12
|
-
Ronin::UI::CommandLine::Commands::GenBinaryPayload.start
|
data/bin/ronin-gen-exploit
DELETED
@@ -1,12 +0,0 @@
|
|
1
|
-
#!/usr/bin/env ruby
|
2
|
-
|
3
|
-
require 'rubygems'
|
4
|
-
|
5
|
-
lib_dir = File.expand_path(File.join(File.dirname(__FILE__),'..','lib'))
|
6
|
-
unless $LOAD_PATH.include?(lib_dir)
|
7
|
-
$LOAD_PATH << lib_dir
|
8
|
-
end
|
9
|
-
|
10
|
-
require 'ronin/ui/command_line/commands/gen_exploit'
|
11
|
-
|
12
|
-
Ronin::UI::CommandLine::Commands::GenExploit.start
|
data/bin/ronin-gen-ftp-exploit
DELETED
@@ -1,12 +0,0 @@
|
|
1
|
-
#!/usr/bin/env ruby
|
2
|
-
|
3
|
-
require 'rubygems'
|
4
|
-
|
5
|
-
lib_dir = File.expand_path(File.join(File.dirname(__FILE__),'..','lib'))
|
6
|
-
unless $LOAD_PATH.include?(lib_dir)
|
7
|
-
$LOAD_PATH << lib_dir
|
8
|
-
end
|
9
|
-
|
10
|
-
require 'ronin/ui/command_line/commands/gen_ftp_exploit'
|
11
|
-
|
12
|
-
Ronin::UI::CommandLine::Commands::GenFtpExploit.start
|
data/bin/ronin-gen-http-exploit
DELETED
@@ -1,12 +0,0 @@
|
|
1
|
-
#!/usr/bin/env ruby
|
2
|
-
|
3
|
-
require 'rubygems'
|
4
|
-
|
5
|
-
lib_dir = File.expand_path(File.join(File.dirname(__FILE__),'..','lib'))
|
6
|
-
unless $LOAD_PATH.include?(lib_dir)
|
7
|
-
$LOAD_PATH << lib_dir
|
8
|
-
end
|
9
|
-
|
10
|
-
require 'ronin/ui/command_line/commands/gen_http_exploit'
|
11
|
-
|
12
|
-
Ronin::UI::CommandLine::Commands::GenHttpExploit.start
|
data/bin/ronin-gen-local-exploit
DELETED
@@ -1,12 +0,0 @@
|
|
1
|
-
#!/usr/bin/env ruby
|
2
|
-
|
3
|
-
require 'rubygems'
|
4
|
-
|
5
|
-
lib_dir = File.expand_path(File.join(File.dirname(__FILE__),'..','lib'))
|
6
|
-
unless $LOAD_PATH.include?(lib_dir)
|
7
|
-
$LOAD_PATH << lib_dir
|
8
|
-
end
|
9
|
-
|
10
|
-
require 'ronin/ui/command_line/commands/gen_local_exploit'
|
11
|
-
|
12
|
-
Ronin::UI::CommandLine::Commands::GenLocalExploit.start
|
data/bin/ronin-gen-nops
DELETED
@@ -1,12 +0,0 @@
|
|
1
|
-
#!/usr/bin/env ruby
|
2
|
-
|
3
|
-
require 'rubygems'
|
4
|
-
|
5
|
-
lib_dir = File.expand_path(File.join(File.dirname(__FILE__),'..','lib'))
|
6
|
-
unless $LOAD_PATH.include?(lib_dir)
|
7
|
-
$LOAD_PATH << lib_dir
|
8
|
-
end
|
9
|
-
|
10
|
-
require 'ronin/ui/command_line/commands/gen_nops'
|
11
|
-
|
12
|
-
Ronin::UI::CommandLine::Commands::GenNops.start
|
data/bin/ronin-gen-payload
DELETED
@@ -1,12 +0,0 @@
|
|
1
|
-
#!/usr/bin/env ruby
|
2
|
-
|
3
|
-
require 'rubygems'
|
4
|
-
|
5
|
-
lib_dir = File.expand_path(File.join(File.dirname(__FILE__),'..','lib'))
|
6
|
-
unless $LOAD_PATH.include?(lib_dir)
|
7
|
-
$LOAD_PATH << lib_dir
|
8
|
-
end
|
9
|
-
|
10
|
-
require 'ronin/ui/command_line/commands/gen_payload'
|
11
|
-
|
12
|
-
Ronin::UI::CommandLine::Commands::GenPayload.start
|
@@ -1,12 +0,0 @@
|
|
1
|
-
#!/usr/bin/env ruby
|
2
|
-
|
3
|
-
require 'rubygems'
|
4
|
-
|
5
|
-
lib_dir = File.expand_path(File.join(File.dirname(__FILE__),'..','lib'))
|
6
|
-
unless $LOAD_PATH.include?(lib_dir)
|
7
|
-
$LOAD_PATH << lib_dir
|
8
|
-
end
|
9
|
-
|
10
|
-
require 'ronin/ui/command_line/commands/gen_remote_exploit'
|
11
|
-
|
12
|
-
Ronin::UI::CommandLine::Commands::GenRemoteExploit.start
|
@@ -1,12 +0,0 @@
|
|
1
|
-
#!/usr/bin/env ruby
|
2
|
-
|
3
|
-
require 'rubygems'
|
4
|
-
|
5
|
-
lib_dir = File.expand_path(File.join(File.dirname(__FILE__),'..','lib'))
|
6
|
-
unless $LOAD_PATH.include?(lib_dir)
|
7
|
-
$LOAD_PATH << lib_dir
|
8
|
-
end
|
9
|
-
|
10
|
-
require 'ronin/ui/command_line/commands/gen_remote_tcp_exploit'
|
11
|
-
|
12
|
-
Ronin::UI::CommandLine::Commands::GenRemoteTcpExploit.start
|
@@ -1,12 +0,0 @@
|
|
1
|
-
#!/usr/bin/env ruby
|
2
|
-
|
3
|
-
require 'rubygems'
|
4
|
-
|
5
|
-
lib_dir = File.expand_path(File.join(File.dirname(__FILE__),'..','lib'))
|
6
|
-
unless $LOAD_PATH.include?(lib_dir)
|
7
|
-
$LOAD_PATH << lib_dir
|
8
|
-
end
|
9
|
-
|
10
|
-
require 'ronin/ui/command_line/commands/gen_remote_udp_exploit'
|
11
|
-
|
12
|
-
Ronin::UI::CommandLine::Commands::GenRemoteUdpExploit.start
|
data/bin/ronin-gen-shellcode
DELETED
@@ -1,12 +0,0 @@
|
|
1
|
-
#!/usr/bin/env ruby
|
2
|
-
|
3
|
-
require 'rubygems'
|
4
|
-
|
5
|
-
lib_dir = File.expand_path(File.join(File.dirname(__FILE__),'..','lib'))
|
6
|
-
unless $LOAD_PATH.include?(lib_dir)
|
7
|
-
$LOAD_PATH << lib_dir
|
8
|
-
end
|
9
|
-
|
10
|
-
require 'ronin/ui/command_line/commands/gen_shellcode'
|
11
|
-
|
12
|
-
Ronin::UI::CommandLine::Commands::GenShellcode.start
|
data/bin/ronin-gen-web-exploit
DELETED
@@ -1,12 +0,0 @@
|
|
1
|
-
#!/usr/bin/env ruby
|
2
|
-
|
3
|
-
require 'rubygems'
|
4
|
-
|
5
|
-
lib_dir = File.expand_path(File.join(File.dirname(__FILE__),'..','lib'))
|
6
|
-
unless $LOAD_PATH.include?(lib_dir)
|
7
|
-
$LOAD_PATH << lib_dir
|
8
|
-
end
|
9
|
-
|
10
|
-
require 'ronin/ui/command_line/commands/gen_web_exploit'
|
11
|
-
|
12
|
-
Ronin::UI::CommandLine::Commands::GenWebExploit.start
|
data/bin/ronin-payload
DELETED
@@ -1,12 +0,0 @@
|
|
1
|
-
#!/usr/bin/env ruby
|
2
|
-
|
3
|
-
require 'rubygems'
|
4
|
-
|
5
|
-
lib_dir = File.expand_path(File.join(File.dirname(__FILE__),'..','lib'))
|
6
|
-
unless $LOAD_PATH.include?(lib_dir)
|
7
|
-
$LOAD_PATH << lib_dir
|
8
|
-
end
|
9
|
-
|
10
|
-
require 'ronin/ui/command_line/commands/payload'
|
11
|
-
|
12
|
-
Ronin::UI::CommandLine::Commands::Payload.start
|
data/bin/ronin-payloads
DELETED
@@ -1,12 +0,0 @@
|
|
1
|
-
#!/usr/bin/env ruby
|
2
|
-
|
3
|
-
require 'rubygems'
|
4
|
-
|
5
|
-
lib_dir = File.expand_path(File.join(File.dirname(__FILE__),'..','lib'))
|
6
|
-
unless $LOAD_PATH.include?(lib_dir)
|
7
|
-
$LOAD_PATH << lib_dir
|
8
|
-
end
|
9
|
-
|
10
|
-
require 'ronin/ui/command_line/commands/payloads'
|
11
|
-
|
12
|
-
Ronin::UI::CommandLine::Commands::Payloads.start
|