1
mirror of https://github.com/rapid7/metasploit-payloads synced 2025-01-08 14:36:22 +01:00
Commit Graph

2500 Commits

Author SHA1 Message Date
OJ
90265c5a0f
Rework powershell_shell to work with "streaming"
This commit changes the channel functionality within the powershell extension so that commands do execute behind the scenes and stream the results to the UI in the current channel.

This comes with the caveat that users are patient. I haven't yet made sure that running separate commands while long running ones are running will not cause problems. We'll have to see.
2018-05-07 21:13:08 +10:00
OJ
f44877ae29
Add ability to dcsync & hashdump via Powershell
DCSync functionality is exposed, and from this it is possible to enumerate all users in the domain and dump each user's hash one by one. This code has a few extension functions built into the runner, and also has some baked-in powershell functions that are available in every powershell runner session in the host.

I've also added a powershell version of the build command that lets us generate the source to the powershell assembly wiring from PSH as well as Python.
2018-05-07 16:36:21 +10:00
Metasploit
55db89997b Bump to 1.3.36 2018-05-04 03:50:04 -07:00
Brent Cook
bf6f0d813a
Land #283, update to Mimikatz 2.1.1 20180502 2018-05-04 05:43:00 -05:00
OJ
d9cb58050d
Update kiwi to match mimikatz 2.1.1 20180502 2018-05-04 16:59:03 +10:00
Metasploit
07ba8e25a2 Bump to 1.3.35 2018-04-27 10:54:14 -07:00
Brent Cook
fd6643ae8a
Land #279, Utilize socket.getaddrinfo For IPv6 Channels Support 2018-04-27 12:44:22 -05:00
Spencer McIntyre
6a24c38e2b Fix unbound UDP sockets by not requiring the peer 2018-04-22 19:45:43 -04:00
Spencer McIntyre
e4b2e7f812 Use the proto field from getaddrinfo 2018-04-08 14:27:46 -04:00
Spencer McIntyre
408d0ff212 Use getaddrinfo for udp channels too 2018-04-08 12:29:16 -04:00
Spencer McIntyre
c9905cd177 Fix IPv6 support by using getaddrinfo 2018-04-08 12:29:16 -04:00
Metasploit
ed001c9230 Bump to 1.3.34 2018-04-07 12:09:20 -07:00
Brent Cook
5f09a324bf
Land #276, add UDP channel support to Python meterpreter 2018-04-06 16:42:13 -05:00
Spencer McIntyre
1f953580b1 Fix a bug when accepting a connection 2018-03-29 17:28:34 -04:00
Metasploit
67c93e6bba Bump to 1.3.33 2018-03-25 05:02:00 -07:00
Brent Cook
4cfa36cfa1
Land #272, fix android screenshot error on failure 2018-03-25 06:52:18 -05:00
Spencer McIntyre
d8d97e55e8 Process channel events with a higher priority 2018-03-19 11:15:23 -04:00
Spencer McIntyre
76168ba186 Add and use a new tlv_pack_request function 2018-03-19 10:36:21 -04:00
Spencer McIntyre
99aac30459 Add UDP channel support to the python meterpreter 2018-03-18 19:22:08 -04:00
Spencer McIntyre
7a3da787b1 Fix bugs introduced by the channel refactoring 2018-03-18 18:13:54 -04:00
Spencer McIntyre
38db1218dd Major refactoring for channel objects 2018-03-18 17:31:23 -04:00
Spencer McIntyre
8153648aab Refactor socket class names with the family 2018-03-17 19:02:05 -04:00
Spencer McIntyre
0e06102549 Add debug statements for channel open dispatching 2018-03-17 18:29:40 -04:00
Metasploit
172fe622c6 Bump to 1.3.32 2018-03-09 10:52:28 -08:00
Tim W
ad3a821ffe
Land #275, fix python stdapi_sys_process_execute on Solaris 11.1 2018-03-10 02:47:24 +08:00
Tim W
c373b2fafe fix tabs to spaces 2018-03-09 00:45:42 +08:00
Tim W
9db18dc8a3 catch termios exceptions 2018-03-09 00:45:01 +08:00
Metasploit
0f2fa4a0c2 Bump to 1.3.31 2018-03-01 15:37:04 -08:00
Pearce Barry
434bf00ebb
Land #273, fix reliability for PHP packet dispatch 2018-03-01 17:33:46 -06:00
Pearce Barry
6c9bf01346
Minor tweak to ensure last requested length is accurate. 2018-03-01 17:26:52 -06:00
Brent Cook
913e254fea fix reliability for PHP packet dispatch
A bug in the read function would cause a too-large read when there are multiple
packets or other things in the control channel. This would cause the subsequent
packet to fail to parse, leading to the current message getting discarded.
2018-02-27 06:51:44 -06:00
Tim W
bdd3399e3a fix android screenshot error on failure 2018-02-20 16:18:25 +08:00
Metasploit
249c7292dd Bump to 1.3.30 2018-02-15 09:04:34 -08:00
Brent Cook
63b1acf4c8
Land #270, Add support for bind_named_pipe comms 2018-02-15 10:53:40 -06:00
UserExistsError
006bb2c998 added support for bind_named_pipe comms 2018-02-11 17:58:39 -07:00
Metasploit
1d3884a9a5 Bump to 1.3.29 2018-01-26 15:35:45 -08:00
Brent Cook
96fb621adc
add missing semicolon 2018-01-26 17:26:45 -06:00
Metasploit
b87e445677 Bump to 1.3.28 2018-01-23 05:16:37 -08:00
bwatters
53ca1a608d
Land #263, remove read-only attributes on delete for Windows platforms
Merge branch 'land-263' into upstream-master
2018-01-23 07:08:29 -06:00
Metasploit
8626b8e4c5 Bump to 1.3.27 2018-01-22 12:19:10 -08:00
Brent Cook
e61b538fc4
Land #264, bump license 2018-01-22 14:10:43 -06:00
bwatters
16b82ed9cc
Add the attrib to all file deletes 2018-01-18 12:08:01 -06:00
Brent Cook
d9ed8004d8 remove readonly attributes for python meterpreter 2018-01-16 10:35:09 -06:00
Brent Cook
27fe856cb4 whitespace 2018-01-16 10:26:00 -06:00
Brent Cook
7f4dc5e525 you say potato, I say cononical 2018-01-16 10:16:15 -06:00
Brent Cook
bc22f457a3 remove read-only attribute on delete 2018-01-16 10:16:03 -06:00
Brent Cook
a8eebd18f2 remove read-only attribute on delete 2018-01-16 10:16:03 -06:00
Metasploit
863414b652 Bump to 1.3.26 2018-01-09 12:52:46 -08:00
Brent Cook
39277d10bc
switch to pythonic whitespace 2018-01-09 15:44:54 -05:00
Metasploit
8b7fb06f50 Bump to 1.3.25 2018-01-09 01:56:43 -08:00