Commit Graph

18037 Commits

Author SHA1 Message Date
pingport80 a7bed49e8a update readable? for directories 2021-08-17 16:39:23 +05:30
pingport80 235aae068f fix minor error 2021-08-11 19:32:47 +05:30
pingport80 6c1c717f1a add a check to see the path exists 2021-08-11 19:10:22 +05:30
pingport80 14cd2a74f5 update readable to add support for powershell 2021-08-11 18:46:52 +05:30
pingport80 05eff3e25f increase the chunk size 2021-08-10 20:07:37 +05:30
pingport80 5c2090f9ae updated suggested changes and reduce the size of each chunk 2021-08-10 18:45:26 +05:30
Gaurav Purswani 300328fafe Update lib/msf/core/post/file.rb
Co-authored-by: Spencer McIntyre <58950994+smcintyre-r7@users.noreply.github.com>
2021-08-09 20:19:12 +05:30
pingport80 4fbf532faf fix one error in offset value 2021-08-02 20:12:25 +05:30
pingport80 d590702922 fix variable names 2021-08-02 18:44:03 +05:30
pingport80 92e13d10f1 fragement the file into small parts 2021-08-02 18:39:16 +05:30
pingport80 d7112d0d33 add gzip compression for read file powershell 2021-07-28 20:49:46 +05:30
pingport80 4dd0a5f8be change method name to _read_file_powershell 2021-07-27 20:17:04 +05:30
pingport80 2cd20e5698 add support for binary files for powershell session types 2021-07-26 23:52:20 +05:30
adfoster-r7 a24d2f0a10 Land #15464, Add missing rex requires 2021-07-23 15:40:20 +01:00
cgranleese-r7 2844792484 Adds requires to support meterpreter_commands_dependencies.rb rubocop rule 2021-07-23 14:58:26 +01:00
cgranleese-r7 9e7859ed25 Reformats some modules so they can be run with new meterpreter_commands_dependencies.rb Rubocop rule 2021-07-23 14:40:19 +01:00
Spencer McIntyre 73380be4ab Land #15444, Add additional powershell support 2021-07-22 13:58:07 -04:00
Metasploit e635a9655a Bump version of framework to 6.0.55 2021-07-22 12:04:19 -05:00
Spencer McIntyre c11ee468e0 Land #14683, Add a check for EXE templates 2021-07-22 12:27:33 -04:00
Gaurav Purswani 57c35ee9c1 Update lib/msf/core/post/file.rb
Co-authored-by: adfoster-r7 <60357436+adfoster-r7@users.noreply.github.com>
2021-07-22 20:07:06 +05:30
pingport80 f49640f2b6 suggested changes by @smcintyre-r7 2021-07-22 19:16:06 +05:30
await Marsha d7435091e2 Fix typo in doc comment. 2021-07-22 02:14:09 -05:00
pingport80 e8f1aa945d update expand_path for powershell 2021-07-21 23:37:46 +05:30
William Vu 0ba430c8c4 Fix a bunch of things
Mostly RuboCop and refactoring.
2021-07-20 20:07:08 -05:00
William Vu 8b5071326e Merge remote-tracking branch 'upstream/master' into pr/15400 2021-07-20 11:11:45 -05:00
pingport80 84cb67ecc0 update expand_path (powershell) 2021-07-20 20:01:18 +05:30
pingport80 bd74afa785 add a check to see if src_file or dst_file a directory (copy_file method) 2021-07-20 19:31:21 +05:30
sjanusz 79c8f2a0f4 Ensure generated JSP variable names aren't Java keywords 2021-07-20 14:49:57 +01:00
adfoster-r7 0e2b048d56 Land #15445, Fix the printed exploit target 2021-07-20 09:16:26 +01:00
Spencer McIntyre 36b8d6eb73 Fix the printed exploit target 2021-07-19 15:24:02 -04:00
pingport80 43f58e5183 add quotes for path 2021-07-19 21:44:29 +05:30
pingport80 efff8a61e7 normalize return value of cd 2021-07-19 20:40:13 +05:30
pingport80 d7650e7055 minor fixes 2021-07-19 19:17:26 +05:30
pingport80 c6da1c170a add powershell support for some file system methods 2021-07-19 18:24:16 +05:30
Spencer McIntyre d0b2ea632f Land #15403, Powershell file mixin methods
This changes the platform of the Powershell session to be consistent
with the others by changing the value from "win" to "windows". This also
updates about half of the methods in the file mixin with Powershell
support.
2021-07-16 14:59:28 -04:00
pingport80 44e5d48a46 add a condition to check if the session type is powershell 2021-07-16 22:05:30 +05:30
Grant Willcox b27676ca0a Land #15409, Improved PrintNightmare Check and DCERPC Library Bug Fixes 2021-07-16 08:54:42 -05:00
pingport80 36abd5ea3c add a check if file exists on the remote system 2021-07-16 00:52:47 +05:30
pingport80 dd11752d04 remove powershell support from get_processes because it can be achieved from the platform specific commands too 2021-07-16 00:34:42 +05:30
pingport80 ea09b035ea Merge branch 'master' into powershell_session_type_improvements 2021-07-15 23:24:45 +05:30
Metasploit 8ac6303c2a Bump version of framework to 6.0.54 2021-07-15 12:04:24 -05:00
pingport80 fd32d38a34 change cmdlet used for file_exist? 2021-07-15 20:06:29 +05:30
agalway-r7 0ca436d1e8 Land #15362, fix cmd_exec write_file & append_file 2021-07-15 10:18:50 +01:00
pingport80 56a3710e56 fix -Recurse 2021-07-13 20:07:00 +05:30
pingport80 0a4da1b657 add quotes to file paths 2021-07-13 18:54:12 +05:30
Spencer McIntyre a3dd916949 Restore the original stub data for FAULT 2021-07-12 11:27:26 -04:00
Tim W 39455827aa Land #15254, use obfuscated powershell protection bypasses 2021-07-12 12:20:17 +01:00
Spencer McIntyre 9e61bf5752 Update the rex-powershell gem and unit tests 2021-07-09 15:35:37 -04:00
Spencer McIntyre 8e98abe867 Fix DCERPC's read method for fragments
The DCERPC's read method would only read one fragment of data which
caused the response to be corrupted when the data wouldn't fit into
a single fragment.
2021-07-09 13:48:35 -04:00
Christophe De La Fuente 5a71e7b0ee Merge remote-tracking branch 'upstream/pr/15154' into HEAD 2021-07-09 15:32:04 +02:00