Files
hakril-PythonForWindows/docs/source/samples_output/system.txt
T

48 lines
1.5 KiB
Plaintext

(cmd) python system.py
Basic system infos:
version = (10, 0)
bitness = 64
computer_name = WILLIE
product_type = 1
version_name = Windows 10
There is 331 processes
There is 4010 threads
Dumping first logical drive:
<LogicalDrive "B:\" (DRIVE_FIXED)>
name = B:\
type = 3
path = \Device\HarddiskVolume7
Dumping first service:
<Service "1394ohci" SERVICE_STOPPED(0x1)>
name = 1394ohci
description = 1394 OHCI Compliant Host Controller
status = <_SERVICE_STATUS_PROCESS type=SERVICE_KERNEL_DRIVER(0x1) state=SERVICE_STOPPED(0x1)>
process = None
Finding a service in a user process:
<Service "AppIDSvc" SERVICE_RUNNING(0x4)>
name = AppIDSvc
description = Application Identity
status = <_SERVICE_STATUS_PROCESS type=48L state=SERVICE_RUNNING(0x4)>
process = <WinProcess "!cannot-retrieve-name" pid 6060 at 0x35851d0>
Enumerating handles:
There are 208332 handles:
First handle is: <HandleWow64 value=<0x4> in process pid=4>
Enumerating handles of the current process:
There are 275 handles for this process
Looking for a File handle:
Handle is <HandleWow64 value=<0x4> in process pid=15236>
Name is <\Device\ConDrv>
Dumping the first system module
<SystemModuleWow64 name="\SystemRoot\system32\ntoskrnl.exe" base=0xfffff80023000000>
ImageName = \SystemRoot\system32\ntoskrnl.exe
Base = 0xfffff80023000000
Size = 0xab7000
Flags = 0x8804000
LoadCount = 240