mirror of
https://github.com/rapid7/metasploit-payloads
synced 2025-04-12 04:12:05 +02:00

This commit actually changes the PS runner code so that it's base64-encoded before being sent to the interpreter. It's a bit of a hack but it means that all multiline commands are properly supported. IEX for the win!
14 lines
315 B
C
14 lines
315 B
C
/*!
|
|
* @file powershell_runner.h
|
|
* @brief This file is generated, do not modify directly.
|
|
*/
|
|
|
|
#ifndef _METERPRETER_SOURCE_EXTENSION_POWERSHELL_RUNNER_H
|
|
#define _METERPRETER_SOURCE_EXTENSION_POWERSHELL_RUNNER_H
|
|
|
|
#define PSHRUNNER_DLL_LEN 39424
|
|
|
|
extern unsigned char PowerShellRunnerDll[PSHRUNNER_DLL_LEN];
|
|
|
|
#endif
|