1
mirror of https://github.com/rapid7/metasploit-payloads synced 2025-02-16 00:24:29 +01:00

Return an error for invalid getsystem techniques

This commit is contained in:
Spencer McIntyre 2022-01-24 15:12:27 -05:00
parent 5cd08d6e33
commit 86641ef90d

View File

@ -71,7 +71,7 @@ DWORD elevate_getnativearch( VOID )
*/
DWORD elevate_getsystem( Remote * remote, Packet * packet )
{
DWORD dwResult = ERROR_SUCCESS;
DWORD dwResult = ERROR_BAD_ARGUMENTS;
DWORD dwTechnique = ELEVATE_TECHNIQUE_ANY;
Packet * response = NULL;