From f853ef2844633a727754e5f99ca68384d410149a Mon Sep 17 00:00:00 2001 From: nu11secur1ty Date: Tue, 17 Jan 2023 14:29:33 +0200 Subject: [PATCH] Update revoke-cleaner.pl --- revoke-cleaner.pl | 3 +++ 1 file changed, 3 insertions(+) diff --git a/revoke-cleaner.pl b/revoke-cleaner.pl index 89aa97e..440d436 100644 --- a/revoke-cleaner.pl +++ b/revoke-cleaner.pl @@ -38,7 +38,10 @@ print "$issued"; ## Cleaning my $ENVPKI = "/etc/openvpn/easy-rsa/pki/index.txt"; print "Preparing for cleaning...\n"; + +print color('RED'); print "Please, choose the username, or if you are not really sure, just press Enter to exit the cleaner...\n"; +print color('RESET'); chomp (my $username = ); my $cleaner = `sed -i '/$username/d' $ENVPKI`;