Impersonating a Different Logon
Kevin Holleran
kdawg44 at gmail.com
Tue Apr 6 15:26:56 EDT 2010
Hello,
I am sweeping some of our networks to find devices. When I find a
device I try to connect to the registry using _winreg and then query a
specific key that I am interested in. This works great for machines
that are on our domain, but there are left over machines that are
stand alone and the credentials fail. I understand you cannot pass in
credentials with _winreg but is there a way to simulate a logon of
another user (the machine's local admin) to query the registry?
Thanks for your help.
Kevin
More information about the Python-list
mailing list