Commit Graph

20644 Commits

Author SHA1 Message Date
Ashley Donaldson 81338225f0 Respect path expansion when performing path-based tab completion 2021-11-18 14:50:22 +11:00
Grant Willcox 9023c61ac8 Land #15851, User Agent Refresh 2021-11-17 15:08:52 -06:00
Ashley Donaldson f54f03fc92 Prevent payloads being used if can't clean up files 2021-11-17 15:40:16 +11:00
adfoster-r7 3d4587b44e Land #15879, Rename local instance variable to thread_list and handle a missing batch_size value on threads 2021-11-16 17:01:53 +00:00
Jeffrey Martin 4498e5d2e1 add guards for thread variable access 2021-11-16 07:53:51 -06:00
Jeffrey Martin b84b3b73ef use a more descriptive variable name 2021-11-16 07:51:23 -06:00
Ashley Donaldson f020c99a85 Implement suggestions from code review 2021-11-16 11:07:48 +11:00
Jeffrey Martin 8e34a330f1 rename local instance variable for thread list 2021-11-15 15:07:12 -06:00
Grant Willcox e65b10c57c Land #15862, Expand environment variables on Linux Meterpreter 2021-11-15 14:15:41 -06:00
Grant Willcox e6f38b3226 Rename dir parameter in Dir.match to match_dir to make more sense with new changes 2021-11-15 10:50:11 -06:00
Ashley Donaldson 7bf75c0de5 Better support tab completing through a series of directories when using meterpreter 2021-11-15 17:22:38 +11:00
Ashley Donaldson 90695e8399 Use expand_path in other file/directory-based meterpreter commands 2021-11-15 12:18:56 +11:00
Ashley Donaldson 32bf9f60d1 Explicitly select platforms to manually perform path expansion 2021-11-15 11:44:08 +11:00
Spencer McIntyre 5fdcdcaaa5 Delay rstream creation until the platform is known 2021-11-12 16:03:29 -05:00
Spencer McIntyre 726c5f26e3 SSH session consistency with auto-platform IDing 2021-11-12 16:03:27 -05:00
Spencer McIntyre 87d1e925d0 Add an interactive SSH payload 2021-11-12 16:01:22 -05:00
Spencer McIntyre 0b3f95abca Writeup the module docs and move the protocol code 2021-11-12 15:15:51 -05:00
Spencer McIntyre 40a4d09c26 Fix SSL support in Meterpreter's TCP server 2021-11-12 09:16:22 -05:00
Spencer McIntyre f1103baf1d Support SSL TCP server channels in SSH 2021-11-12 09:05:17 -05:00
Spencer McIntyre fba2330f0b Support SSL TCP server channels in Meterpreter 2021-11-12 09:05:17 -05:00
Ashley Donaldson ebd927da44 Apply suggestions from code review
Co-authored-by: Grant Willcox <63261883+gwillcox-r7@users.noreply.github.com>
2021-11-12 11:56:49 +11:00
Metasploit 77ab9be4a6 Bump version of framework to 6.1.15 2021-11-11 12:04:49 -06:00
Ashley Donaldson 7e2c6edb64 Expand paths for linux platforms 2021-11-11 20:14:06 +11:00
Ashley Donaldson 935eff899a Only perform deduplication if a value is actually returned 2021-11-11 13:17:35 +11:00
Ashley Donaldson 4986583f41 Fix bug in tab completion in case-sensitive situations
Includes a fix for a crash caused when tab completing.
This crash is the result of a bug in rb-readline when the only remaining options
provided in the tab completion procedure are identical. The bug is only triggered
when going case-insensitive, but we can avoid it by de-duping the list sent back to
rb-readline.
2021-11-11 12:09:59 +11:00
Tim W 3066c5b05e Revert "Fix bug in tab completion in case-sensitive situations"
This reverts commit 22fb90b258.
2021-11-10 16:44:29 +00:00
Tim W 3cce6dac07 Land #15847, fix meterpreter case sensitive tab completion 2021-11-10 16:20:12 +00:00
adfoster-r7 1bff0bebf4 Land #15820, Fix named pipe pivoting 2021-11-10 12:09:43 +00:00
Ashley Donaldson 360a0b866a Updated cached sizes because of new UA string 2021-11-10 17:27:02 +11:00
Ashley Donaldson 527057c700 Updated user agent strings in some modules where it shouldn't impact exploitability 2021-11-10 11:12:38 +11:00
Ashley Donaldson 2447ce3eba Use a random, modern UA string for HTTP payloads 2021-11-10 10:40:32 +11:00
Ashley Donaldson cab04d33f5 Use existing Rex::UserAgent class; keep UA string consistent across an MSF session 2021-11-10 10:05:45 +11:00
Tim W 1a2ff7ff3d Land #15846, fix meterpreter > download tab completion 2021-11-09 16:54:44 +00:00
Ashley Donaldson 551ef90c5f Use default User agent string for generic auxiliary modules 2021-11-09 18:55:49 +11:00
Ashley Donaldson 839722720a Updated the default metasploit user agent string to be more modern
Selected from a set of currently-modern browser UA strings
2021-11-09 18:20:41 +11:00
Ashley Donaldson d4b0b9c4ab Don't getsystem if we are already SYSTEM 2021-11-09 16:03:55 +11:00
Ashley Donaldson 35a6622318 Tab-complete for file downloads 2021-11-09 10:42:11 +11:00
Ashley Donaldson 22fb90b258 Fix bug in tab completion in case-sensitive situations 2021-11-09 10:18:02 +11:00
adfoster-r7 eb66b89d99 Rubocop Packrat mixin 2021-11-08 12:12:59 +00:00
Ashley Donaldson 937e208de8 Give warning rather than failure when running DCSync as SYSTEM 2021-11-08 15:56:29 +11:00
adfoster-r7 dc1b4f7d77 Land #15818, Fix Partial WebSocket Reads 2021-11-05 15:59:05 +00:00
Spencer McIntyre bdb497ddd4 Dedent the websocket module 2021-11-05 10:41:07 -04:00
Spencer McIntyre 69e9a53b14 Land #15829, Improve Kubernetes exec reliability 2021-11-05 10:35:40 -04:00
alanfoster 9346a43e4a Improve kube exec reliability 2021-11-05 02:38:44 +00:00
Metasploit 3155f21d77 Bump version of framework to 6.1.14 2021-11-04 12:05:03 -05:00
Spencer McIntyre a85cd3d5f6 Add logging to get_wsframe 2021-11-03 11:26:31 -04:00
dwelch-r7 d6c08831d6 Fix named pipe pivoting 2021-11-03 14:14:39 +00:00
Spencer McIntyre 3d2fd9bc90 Don't process partial WS frames 2021-11-02 17:13:26 -04:00
Spencer McIntyre 6930200422 Fix partial bindata reads within web sockets 2021-11-02 17:13:13 -04:00
Metasploit 429e36924a Bump version of framework to 6.1.13 2021-10-28 12:10:01 -05:00