Added HKCU Registry Persistence Method

Logging
Harley Lebeau 2017-07-12 10:04:10 -04:00 committed by GitHub
parent 30008d47fc
commit 24ea5ddf40
1 changed files with 1 additions and 1 deletions

View File

@ -174,7 +174,7 @@ sub persistRegistryPowerShell {
$bid = $1; $bid = $1;
$dialog = dialog("HKCU Run Key Registry PowerShell Persistence (User Level)", %(keyname => "Key Name for Payload..", keyname1 => "Key Name to execute Payload.."), lambda({ $dialog = dialog("HKCU Run Key Registry PowerShell Persistence (User Level)", %(keyname => "Key Name for Payload..", keyname1 => "Key Name to execute Payload.."), lambda({
if ("$3['keyname']" ismatch 'Key Name for Payload..' || "$3['keyname1']" ismatch 'Key Name to execute Payload..') { if ("$3['keyname']" ismatch 'Key Name for Payload..' || "$3['keyname1']" ismatch 'Key Name to execute Payload..') {
berror($bid, "\c4Please enter a valid Registry Key Names, Payload, and a valid Path location."); berror($bid, "\c4Please enter valid Registry Key Names.");
break; break;
} }
else { else {