1
mirror of https://github.com/rapid7/metasploit-payloads synced 2025-01-08 14:36:22 +01:00
metasploit-payloads/powershell/MSF.Powershell
OJ 3dc014e8ad
Add powershell transport scripts
This commit adds two new scripts and modifies some of the powershell transport binding functionality.

Code has been added that generates valid Metasploit URIs for use with stageless listeners. This means that it's possible to add HTTP/S transports on the fly and have a URL generated that will work with the current architecture of the process.

Two new scripts will appear in each of the powershell sessions:

* Add-WebTransport - adds http/s transports to the session.
* Add-TcpTransport - adds TCP transports to the session.

These two scripts are just abstractions on top of the built-in Meterpreter transport binding functionality, but it makes it a lot easier to interact with the feature and makes it more.. er.. Powershelly.

The functions come with documnetation, so `Get-Help Add-WebTransport -Full` will show how it's used.

From here, people can do some more fun stuff, such as adding init scripts to their stageless payloads that add support for more transports.
2018-05-28 12:45:29 +10:00
..
Meterpreter Add powershell transport scripts 2018-05-28 12:45:29 +10:00
MSF.Powershell.Sample Added powershell_import and sample DLL for import testing 2016-03-25 12:16:13 +10:00
MSF.PowershellTester First version of "working" bindings (getsystem works) 2016-03-23 13:39:25 +10:00
Properties Include the MSF.Powershell project 2016-03-22 13:11:49 +10:00
MSF.Powershell.csproj Add ability to dcsync & hashdump via Powershell 2018-05-07 16:36:21 +10:00
MSF.Powershell.sln Added powershell_import and sample DLL for import testing 2016-03-25 12:16:13 +10:00
Runner.cs Fix issue with pointer handling on WOW64 processes 2018-05-21 12:45:21 +10:00
Scripts.cs Add powershell transport scripts 2018-05-28 12:45:29 +10:00