mirror of
https://github.com/carlospolop/privilege-escalation-awesome-scripts-suite.git
synced 2025-12-06 00:51:28 +00:00
Merge pull request #514 from moscowchill/bat-pr
Fix ANSI escape codes displaying as literal text in winPEAS.bat
This commit is contained in:
@@ -707,7 +707,8 @@ EXIT /B
|
|||||||
|
|
||||||
:SetOnce
|
:SetOnce
|
||||||
REM :: ANSI escape character is set once below - for ColorLine Subroutine
|
REM :: ANSI escape character is set once below - for ColorLine Subroutine
|
||||||
SET "E=0x1B["
|
for /F %%a in ('echo prompt $E ^| cmd') do set "ESC=%%a"
|
||||||
|
SET "E=%ESC%["
|
||||||
SET "PercentageTrack=0"
|
SET "PercentageTrack=0"
|
||||||
EXIT /B
|
EXIT /B
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user