mirror of
https://github.com/hakril/PythonForWindows
synced 2026-06-08 14:31:45 +00:00
Update some doc + document windows.system.modules
This commit is contained in:
@@ -1,6 +1,9 @@
|
||||
Handle -- Processes handles
|
||||
============================
|
||||
|
||||
The list of handles is accessible via :py:attr:`windows.system.handles
|
||||
<windows.winobject.system.System.handles>`
|
||||
|
||||
.. note::
|
||||
|
||||
See sample :ref:`sample_system`
|
||||
|
||||
@@ -3,6 +3,9 @@ Network
|
||||
|
||||
.. module:: windows.winobject.network
|
||||
|
||||
The :class:`Network` instance is accessible via :py:attr:`windows.system.network
|
||||
<windows.winobject.system.System.network>`
|
||||
|
||||
.. note::
|
||||
|
||||
See sample :ref:`sample_network_exploration`
|
||||
|
||||
@@ -3,6 +3,9 @@ Registry
|
||||
|
||||
.. module:: windows.winobject.registry
|
||||
|
||||
The :class:`Registry` instance is accessible via :py:attr:`windows.system.registry
|
||||
<windows.winobject.system.System.registry>`
|
||||
|
||||
.. note::
|
||||
|
||||
See sample :ref:`sample_registry`
|
||||
@@ -11,7 +14,7 @@ Registry
|
||||
""""""""
|
||||
|
||||
.. autoclass:: Registry
|
||||
:special-members: __getitem__
|
||||
:special-members: __call__
|
||||
|
||||
|
||||
PyHKey
|
||||
@@ -31,6 +34,10 @@ PyHKey
|
||||
|
||||
Wrapper for :func:`set`, accept ``value`` or ``(value, type)``
|
||||
|
||||
.. function:: __delitem__(name)
|
||||
|
||||
Alias for :func:`delete_value`
|
||||
|
||||
KeyValue
|
||||
""""""""
|
||||
|
||||
|
||||
@@ -6,8 +6,8 @@ Basic system infos:
|
||||
product_type = VER_NT_WORKSTATION(0x1L)
|
||||
version_name = Windows 10
|
||||
|
||||
There is 222 processes
|
||||
There is 2716 threads
|
||||
There is 194 processes
|
||||
There is 2324 threads
|
||||
|
||||
Dumping first logical drive:
|
||||
<LogicalDrive "C:\" (DRIVE_FIXED)>
|
||||
@@ -23,17 +23,25 @@ Dumping first service:
|
||||
process = None
|
||||
|
||||
Finding a service in a user process:
|
||||
<ServiceA "Appinfo" SERVICE_RUNNING(0x4L)>
|
||||
name = Appinfo
|
||||
description = Application Information
|
||||
status = ServiceStatus(type=48L, state=SERVICE_RUNNING(0x4L), control_accepted=129L, flags=0L)
|
||||
process = <WinProcess "svchost.exe" pid 13288 at 0x63ffc10>
|
||||
<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 106325 handles:
|
||||
There are 78079 handles:
|
||||
First handle is: <Handle value=<0x4> in process pid=4>
|
||||
Enumerating handles of the current process:
|
||||
There are 261 handles for this process
|
||||
There are 260 handles for this process
|
||||
Looking for a File handle:
|
||||
Handle is <Handle value=<0x4> in process pid=16752>
|
||||
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
|
||||
|
||||
@@ -1,6 +1,10 @@
|
||||
Service
|
||||
=======
|
||||
|
||||
The list of services is accessible via :py:attr:`windows.system.services
|
||||
<windows.winobject.system.System.services>`
|
||||
|
||||
|
||||
.. note::
|
||||
|
||||
See sample :ref:`sample_system`
|
||||
|
||||
@@ -0,0 +1,43 @@
|
||||
System Module -- Loaded kernel modules
|
||||
======================================
|
||||
|
||||
.. module:: windows.winobject.system_module
|
||||
|
||||
|
||||
The list of system modules is accessible via :py:attr:`windows.system.modules <windows.winobject.system.System.modules>`
|
||||
|
||||
|
||||
.. note::
|
||||
|
||||
See sample :ref:`sample_system`
|
||||
|
||||
|
||||
|
||||
|
||||
SystemModule
|
||||
""""""""""""
|
||||
|
||||
.. autoclass:: SystemModule
|
||||
:inherited-members:
|
||||
:members:
|
||||
:undoc-members:
|
||||
:show-inheritance:
|
||||
|
||||
|
||||
SystemModuleWow64
|
||||
"""""""""""""""""
|
||||
|
||||
.. autoclass:: SystemModuleWow64
|
||||
:inherited-members:
|
||||
:members:
|
||||
:undoc-members:
|
||||
:show-inheritance:
|
||||
|
||||
|
||||
BaseSystemModule
|
||||
""""""""""""""""
|
||||
|
||||
.. autoclass:: BaseSystemModule
|
||||
|
||||
|
||||
|
||||
@@ -3,6 +3,9 @@ Task scheduler
|
||||
|
||||
.. module:: windows.winobject.task_scheduler
|
||||
|
||||
The :class:`TaskService` is accessible via :py:attr:`windows.system.task_scheduler
|
||||
<windows.winobject.system.System.task_scheduler>`
|
||||
|
||||
.. note::
|
||||
|
||||
See sample :ref:`sample_scheduled_task`
|
||||
|
||||
@@ -1,6 +1,10 @@
|
||||
Volume -- The logical drives
|
||||
============================
|
||||
|
||||
The list of logical drives is accessible via :py:attr:`windows.system.logicaldrives
|
||||
<windows.winobject.system.System.logicaldrives>`
|
||||
|
||||
|
||||
.. note::
|
||||
|
||||
See sample :ref:`sample_system`
|
||||
|
||||
@@ -17,5 +17,6 @@ This sections describes them by group of relation.
|
||||
volume.rst
|
||||
wmi.rst
|
||||
handle.rst
|
||||
system_module.rst
|
||||
task_scheduler.rst
|
||||
evtlog.rst
|
||||
@@ -3,6 +3,10 @@ WMI -- Make request to WMI
|
||||
|
||||
.. module:: windows.winobject.wmi
|
||||
|
||||
|
||||
The :class:`WmiManager` is accessible via :py:attr:`windows.system.wmi
|
||||
<windows.winobject.system.System.wmi>`
|
||||
|
||||
.. note::
|
||||
|
||||
See sample :ref:`wmi_request`
|
||||
|
||||
Reference in New Issue
Block a user