get current (me) user/pass on win2k
where is the info and how to get it?
using vc6
[edited by - original vesoljc on October 8, 2003 3:33:36 AM]
I would check <a href="http://www.amazon.com/exec/obidos/tg/detail/-/0764545698/103-0983973-1065408?v=glance">this</a>.
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.
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.
why illegal? if i logged on, i know the pass, i just want to save some typing (got a simple remote script runner)
GetUserName? tnx
GetUserName? tnx
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.
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.
quote:Anything you write is likely to compromise what minimal security is already in place for windows.
:rolleyes:
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement