Commit Graph

13785 Commits

Author SHA1 Message Date
Matthew Dunn cb385192b6 Merge branch 'rapid7:master' into nil_check_auxiliary_report 2021-12-14 20:15:13 -05:00
sjanusz 063c3936a9 Add support for long arguments to Rex Parser 2021-12-14 17:45:56 +00:00
Tim cfd2d4d114 improve passthrough to capture stderr (#1) 2021-12-14 15:35:25 +11:00
Brenton O'Loughlin bb688e12b8 capture passthrough system command output to output handler 2021-12-14 15:35:25 +11:00
bwatters c4443577d0 Land #15841, Rubocop Packrat mixin, part 2
A commit happened between my checkout and my merge, this incorporates the lost commit

Merge branch 'land-15841' into upstream-master
2021-12-13 15:50:14 -06:00
bwatters 3d2e00f87d Land #15841, Rubocop packrat mixin 2021-12-13 15:42:13 -06:00
adfoster-r7 7f2d2c180b Rubocop Packrat mixin
Add linting exceptions for eval logic

wip
2021-12-13 19:36:26 +00:00
adfoster-r7 48f40077ea Add get processes requirement 2021-12-13 13:46:54 +00:00
adfoster-r7 4c02405ab5 Ignore stdapi_fs_chmod requirement on windows 2021-12-13 13:06:02 +00:00
adfoster-r7 24bf9e5e61 Add Meterpreter compatibility requirements to lib 2021-12-13 11:30:32 +00:00
sjanusz acd55ea24f Fix creds crashing when deleting multiple ntlm hashes 2021-12-10 16:08:55 +00:00
Simon Janusz 46dc748bd0 Land #15905, Only normalize new/updated hosts after nmap import 2021-12-08 11:57:13 +00:00
adfoster-r7 3e1ba060a7 Land #15908, add reload functionality to the save command 2021-12-08 04:27:04 +00:00
sjanusz 2b0cd6f169 Correct exception & save arg, inline deleting module config 2021-12-07 12:39:03 +00:00
adfoster-r7 2c1a60c3a5 Land #15888, Add database stats to debug command 2021-12-07 12:04:09 +00:00
Christophe De La Fuente 389fd55952 Land #15808, Fix #15804 powershell read_file on Windows Server 2012 2021-12-07 11:59:11 +01:00
Grant Willcox f0841c8fb9 Land #15933, Add April fools module help banner 2021-12-06 15:59:07 -06:00
sjanusz 1ba8aa8dcd Delete bad test, remove delete_all before each test 2021-12-06 11:35:18 +00:00
sjanusz eadf965e83 Add QoL features for loading, reloading and deleting saved options 2021-12-06 10:26:57 +00:00
adfoster-r7 bfce4dcc3a Add April fools module help banner 2021-12-04 15:32:38 +00:00
bwatters b1f6937542 Updated exploit to compile on target, added control over directory creation
Added a method to get source code for the write and compile method
2021-12-01 14:54:47 -06:00
Tim W 0807de6b0f Land #15917, fix readline error when two options only differ in case 2021-12-01 06:01:38 +00:00
Ashley Donaldson 0a2780027e Use safe navigation option
Co-authored-by: Grant Willcox <63261883+gwillcox-r7@users.noreply.github.com>
2021-12-01 09:53:26 +11:00
Tim W 9733ced0e4 cleanup and move LOAD_MODULES option to Msf::Payload::Windows::Powershell 2021-11-30 07:06:11 +00:00
Tim W 1c87495a4a fix ssl payload 2021-11-30 06:30:58 +00:00
Tim W 6a57ef4c65 run rubocop on changed files 2021-11-30 06:30:58 +00:00
Tim W 65e3e38721 fix powershell session info 2021-11-30 06:30:58 +00:00
Tim W f351f3804a fix write_file_powershell_fragment on Windows 7 2021-11-30 06:30:58 +00:00
Tim W 9097b181b0 add powershell_reverse_tcp_ssl 2021-11-30 06:30:58 +00:00
Tim W cb70c8e861 fix #15804, fix powershell read_file on Windows Server 2012 2021-11-30 06:30:58 +00:00
Brendan Coles c74c4c0292 Land #15913, handle unmatched quotes on command shell sessions 2021-11-30 06:03:24 +00:00
space-r7 8573ed617a Land #15897, return boolean in write_file() 2021-11-29 13:23:32 -06:00
Tim W a5b88c6844 only return false in write_file for unsupported sessions 2021-11-29 09:46:28 +00:00
Ashley Donaldson ff0076752f Specifically allow session tab completion to work with its option selection 2021-11-29 13:23:08 +11:00
Tim W 80e2559f0f Fix #15912, handle unmatched double quote on command shell sessions 2021-11-28 11:51:18 +00:00
dwelch-r7 afb9cbfb77 Only normalize new/updated hosts after nmap import 2021-11-25 13:46:57 +00:00
Tim W c7b4a31ae6 modify Post::File tests to check write_file return value 2021-11-25 03:37:06 +00:00
Tim W 9b5e24d55b Fix #12603, create _write_file_meterpreter function 2021-11-25 03:34:17 +00:00
sjanusz 46611b7fb3 Add database stats to debug command 2021-11-23 17:17:48 +00:00
Jeffrey Martin 21a6a18d92 trade URI.encode & URI.escape for Ruby 3
Ruby 3 removed the `URI.escape` methods however access to
the a parse for the same RFC is stil available at `URI::DEFAULT_PARSER.escape`.

Per the Ruby forum [comment](https://bugs.ruby-lang.org/issues/17309#note-1) this should equal.
2021-11-22 14:11:03 -06:00
Tim W bce463fa6a Fix #15896, write_file should return true on success 2021-11-22 04:26:54 +00: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
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
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