rapid7 / rex-powershell

Rex library for dealing with Powershell Scripts
Other
53 stars 35 forks source link

Update cmd_psh_payload to simplify exec_in_place #13

Closed sempervictus closed 6 years ago

sempervictus commented 6 years ago

Exec in place was a bit convoluted and brought in arch detection code which should actually be skipped. Clean up the execution wrapper to deliver the smaller inner script with powershell base invocation instead of cmd + powershell arch wrappers.

sempervictus commented 6 years ago

@bwatters-r7 @busterb: Could you guys spot check and pull this in please? Addresses framework/10238 core issue.