From e5a18a72c229a0bddefcd075c9e78f33ef0bfeba Mon Sep 17 00:00:00 2001 From: CravateRouge Date: Sun, 6 Nov 2022 11:58:00 +0100 Subject: [PATCH] findstr ignore error and print results in file --- Methodology and Resources/Windows - Privilege Escalation.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Methodology and Resources/Windows - Privilege Escalation.md b/Methodology and Resources/Windows - Privilege Escalation.md index 344fa6e..8e907f5 100644 --- a/Methodology and Resources/Windows - Privilege Escalation.md +++ b/Methodology and Resources/Windows - Privilege Escalation.md @@ -449,7 +449,7 @@ Extract `HKLM\Software\Policies\Microsoft Services\AdmPwd` from Windows Registry ```powershell cd C:\ & findstr /SI /M "password" *.xml *.ini *.txt -findstr /si password *.xml *.ini *.txt *.config +findstr /si password *.xml *.ini *.txt *.config 2>nul >> results.txt findstr /spin "password" *.* ```