Commit Graph

4883 Commits

Author SHA1 Message Date
cgranleese-r7 799ea56316 replace ::Rex::Socket.gethostbyname with Socket.getaddrinfo 2021-03-19 11:01:27 +00:00
Grant Willcox 50ef32c121 Land #14888, Fix #13798 and #14128 by fixing unicode issues on Meterpreter caused by unicode file/directory names 2021-03-15 16:46:21 -05:00
adfoster-r7 ce48d758b4 Land #14887, Fix RequestError class undefined method issue 2021-03-15 15:20:58 +00:00
dwelch-r7 6aaf44c902 rubocop files and make the exclusions more localised 2021-03-15 13:27:37 +00:00
Tim W 54c07c301a Fix #13798, Fix #14128, fix meterpreter > ls within a unicode directory 2021-03-13 10:58:04 +00:00
Shelby Pace f46c7b81fe convert const name to str before check 2021-03-12 18:01:22 -06:00
Tim W 1a7704787f Fix #13798, Fix #14128, fix meterpreter > download * on utf-8 filenames 2021-03-12 19:51:40 +00:00
Alan Foster af330874f5 Prefix time module with namespace resolution operator 2021-03-04 13:19:09 +00:00
Grant Willcox 5576a2c4e9 Land #14843, Extract PseudoShell into its own file for zeitwerk 2021-03-03 16:57:27 -06:00
dwelch-r7 1e8ec469fb Extract PseudoShell into it's own file for zeitwerk to pick it up properly 2021-03-02 12:39:41 +00:00
Shelby Pace 0d8df5e0bf allow searches to start from root path 2021-02-26 15:53:33 -06:00
dwelch-r7 a6461a0cfe rubocop 2021-02-25 16:47:49 +00:00
dwelch-r7 319f15d938 Handle nil versions for rubygems 4 2021-02-25 16:47:49 +00:00
dwelch-r7 9eeb793bfd Add missing requires for scoks proxy 2021-02-25 14:16:17 +00:00
dwelch-r7 2ec29f3fe2 Wrap kiwi cmd arguments in quotes 2021-02-24 17:27:21 +00:00
dwelch-r7 0cb2bdf9db Revert accidental commit 2021-02-24 14:28:13 +00:00
dwelch-r7 36abf40d54 quote kiwi arguments 2021-02-24 14:22:48 +00:00
Spencer McIntyre f2e1afed79 Fix session verification by checking TLV negotiation 2021-02-22 11:19:31 -05:00
Spencer McIntyre 7c51dd0b68 Always define the detach and ssl_verify commands in the cmds hash
Defining the commands in the cmds hash is necessary for them to be
filtered and then reported to the user as incompatible when applicable.
This moves their special compatibility checks into the actual command
handler.
2021-02-19 15:51:41 -06:00
Spencer McIntyre 8a0a56f584 Use a more descriptive status indicator for command routines 2021-02-19 15:51:41 -06:00
Spencer McIntyre 97479066ba Disabling filtering via command IDs on Windows for now
Filtering via command IDs would be a backwards incompatible change, so
skip it on Windows until the payloads gem has had a major version bump.
2021-02-19 15:51:41 -06:00
Spencer McIntyre 2bc8ff8db7 Consistently return nil when an id or name fails to resolve 2021-02-19 15:51:40 -06:00
Spencer McIntyre 8a8994bb57 Raise a more specific error when loading an unsupported extension 2021-02-19 15:51:40 -06:00
Spencer McIntyre a587c166cb Add and use a callback to report meterpreter commands that are disabled 2021-02-19 15:51:40 -06:00
Spencer McIntyre b983365665 Filter Meterpreter commands based on support instead of fingerprinting 2021-02-19 15:51:39 -06:00
Spencer McIntyre 7cf5879836 Add a meterpreter test for enumerating core commands 2021-02-19 15:51:39 -06:00
Spencer McIntyre 998b38cf0d Enumerate Meterpreter's supported core commands 2021-02-19 15:51:33 -06:00
agalway-r7 275e9c5454 Land #14696, Further Zeitwerk lands to improve boot speed
Zeitwerk rex folder
2021-02-19 10:33:37 +00:00
Tim W eefc7465dd fix #14749, fix screenshot platform check 2021-02-15 14:03:44 +00:00
Alan Foster bed7ae2c78 Add latest rubocop rules 2021-02-12 13:31:51 +00:00
dwelch-r7 7fbbe23426 Remove more requires that were missed before 2021-02-08 14:51:58 +00:00
dwelch-r7 d2c0924996 Relocate comment 2021-02-08 12:42:46 +00:00
dwelch-r7 b95be3ed10 Zeitwerk rex folder 2021-02-08 12:24:12 +00:00
Grant Willcox 9dcd9f0cc2 Land #14432, Save windows hash to database 2021-01-28 09:02:43 -06:00
Grant Willcox f4bfbf5c29 Apply fixes from Spencer's review 2021-01-25 16:36:57 -06:00
三米前有蕉皮 1cd86bb682 Update lib/rex/post/meterpreter/ui/console/command_dispatcher/kiwi.rb
Co-authored-by: Spencer McIntyre <58950994+smcintyre-r7@users.noreply.github.com>
2021-01-23 16:45:16 +08:00
adfoster-r7 ff6a1f135c Land #14629, migrate msf folder to Zeitwerk 2021-01-22 14:21:26 +00:00
Grant Willcox f3990d8bd7 Remove the SHA1 additions as we can't make them work at this point in time 2021-01-21 17:01:12 -06:00
Grant Willcox b3c1eb4ae8 Change variable name from invalid_password to empty_password as technically its still a valid password, its just empty. 2021-01-21 16:08:43 -06:00
Grant Willcox 6b2e5497aa Resolve merge conflict 2021-01-21 15:26:09 -06:00
Grant Willcox be9291a85f Update kiwi.rb library to now properly handle saving credentials to the creds database when running creds_msv and also reduce some code reuse by putting reused code into functions 2021-01-21 15:22:40 -06:00
三米前有蕉皮 e3eaa2b707 Update lib/rex/post/meterpreter/ui/console/command_dispatcher/kiwi.rb
Co-authored-by: Grant Willcox <63261883+gwillcox-r7@users.noreply.github.com>
2021-01-21 08:57:05 +08:00
cn-kali-team 74d95d3222 Undo rubicop 2021-01-20 12:22:37 -06:00
cn-kali-team c8e54e87a5 Check ntlm separately 2021-01-20 12:22:37 -06:00
cn-kali-team 36f3b35c6e Add lowercase conversion to check whether the database is activated 2021-01-20 12:22:36 -06:00
cn-kali-team 39b84b826b check framework 2021-01-20 12:22:36 -06:00
cn-kali-team 8195eba447 for hashdump 2021-01-20 12:22:35 -06:00
cn-kali-team 4f9ed925dd for kiwi 2021-01-20 12:22:29 -06:00
Chris Higgins e9c225aa49 Remove pry-byebug 2021-01-20 11:11:42 -06:00
Chris Higgins 273027845e Fix #14261 Prompt timestamp escape display error 2021-01-19 17:50:50 -06:00