From 24ea5ddf40cef7432589e221fda1351e0687bdc4 Mon Sep 17 00:00:00 2001 From: Harley Lebeau Date: Wed, 12 Jul 2017 10:04:10 -0400 Subject: [PATCH] Added HKCU Registry Persistence Method --- Persistence/Persistence_Menu.cna | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Persistence/Persistence_Menu.cna b/Persistence/Persistence_Menu.cna index e7a2355..96d6f48 100644 --- a/Persistence/Persistence_Menu.cna +++ b/Persistence/Persistence_Menu.cna @@ -174,7 +174,7 @@ sub persistRegistryPowerShell { $bid = $1; $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..') { - berror($bid, "\c4Please enter a valid Registry Key Names, Payload, and a valid Path location."); + berror($bid, "\c4Please enter valid Registry Key Names."); break; } else {