Commit Graph

15608 Commits (56bff4f748e652e6e53b7c4491c8bf40b622ba1e)

Author SHA1 Message Date
Jeffrey Martin 25743e1346
one more missing doc 2019-02-19 10:03:20 -06:00
h00die e25abebd80 private can be nil 2019-02-18 20:30:08 -05:00
Jeffrey Martin a13198189e
analyze all host if no range provided 2019-02-15 17:40:11 -06:00
Jeffrey Martin 5e8d33483e
update docs to clarify workspace rewuirements 2019-02-15 17:32:49 -06:00
Jeffrey Martin 6460180423
guard for unknown host, fix processing of modules 2019-02-15 17:19:23 -06:00
Brendan Coles a5d5ccf67e Deprecate get_env script 2019-02-15 08:51:11 +00:00
L 7f5fdff8b3 fixed 2019-02-15 15:14:23 +08:00
Green-m c3e7556b06
Fix a issue that show help do not work. 2019-02-15 11:45:55 +08:00
Matthew Kienow a0daf0d9d7
Land #11401, fix rhosts tab completion issues 2019-02-14 14:35:02 -05:00
Brent Cook daf22bbde6 apply similar change to service enumeration 2019-02-14 12:13:36 -06:00
Metasploit f895ebccc3
Bump version of framework to 5.0.7 2019-02-14 10:10:20 -08:00
Green-m d3745e9a39
Enable cancel auxiliary mod for multiple targets. 2019-02-14 11:16:37 +08:00
Brent Cook 5b213f36d5 fix #11395, use db.hosts.each
Prefer iterating over hosts over the older method in the database.
2019-02-13 18:04:50 -06:00
Brent Cook 1b4a0e1abb switch back to source_address for now 2019-02-13 17:35:00 -06:00
Adam Cammack a70c097b10
Remove extra lines from help 2019-02-13 15:57:37 -06:00
Adam Cammack 22eb2bb72b
Add support for showing detailed help for commands 2019-02-13 15:56:44 -06:00
Patrick 5151473e09 Implement sec-name and pad-nops for command dispatcher 2019-02-13 13:35:42 -06:00
Patrick a5ae7c491d Fixup line alignment. 2019-02-13 13:35:36 -06:00
Patrick 1487ca8923 Fixed line alignment. New section name is made lowercase to comply with naming standard. 2019-02-13 13:35:26 -06:00
Patrick 484329f6a0 Issue #6637: Adds msfvenom option --sec-name to specify custom new section header name 2019-02-13 13:34:38 -06:00
Brent Cook 16e800a7c4 Implement deregistering an option by alias
Rather than having to 'unregister' both 'RHOST' and 'RHOSTS' for modules using a network-connecting mixin, this allows just unregistering one option by exposing the alias key lookup to the module options library and allowing it to remove the datastore options for the module from validation.

Noted while testing #11108 that the module's unregister options were incomplete, and there were a few more like it. This allows modules operating in this style to work without modifications.
2019-02-13 05:07:20 -06:00
Brent Cook a1522ffd06 use Ruby socket 2019-02-13 04:41:41 -06:00
Brent Cook 8083853cb9 don't create a new socket every time the command prompt is displayed 2019-02-13 04:30:57 -06:00
Brent Cook 930d1fb78a
Land #11351, many new John the Ripper module improvements 2019-02-13 03:05:14 -06:00
Brent Cook 4a4717c3db
Land #10937, remove server/client from module cache 2019-02-12 21:28:14 -06:00
Christian Mehlmauer c68c44c818
remove bigdecimal warning 2019-02-12 19:12:54 +01:00
Brent Cook 7bad1eefd7
Land #11335, Update hash parsing formats for JTR 2019-02-12 08:32:47 -06:00
Matthew Kienow 47a8d31716
Hide pg deprecated constants warning
This is a temporary workaround to suppress the warning message
introduced when upgrading pg to 0.21.0 with an older version of
activerecord.
2019-02-11 14:42:13 -05:00
Metasploit 127c891950
Bump version of framework to 5.0.6 2019-02-07 10:04:24 -08:00
Brent Cook 5fc7167beb Merge remote-tracking branch 'upstream/master' into land-10812- 2019-02-07 09:31:02 -06:00
Brent Cook 0e838da56b
Land #11333, Add initial scaffolding for external evasion module tools 2019-02-06 22:51:42 -06:00
Brent Cook 08817d9c7e
Land #11342, Modify Post read_file to check if file is readable 2019-02-06 22:48:13 -06:00
Brent Cook 76583708da expand the size of more stat struct entries 2019-02-06 22:08:51 -06:00
Brent Cook 02b3c84f80 Merge remote-tracking branch 'upstream/master' into land-11193- 2019-02-06 19:53:00 -06:00
Pedro Ribeiro 733f784472
add bcoles suggestions 2019-02-04 21:55:40 -06:00
h00die cb3f91af0c add bsdi to creds help and what the hashes start with 2019-02-04 17:02:50 -05:00
h00die 748e1468b3 creds upgrade and apply_pot 2019-02-03 10:17:25 -05:00
Nathan 2d7c075f81
undefined method `to_linux_armle_elf_dll' for Msf::Util::EXE:Class
```
msfvenom -p linux/armle/shell_reverse_tcp lport=1337 lhost=192.168.1.100 -f elf-so > shell.so
[-] No platform was selected, choosing Msf::Module::Platform::Linux from the payload
[-] No arch selected, selecting arch: armle from the payload
No encoder or badchars specified, outputting raw payload
Payload size: 172 bytes
Error: undefined method `to_linux_armle_elf_dll' for Msf::Util::EXE:Class
Did you mean?  to_linux_armle_elf
               to_linux_x64_elf_dll
               to_linux_x86_elf_dll```
