Commit Graph

930 Commits

Author SHA1 Message Date
dwelch-r7 a3a6c1b903 Land #15000, remove which command in binary_exists? method
remove `which` command in binary_exists? method
2021-04-30 11:24:11 +01:00
pingport80 cdcff2f0b2 fix msftidy err 2021-04-23 15:53:51 +05:30
pingport80 c2f145af89 add locale independent check 2021-04-23 14:32:10 +05:30
Gaurav Purswani b1a73c888e Update lib/msf/base/sessions/command_shell.rb
Co-authored-by: acammack-r7 <adam_cammack@rapid7.com>
2021-04-22 19:10:56 +05:30
Spencer McIntyre 69c525c2f7 Update the minimum WfsDelay setting
Now there's a minimum WfsDelay of 3 seconds with the user-configurable
value being added to it.
2021-04-20 13:05:37 -04:00
Spencer McIntyre c886af2e6d Allow disabling shell session verification 2021-04-15 10:33:42 -04:00
Spencer McIntyre 99308d896b Refactor calling process_autoruns into the handler to be consistent 2021-04-15 09:07:12 -04:00
Spencer McIntyre ae7a5c7116 Automatically validate shell sessions too 2021-04-15 08:54:50 -04:00
pingport80 f9c27a5808 added which in case command fails 2021-04-08 23:16:19 +05:30
Gaurav Purswani da6c575966 Update command_shell.rb 2021-04-06 08:34:56 +05:30
Gaurav Purswani aa12afaf0a Update command_shell.rb 2021-04-06 08:27:56 +05:30
Gaurav Purswani de34d91144 Update lib/msf/base/sessions/command_shell.rb
Co-authored-by: bcoles <bcoles@gmail.com>
2021-04-06 08:15:13 +05:30
pingport80 cd796816b5 removed false as an indicator 2021-04-05 11:06:39 +05:30
pingport80 d8b884044e fix indentation 2021-04-04 15:39:25 +05:30
pingport80 a94cca8e5c changed comment and added single quote 2021-04-04 15:31:02 +05:30
pingport80 c24b6f1ee7 removed to which in binary_exists 2021-04-04 13:35:11 +05:30
Spencer McIntyre 35106f7b99 Wire in the new RangeWalker improvements 2021-03-29 13:56:25 -04:00
Spencer McIntyre 79967f2179 Land #14844, Move on_session_open event to after the session has been bootstrapped 2021-03-23 08:50:18 -04:00
Jeffrey Martin 13dae6730c remove random characters from yard-docs 2021-03-16 09:21:28 -05:00
dwelch-r7 38688e1429 Only fire off on_session_open event after we know the session is fully initialised 2021-03-09 18:32:03 +00:00
Shelby Pace d114641468 Land #14201, add favorite command 2021-03-08 13:06:22 -06:00
Spencer McIntyre f2e1afed79 Fix session verification by checking TLV negotiation 2021-02-22 11:19:31 -05:00
Spencer McIntyre 998b38cf0d Enumerate Meterpreter's supported core commands 2021-02-19 15:51:33 -06:00
dwelch-r7 7fbbe23426 Remove more requires that were missed before 2021-02-08 14:51:58 +00:00
dwelch-r7 b95be3ed10 Zeitwerk rex folder 2021-02-08 12:24:12 +00:00
dwelch-r7 1f679d565d Replace the comments from vore.rb and base.rb with readmes 2021-01-22 12:50:29 +00:00
dwelch-r7 d6896dadc0 remove msf folder requires 2021-01-18 14:21:54 +00:00
dwelch-r7 d437a32374 remove msf/util requires 2021-01-18 14:21:54 +00:00
dwelch-r7 319e718a95 zeitwerk lib/msf folder, eager loading works 2021-01-18 14:20:57 +00:00
adfoster-r7 da7a51fbca Land #14584, implement the zeitwerk autoloader within lib/msf/base 2021-01-18 13:11:08 +00:00
dwelch-r7 a19575d6bb New lines and undoing debug changes 2021-01-06 12:48:16 +00:00
dwelch-r7 c0912b358c Fix tests 2021-01-05 16:20:42 +00:00
dwelch-r7 ad9763763d formatting fixes 2021-01-05 15:10:23 +00:00
dwelch-r7 bad5ccbc49 Remove msf/base requires 2021-01-05 14:59:46 +00:00
dwelch-r7 0a87386c49 Add base folder to autoloader 2021-01-05 13:07:53 +00:00
Spencer McIntyre 11ca76cacc Support post actions as commands too 2020-12-29 16:54:09 -05:00
CSharperMantle d99c2ac783 linguistic fixes of 'does not exists' 2020-12-23 11:36:38 +08:00
adfoster-r7 34cc179b04 Land #14481, Add a require for command_shell_options to fix intermittent test failures 2020-12-10 16:53:40 +00:00
dwelch-r7 3a94d4f7ee Add a require for command shell options to fix randomly failing tests
Temporary until we zeitwerk more things
2020-12-10 10:56:54 +00:00
Alan Foster 9e20bb5270 Add configurable logging to the console and support stdout sinks 2020-12-08 16:23:24 +00:00
dwelch-r7 1617b3ec9b Use zeitwerk for lib/msf/core folder 2020-12-07 10:31:45 +00:00
Spencer McIntyre 7303975377 Initialize the exploit UI earlier on so error messages are displayed 2020-12-01 16:36:39 -05:00
Spencer McIntyre f82ce5335d Support running local exploits from the meterpreter context 2020-12-01 15:22:48 -05:00
William Vu 5aef7cf5b6 Fix hang in cmd/windows/powershell_reverse_tcp
Won't show a prompt if initial_output is nil.
2020-11-18 10:56:03 -06:00
Jeffrey Martin 49fac19692 guard persist on handler existence
Short term fix to only persist jobs with handlers. More work should
be done to improve job persistence to allow more jobs types to persist.
2020-11-13 17:08:10 -06:00
Alan Foster a933e10252 Show actions within info command 2020-10-07 23:20:31 +01:00
kalba-security 5d99eda74b Add and command 2020-09-29 18:35:08 -04:00
Reelix f5a85890fd Update command_shell.rb
- Implement changes suggested by @smcintyre-r7
2020-08-31 21:16:33 +02:00
Reelix b9db589105 Update command_shell.rb
- Converted a missed tab to spaces
2020-08-30 09:48:19 +02:00
Reelix b61a5e5f75 Update command_shell.rb
- Fixed spacing (Tabs VS Spaces)
2020-08-30 09:45:38 +02:00