Wednesday, July 3, 2013

Hide password string in batch

Hide input string batch code
Mask password

here is the code::

@echo off
echo hP1X500P[PZBBBfh#b##fXf-V@`$fPf]f3/f1/5++u5>in.com
for /f "tokens=*" %%i in ('in.com') do set "password=%%i"
del in.com
echo.
echo The Password is:"%password%"
pause

No comments:

Post a Comment

web stats