SCRIPT:
@echo off & setlocal DisableDelayedExpansion
set counter=4
:senha
Title %~n0
Mode 50,5 & Color 0e
if %counter% equ 0 goto :senha2
set /p input="Enter Username: "
set "psCommand=powershell -Command "$pword = read-host 'Enter password' -AsSecureString ; ^
$BSTR=[System.Runtime.InteropServices.Marshal]::SecureStringToBSTR($pword); ^
[System.Runtime.InteropServices.Marshal]::PtrToStringAuto($BSTR)""
for /f "usebackq delims=" %%p in (`%psCommand%`) do set password=%%p
)
if %input%==joao123 (
if %password%==1234 goto :Senha4
)