Update some doc + document windows.system.modules

This commit is contained in:
hakril
2018-06-11 11:09:48 +02:00
parent 525432fecd
commit 041a354d17
14 changed files with 127 additions and 17 deletions
+3
View File
@@ -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
View File
@@ -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`
+8 -1
View File
@@ -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
""""""""
+18 -10
View File
@@ -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
+4
View File
@@ -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`
+43
View File
@@ -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
View File
@@ -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`
+4
View File
@@ -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`
+1
View File
@@ -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
+4
View File
@@ -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`