2019-02-03 16:34:30 +11:00
Spencer McIntyre 0908d5a2d2 Rename default_options to describe_payload_options 2019-02-02 15:01:05 -05:00
h00die c5bfee1df7 add jtr to creds command 2019-02-01 20:25:03 -05:00
Metasploit 804c441425
Bump version of framework to 5.0.5 2019-02-01 13:44:12 -08:00
Wei Chen 7fe381ac60
Land #11309, Normalize newlines in CommandShell#run_single 2019-02-01 15:17:24 -06:00
Brendan Coles 47a13ea0e8 Modify Post read_file to check if file is readable 2019-02-01 19:44:18 +00:00
Spencer McIntyre 6343280364 Clean up external evasion module options 2019-02-01 11:54:22 -05:00
William Vu 62560f9581 Add rudimentary Windows support to command_exists? 2019-01-31 22:07:30 -06:00
William Vu d0d383c8db Move command_exists? to Msf::Post::Common 2019-01-31 22:04:29 -06:00
Jeffrey Martin 5cf97fd09b
remove nolonger used variable 2019-01-31 13:05:02 -06:00
Spencer McIntyre 162139ee1d Keep advanced options in the same list 2019-01-31 13:41:18 -05:00
Jeffrey Martin 35ec947c17
remove is_server/is_client and `app` search term 2019-01-31 12:14:25 -06:00
Metasploit 7633c2832a
Bump version of framework to 5.0.4 2019-01-31 10:05:02 -08:00
Jeffrey Martin a4d413348b
improve definition of `server/client` modules
update the cached data to define server vs client base on the
type of exploit module instead of the module stance.
2019-01-31 11:52:22 -06:00
h00die 9f6b9d586b updating jtr formats in hashdumpers 2019-01-30 20:16:08 -05:00
h00die da27c3eeae centralize hash to jtr formatting 2019-01-30 16:24:05 -05:00
William Vu 70cc03b707
Land #11329, sessions -k range fix 2019-01-30 11:26:47 -06:00
bwatters 2e7a71ee9b
Add support for mettle debug 2019-01-29 15:13:44 -06:00
Spencer McIntyre acded21f0c Support default options for external modules 2019-01-29 11:29:18 -05:00
Spencer McIntyre a1b5fcc6d5 Support to_handler for evasion modules 2019-01-29 11:06:08 -05:00
Spencer McIntyre 548185747f Add support for advanced options for ext evasions 2019-01-29 09:09:58 -05:00
Nash van Gool 4059a5f0c7 Changed range array building to correctly parse ranges using - or ..
Fixes #11328
2019-01-29 14:13:10 +01:00
Brent Cook 9fce991d8e
Land #11322, report hostname and OS version for Cisco aux mixin 2019-01-29 05:28:34 -06:00
Brent Cook 96786f435c
Land #11315, fix incorrect API usage of session_setup_clear 2019-01-29 05:26:07 -06:00
Brent Cook 61d677d9e0
Land #11327, disable MSF5 development branch banner 2019-01-29 05:24:43 -06:00
Brent Cook 1b9c7ef6ff disable MSF5 development branch banner 2019-01-29 05:19:56 -06:00
William Vu 92e846d09d Chomp user input alone
[1] pry(main)> "\r\n".chomp("\n")
=> ""
[2] pry(main)>

