Re: [python-win32] pywintypes.error: (5, 'OpenEventLogW', 'Access is denied.')

2021-09-16 Thread Ruggero Paolo Basile
ok , i have the username and password of local machine, i'am a starter in python this is my code, the arguments "server" take only an ip and when i tray to run the code i can't know how i have to authenticate the connection. Thanks. #python C:\python\5_Forensic_Basic\eventlog.py # Windo

Re: [python-win32] pywintypes.error: (5, 'OpenEventLogW', 'Access is denied.')

2021-09-16 Thread Mark Hammond
On 16/09/2021 6:41 pm, Ruggero Paolo Basile wrote: ok , i have the username and password of local machine, i'am a starter in python Tim noted that the issue is what permissions you have on the *remote* machine - having the username and password of the local machine means nothing to the remote

Re: [python-win32] pywintypes.error: (5, 'OpenEventLogW', 'Access is denied.')

2021-09-16 Thread Ruggero Paolo Basile
OK , let's explain the case My goal is to read the event log of the remote windows machine. I have experienced the wmi library, the wmi problem is that I have to create parsers, I have not found any code. On the remote machine I have no authentication problems as I connect to the local network.

Re: [python-win32] pywintypes.error: (5, 'OpenEventLogW', 'Access is denied.')

2021-09-16 Thread Mark Hammond
On 16/09/2021 7:17 pm, Ruggero Paolo Basile wrote: OK , let's explain the case My goal is to read the event log of the remote windows machine. I have experienced the *wmi library,* the wmi problem is that I have to create parsers, I have not found any code. On the remote machine I have no au

Re: [python-win32] pywintypes.error: (5, 'OpenEventLogW', 'Access is denied.')

2021-09-16 Thread Ruggero Paolo Basile
OK well , i dint try the experiment becouse i wont modify the other host, only i have to connect to a remote host in the local lan but i cant find any parameter to connect to an host with win32security.LogonUser(). Gretings Ruggero Paolo Basile Cellulare: 3403216393 Mail: ruggeropaolo