mirror of
https://github.com/peass-ng/PEASS-ng.git
synced 2025-12-05 20:40:08 -08: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