ColorLine Fix

Added a trailing quotation on a ColorLine that could lead to an error.
Spelling on :CurrentClipboard
This commit is contained in:
Lino 2023-04-03 13:32:15 +02:00 committed by GitHub
parent 0682cafe08
commit 8ee66af278
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -52,7 +52,7 @@ CALL :ColorLine " %E%41mUse it at your own networks and/or with the network ow
ECHO. ECHO.
:SystemInfo :SystemInfo
CALL :ColorLine "%E%32m[*]%E%97m BASIC SYSTEM INFO CALL :ColorLine "%E%32m[*]%E%97m BASIC SYSTEM INFO"
CALL :ColorLine " %E%33m[+]%E%97m WINDOWS OS" CALL :ColorLine " %E%33m[+]%E%97m WINDOWS OS"
ECHO. [i] Check for vulnerabilities for the OS version with the applied patches ECHO. [i] Check for vulnerabilities for the OS version with the applied patches
ECHO. [?] https://book.hacktricks.xyz/windows-hardening/windows-local-privilege-escalation#kernel-exploits ECHO. [?] https://book.hacktricks.xyz/windows-hardening/windows-local-privilege-escalation#kernel-exploits
@ -404,7 +404,7 @@ CALL :T_Progress 1
:CurrentClipboard :CurrentClipboard
CALL :ColorLine " %E%33m[+]%E%97m CURRENT CLIPBOARD" CALL :ColorLine " %E%33m[+]%E%97m CURRENT CLIPBOARD"
ECHO. [i] Any password inside the clipboard? ECHO. [i] Any passwords inside the clipboard?
powershell -command "Get-Clipboard" 2>nul powershell -command "Get-Clipboard" 2>nul
ECHO. ECHO.
CALL :T_Progress 1 CALL :T_Progress 1