Archived

This topic is now archived and is closed to further replies.

original vesoljc

get current (me) user/pass on win2k

Recommended Posts

Guest Anonymous Poster
I would check <a href="http://www.amazon.com/exec/obidos/tg/detail/-/0764545698/103-0983973-1065408?v=glance">this</a>.

Share this post


Link to post
Share on other sites
Have a look at MSDN for the GetUserName API function.

The password is something you cannot get by legitimate means. If you are seriously willing to get into legal trouble, you can find out how L0phtCrack breaks Windows password files. Otherwise, think of a different idea.

Share this post


Link to post
Share on other sites
If you know the pass, you don''t need to "get" it. Besides, windows stores your password hash, not the password directly.

GetUserName() only tells you the name of the of the user running the caller thread. It won''t work as a service as it will tell you SYSTEM. Then again, you already know the username since you logged on.

If you want to save typing to log in, just set autologin via the registry keys. Anything you write is likely to compromise what minimal security is already in place for windows.

Share this post


Link to post
Share on other sites