Commit Graph

15462 Commits

Author SHA1 Message Date
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
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
Metasploit 7633c2832a Bump version of framework to 5.0.4 2019-01-31 10:05:02 -08: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
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
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
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
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
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
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
Metasploit c808cbe050 Bump version of framework to 5.0.2 2019-01-17 20:41:51 -08:00
William Vu 80e70a145d Fix typo of "architectures" in pivot command help 2019-01-17 20:16:43 -06:00
William Vu e488cf4a37 Prefer Tempfile over Rex::Quickfile for info -d
Rex::Quickfile undefines Tempfile's finalizer, preventing cleanup.
2019-01-17 13:58:03 -06:00
William Vu a5a8c88a6e Implement resource scripting for command shells 2019-01-17 13:39:03 -06:00
James Barnett 4b87d54430 Add comment explaining why we prevent loot.data update 2019-01-16 15:29:27 -06:00
James Barnett fd6527bac8 Prepend loot filenames with unique string
This should help prevent accidentally overwriting files with the same name
2019-01-16 15:20:41 -06:00
James Barnett 705c269d27 Handle empty data values for loot 2019-01-16 10:59:07 -06:00
James Barnett d6462fed63 Dont allow users to update loot.data 2019-01-16 10:01:22 -06:00
William Vu 06de16a36f Merge remote-tracking branch 'upstream/master' into pr/10119 2019-01-15 18:33:48 -06:00
James Barnett dc7d611780 Base64 encode the data field for each loot operation 2019-01-15 18:01:43 -06:00
Wei Chen 70c4e719c9 Land #11190, fix multi line text in android send_sms 2019-01-15 17:18:37 -06:00
Wei Chen 27d6fffdad Land #11125, Import/generate ysoserial Java serialization objects 2019-01-15 17:09:56 -06:00
Wei Chen 85555b81c4 Update code for Ruby coding style standards 2019-01-15 17:08:54 -06:00
James Barnett 5c308b1448 Remove nested loot object from host JSON
The code on the framework side that was utilizing this was removed
a while ago. It was never actually being used anywhere, and was causing
issues with getting host objects back when the loot contained
non-UTF-8 characters
2019-01-15 16:45:04 -06:00
William Vu 3bf4726b15 Fix pid_uid 2019-01-15 14:34:29 -06:00
James Barnett 42c9553283 Dont do a separate lookup for loot.host, use the included JSON
This is just a temporary change. Eventually we should be doing separate
lookups for associated objects as that is the RESTful way of doing it.
Implementing this now to prevent extra load on the server until we can
put a better system in place of doing multiple lookups with a single call.
2019-01-15 12:47:37 -06:00