Page 1 of 1

Passwording

Posted: Tue Jul 15, 2003 8:32 pm
by Devient
I Have a file on a floppy that i want password protected. The name of the file is Run.bat, now when i run the file in dos i want it to say
Please Enter Password:
then when the correct password is enterd, another file comes up, is there a way to do this in dos?? If so PLEASE HELP ME!! thanks

Posted: Tue Jul 15, 2003 8:45 pm
by Stoker
a dos batch file can not be protected, it may be possible to do this with some other tool that will unlock or decrypt the seond file.. I have no idea if any Dos version or WIntendo has any builtin tools, OpenSSL could be used, to decrypt the seond batch file, and after its run it deletes itself or something like that... not great security but the best you can do with dos I believe

Posted: Tue Jul 15, 2003 11:28 pm
by Devient
Well what im trying to do is the hacking part of enter the matrix game, but i need passwords on the files

Posted: Wed Jul 16, 2003 12:23 am
by Stoker
I have no idea what/how the Matrix game is/works, but if you are asking for help to crack/hack something I won't provide that sort of support intentionally..

Posted: Wed Jul 16, 2003 1:24 am
by Devient
No No No No im not cracking anything
i just want a game that you have to guess passowords to move on and open files

Posted: Wed Jul 16, 2003 3:53 am
by twigletmac
Moved to Miscellaneous as it is not a question about PHP.

Mac

Posted: Wed Jul 16, 2003 7:55 am
by Stoker
..then Dos is really not the tool for the job :)