Meh.
2019-01-28 17:46:03 -06:00
Spencer McIntyre accdd791f7 Fix a args generation issue for external evasions 2019-01-28 16:10:44 -05:00
Spencer McIntyre 607bbe90e3 Add tab completion for evasion module options 2019-01-28 13:22:51 -05:00
Spencer McIntyre 28370b7f29 Add support for external evasion modules 2019-01-28 13:22:22 -05:00
Jeffrey Martin 32c090868c
adjustments for analyze 2019-01-28 10:11:40 -06:00
h00die 56de74b3d6 db cisco hostname and version 2019-01-27 20:33:19 -05:00
Matthew Kienow d078fcd87c
Land #11270, fix miscellaneous loot issues 2019-01-25 19:15:14 -05:00
James Barnett b98133cded
Dont assign unique file name when theres no file on disk 2019-01-25 16:36:17 -06:00
James Barnett 27a0cbfcab
Rename file on disk when updating path attribute 2019-01-25 13:34:14 -06:00
h00die 9930edf704 jtr modernizations 2019-01-25 14:07:24 -05:00
James Barnett 9e3a39bcf9
Dont try to process empty loot 2019-01-25 12:34:52 -06:00
Marian Gawron 91da35070d updated smb-client to make it working again after being bugged for some time 2019-01-25 12:47:18 +01:00
William Vu c6f1c10737 Normalize newlines in CommandShell#run_single
Lines from normal interaction will include a trailing newline, while
lines from resource scripting will not.
2019-01-24 12:53:09 -06:00
Metasploit 9e06040efe
Bump version of framework to 5.0.3 2019-01-24 10:06:14 -08:00
William Vu f0aa002009
Land #10119, Linux post-exploitation metashell 2019-01-24 11:24:12 -06:00
William Vu 8b6807254b Fix whoami 2019-01-24 10:57:53 -06:00
Pedro Ribeiro c09515da82
Update nuuo.rb 2019-01-24 07:52:56 +07:00
Adam Cammack f04c2537f6
Land #11305, Add default to wordlist.to_file() 2019-01-23 15:20:10 -06:00
Adam Cammack a96660847f
Land #11303, Add Post::Linux::Kernel.cpu_flags 2019-01-23 15:10:42 -06:00
Adam Cammack 459a7e490e
Land #11271, Resource scripting for command shells 2019-01-23 15:04:05 -06:00
Jeffrey Martin fa7c7fc956
keep wordlist.to_file() backwords compatible 2019-01-23 10:52:49 -06:00
Brendan Coles 9ecd22e63c Add Msf::Post::Linux::Kernel.cpu_flags 2019-01-23 11:35:38 +00:00
bcoles b5dbacc42f
Update lib/msf/core/exploit/remote/nuuo.rb
Co-Authored-By: pedrib <pedrib@gmail.com>
2019-01-23 16:09:43 +07:00
bcoles 08aa1c3ed0
Update lib/msf/core/exploit/remote/nuuo.rb
Co-Authored-By: pedrib <pedrib@gmail.com>
2019-01-23 15:32:15 +07:00
bcoles d8f9e41686
Update lib/msf/core/exploit/remote/nuuo.rb
Co-Authored-By: pedrib <pedrib@gmail.com>
2019-01-23 14:13:31 +07:00
Pedro Ribeiro 3b98add519
Update nuuo.rb 2019-01-23 11:16:41 +07:00
Pedro Ribeiro 9375ee2ffc
Change only the last methods to private 2019-01-23 11:00:42 +07:00
sinn3r 0b109ae1bd
Land #11275, Fix a typo in command_dispatcher/core.rb
Fix typo of "architectures" in pivot command help
2019-01-22 11:58:26 -06:00
Wei Chen 2a9b65e845
Land #11268, set AndroidWakelock=true by default 2019-01-22 11:56:37 -06:00
Wei Chen 1b674a6bb5
Land #11272, Tempfile over Rex for info -d for better cleanup 2019-01-22 11:38:41 -06:00
William Vu 442ce7317f Commit missed Rex::Quickfile line 2019-01-22 10:40:09 -06:00
Pedro Ribeiro 0562aa50b4
Update nuuo.rb 2019-01-22 12:45:18 +07:00
Pedro Ribeiro 94f5b4081f
Fix file download / upload bug 2019-01-22 11:17:47 +07:00
Pedro Ribeiro 459598b91b
Update mixins to include new nuuo file 2019-01-21 16:40:37 +07:00
Pedro Ribeiro 72a55fe0fc
Add nuuo NUCS core lib 2019-01-21 16:39:16 +07:00
Brendan Coles 444555d3be
Land #11261, Add maximum word length to JtR wordlist generation 2019-01-20 04:14:57 +00:00
William Vu f8af9a9e4d Merge remote-tracking branch 'upstream/master' into pr/10119 2019-01-18 10:43:34 -06:00