Jump to content
  • Advertisement

Archived

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

original vesoljc

get current (me) user/pass on win2k

This topic is 5370 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Advertisement
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
quote:
Anything you write is likely to compromise what minimal security is already in place for windows.


:rolleyes:

Share this post


Link to post
Share on other sites

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!