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

48 lines
1.6 KiB
Plaintext

(cmd) python system.py
Basic system infos:
version = (10, 0)
bitness = 64
computer_name = WILLIE
product_type = VER_NT_WORKSTATION(0x1L)
version_name = Windows 10
There is 194 processes
There is 2324 threads
Dumping first logical drive:
<LogicalDrive "C:\" (DRIVE_FIXED)>
name = C:\
type = DRIVE_FIXED(0x3L)
path = \Device\HarddiskVolume2
Dumping first service:
<ServiceA "1394ohci" SERVICE_STOPPED(0x1L)>
name = 1394ohci
description = 1394 OHCI Compliant Host Controller
status = ServiceStatus(type=SERVICE_KERNEL_DRIVER(0x1L), state=SERVICE_STOPPED(0x1L), control_accepted=0L, flags=0L)
process = None
Finding a service in a user process:
<ServiceA "AppIDSvc" SERVICE_RUNNING(0x4L)>
name = AppIDSvc
description = Application Identity
status = ServiceStatus(type=48L, state=SERVICE_RUNNING(0x4L), control_accepted=5L, flags=0L)
process = <WinProcess "!cannot-retrieve-name" pid 7076 at 0x631eb70>
Enumerating handles:
There are 78079 handles:
First handle is: <Handle value=<0x4> in process pid=4>
Enumerating handles of the current process:
There are 260 handles for this process
Looking for a File handle:
Handle is <Handle value=<0x4> in process pid=10968>
Name is <\Device\ConDrv>
Dumping the first system module
<SystemModuleWow64 name="\SystemRoot\system32\ntoskrnl.exe" base=0xfffff803f9697000>
ImageName = \SystemRoot\system32\ntoskrnl.exe
Base = 0xfffff803f9697000
Size = 0x8d5000
Flags = 0x8804000
LoadCount = 139