Jump to content

asking about ms dos


killr
 Share

Recommended Posts


Yeah, that's totally not asterix password recovery. :lol:

The OP wants to type some command or input in a DOS box without it appearing readable on the screen.

What OS we don't know. Probably XP. ;)

Link to comment
Share on other sites

if your interp is correct you deserve those stars. :D

I went with nerevars translation so at least the answers were linear towards retrieving plain text from the asterix in a command prompt.

Although it indeed may not be the query.

Link to comment
Share on other sites

  • 2 weeks later...

Unfortunately, the lack of clarity

I have a code required a user name and password

At the time of writing the password box I want to hide or show when writing in the form of Stars

look this code batch

@echo off

start /wait %comspec% /v:on /c "mode 40,10 & title Login Window & color 1e & echo. & set /p name=Enter Name: & set /p pswd=Enter password: & cls & echo name=!name!>login.txt & echo pswd=!pswd!>>login.txt & exit"

for /f "tokens=1* delims==" %%i in (login.txt) do (

if %%i==name set name=%%j

if %%i==pswd set pswd=%%j

)

echo Name is %name%

echo Password is %pswd%

save this on cmd and tes if run will show box say enter user and pass

now I wanna know how can hide this pass if I type on cmd or Encrypted like star

Edited by killr
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.


×
×
  • Create New...