Impersonating a Different Logon
kdawg44 at gmail.com
Tue Apr 6 21:26:56 CEST 2010
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.
More information about the Python-list