hide user input.

Discussion forum for all Windows batch related topics.

Moderator: DosItHelp

Message
Author
Cleptography
Posts: 287
Joined: 16 Mar 2011 19:17
Location: scriptingpros.com
Contact:

Re: hide user input.

#16 Post by Cleptography » 30 Jun 2011 11:05


...and this is why something not native was suggested. To the depths with batch. :twisted: Oh have to watch
myself I feel that spam tongue getting loose.

arjun2988
Posts: 6
Joined: 30 Jun 2011 01:33

Re: hide user input.

#17 Post by arjun2988 » 01 Jul 2011 00:21

@echo off
echo hP1X500P[PZBBBfh#b##fXf-V@`$fPf]f3/f1/5++u5>hide.com

:retry
set /p userid=Enter UserId:
set /p password=Enter password: <nul
for /f "tokens=*" %%i in ('hide.com') do set password=%%i
:next
echo "Your Password is %password%"
echo. & echo You are logged in!

nitt
Posts: 218
Joined: 22 Apr 2011 02:43

Re: hide user input.

#18 Post by nitt » 01 Jul 2011 02:29

arjun2988 wrote:@echo off
echo hP1X500P[PZBBBfh#b##fXf-V@`$fPf]f3/f1/5++u5>hide.com

:retry
set /p userid=Enter UserId:
set /p password=Enter password: <nul
for /f "tokens=*" %%i in ('hide.com') do set password=%%i
:next
echo "Your Password is %password%"
echo. & echo You are logged in!


I got a "kawnt rawn kuzuh iza 16bit app err". So ya. And I didn't think you could write a COM file from ASCII.

Okay, just ran it on my XP and it works just fine. Holy crap that's awesome! I never knew you could write 16bit applications from ASCII like that.

Now we just need a 32bit version.

Post Reply