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
A Galway
e3dbd3a990
fixes bug caused by attrs with string keys
2021-07-20 15:02:41 +01:00
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
test
6f43a06209
Add New TLV Structures
2021-07-17 09:28:22 -04:00
test
a5b1b02197
Initial Ruby code support search_by_date
2021-07-17 09:14:05 -04:00
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
Spencer McIntyre
0251dff80b
Add more descriptive error messages and logging
2021-07-14 14:38:33 -04:00
Spencer McIntyre
1ddcc9f12b
Remove the socket in psexec
...
PsExec needs the socket to remain open after the session is established
in order to rebove the service. Remote TCP exploits close and remove
their sockets by default which creates a race condition that can result
in failing to cleanup the service.
2021-07-14 11:00:45 -04:00
Spencer McIntyre
7aa44a9a80
Add a couple more socket methods
2021-07-14 11:00:34 -04:00
Spencer McIntyre
06b592cfa1
Update the session initialization method
2021-07-13 17:25:19 -04:00
Spencer McIntyre
15268366e1
Fix a bug in how sockets are closed
2021-07-13 17:10:54 -04: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
8ab78da7b5
Raise more descriptive exceptions
2021-07-09 17:14:54 -04: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
dwelch-r7
6817d0a0ee
Land #15382 , Add tests for aux and exploit cmd_check and cmd_run
2021-07-09 11:03:12 +01:00
Jack Heysel
1a73cfbe25
Updated check method
2021-07-08 16:09:03 -05:00
pingport80
a166afd958
change powershell platform to windows from win
2021-07-08 22:37:14 +05:30
Metasploit
7d5b15ef09
Bump version of framework to 6.0.53
2021-07-08 12:04:39 -05:00
pingport80
4e52d2d55b
fix minor issues which appeared while testing
2021-07-08 22:03:14 +05:30
Alan Foster
e5241b412a
Add tests for aux and exploit cmd_check and cmd_run
2021-07-08 17:32:52 +01:00
pingport80
66e8872ea8
add powershell support to get_processes
2021-07-08 20:21:08 +05:30
pingport80
02be075c2d
add powershell support to get_processes
2021-07-08 16:19:53 +05:30
pingport80
14796f9438
add powershell support to some file system methods
2021-07-08 16:08:43 +05:30