- Click
Run
in the window menu - Click
Edit Configurations
- Click the
+
in the top left of the configurations window - Select
Ruby remote debug
- Enter the below information
- Click
Apply
to save the configuration - Click
Ok
to close the configurations window
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
WARNING: subject accessed in a `before(:all)` hook at: | |
/Users/luke.imhoff/git/limhoff-r7/metasploit-framework/spec/lib/rex/post/meterpreter/packet_spec.rb:455:in `block (3 levels) in <top (required)>' | |
This is deprecated behavior that will not be supported in RSpec 3. | |
`let` and `subject` declarations are not intended to be called | |
in a `before(:all)` hook, as they exist to define state that | |
is reset between each example, while `before(:all)` exists to | |
define state that is shared across examples in an example group. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# each operator is on its own line just so it's easier to read. | |
search | |
description:"Module Description 1" | |
disclosed_on:"2013-08-21" | |
license:"Module License 1" | |
name:"Module Name 1" | |
privileged:"false" | |
stance:"aggressive" | |
actions.name:"Metasploit::Model::Module::Action#name 1" | |
architectures.abbreviation:"armle" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- /tmp/mdm_module_ancestors.txt 2013-09-09 13:37:40.000000000 -0500 | |
+++ file_list.txt 2013-09-09 09:45:26.000000000 -0500 | |
@@ -1,4 +1,4 @@ | |
-/Users/luke.imhoff/.msf4/modules/exploits/windows/wireshark.rb | |
+modules/auxiliary/admin/2wire/xslt_password_reset.rb | |
modules/auxiliary/admin/backupexec/dump.rb | |
modules/auxiliary/admin/backupexec/registry.rb | |
modules/auxiliary/admin/cisco/cisco_secure_acs_bypass.rb | |
@@ -110,6 +110,7 @@ | |
modules/auxiliary/dos/dhcp/isc_dhcpd_clientid.rb |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# `*::Module::Class` holding metadata for this class. | |
# | |
# @return [Mdm::Module::Class] | |
def module_class | |
begin | |
strong_reference = nil | |
if @module_class | |
strong_reference = @module_class.__getobj__ | |
else |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
resurrecting_attr_accessor :module_ancestor do | |
ActiveRecord::Base.connection_pool.with_connection do | |
Mdm::Module::Ancestor.where(real_path_sha1_hex_digest: real_path_sha1_hex_digest).first | |
end | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-----BEGIN PGP PUBLIC KEY BLOCK----- | |
Version: GnuPG v1.4.12 (Darwin) | |
mQINBFCSc3gBEADZ87idVNrYddHP7cvIp9iLcpjVHBAsI7Z6HGe+wnSx5xSMZ994 | |
5AoWLhQaVkN6L6Xqn/yr82LEZvRMNyVj5N7s8nT7m8oZwaqxZZugUk6ZtxzD98Om | |
ytKm5SDJrj52UFXaiGQueljSwy3eWAOgYyuBJsyk9bcUOCPzv2xbA5So5UZ8mN69 | |
L0woT/jXorEvNldE4XbBF7Hujgnry0IsM5H/xX2r7ltRuOIUTYtNLRa/CrhYaiky | |
gUmtXFg1EqKD3p5BzyWoHnLNgxQSSuClln87H/icUGjzHyk+9O38wBkebt8YGoz/ | |
tXiAeVkYYXWNwo3UudkruPZ1i5BYWeRHoAKspFajeE64kbILFsfPYFTCoREj6ByL | |
2PR1g3pni90qVabjyA3NZZyX+RG5g3rUD/jhYmEbsWLoK1uN4Epc3R/rF+I3bHxC |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT COUNT(module_classes.full_name), | |
architectures.abbreviation, | |
platforms.fully_qualified_name | |
FROM module_instances | |
INNER JOIN module_classes | |
ON module_classes.id = module_instances.module_class_id | |
INNER JOIN module_architectures | |
ON module_architectures.module_instance_id = module_instances.id | |
INNER JOIN architectures | |
ON architectures.id = module_architectures.architecture_id |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-----BEGIN PGP PUBLIC KEY BLOCK----- | |
Version: GnuPG v1.4.12 (Darwin) | |
mQINBFLqiNkBEADpVwLNGVkfx3fbZ6RxVZCRzMW/Pum88VIXQe/KmnltyEBX9GsY | |
jH3hwn4gEjSR6NctSCqMcarJd4orv6GF9Bdy8Kj9PnNchl2zuKL0StzkFI48SGFl | |
gEDJsyLCNSzIDD9pwjxZDcHXhz8v06I+YSSL3YW3zKzZ7QmG9MuYbFhDq8ZO6HKb | |
lKf7WhOjVqHdxzsrCGrkIe5MqSh5yxfRaYUtt4SbmfaFOI/oxTtGL67VcIOF9Osb | |
Cp8g8AS/jtl9UGt9jgF0y6Duqne4anwujykMFcBXzlVA55fpmckTXYgqJfE65CiZ | |
IwXH/QuyrhwdNR2IeahHqKTX44Up/S3O6w197XaIfQ9ZKWOK5JRlDH4BQ/o1/y2p | |
/hkFUeyiWQ1i6X81bTX0P1Uuztzgp3QNZhHGx2qCiV8w9/BZEZ3yScTzlgSN1Xlz |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
exploit = framework.modules.create_from_module_class(module_class) | |
# ensure target is set correct | |
reference_names = # Array<Mdm::Module::Class#reference_name> order by preference with most desired first. | |
payload_compatibility = exploit.target.payload_compatibility(reference_names: reference_names) | |
payload_reference_name = payload_compatibility.preferred_class_reference_name |
OlderNewer