From c2c3fe2dc2f1d396bcd80bb79bbbe92aef4ccbc6 Mon Sep 17 00:00:00 2001 From: hakril Date: Wed, 27 Apr 2016 00:33:02 +0200 Subject: [PATCH] more doc --- TODO | 11 +---------- doc/source/sample.rst | 17 +++++++++-------- doc/source/service.rst | 15 +++++++++++++++ doc/source/volume.rst | 4 ++++ doc/source/windows.rst | 4 ++++ samples/system.py | 1 + windows/debug.py | 21 ++++++++++++--------- windows/winobject/exception.py | 15 ++++++++++++--- windows/winobject/process.py | 14 ++++++++++---- windows/winobject/service.py | 2 +- windows/wintrust.py | 2 +- 11 files changed, 70 insertions(+), 36 deletions(-) create mode 100644 doc/source/service.rst diff --git a/TODO b/TODO index 64a4352..3afde44 100644 --- a/TODO +++ b/TODO @@ -2,9 +2,6 @@ TODO: - Documentation - Pass 0.2 when doc is done <3 - type pass to dbg callback - - Context.regs - - explain what is a DeadThread (do I still need it ?) - - Eflags (raw stuff) - ProcessMemory object ? (metasm like) @@ -20,7 +17,7 @@ TODO: - Injection - code generated by generate_python_exec_shellcode_64[32] may be reused - Just need to passe the address of the python string as argument + Just need to pass the address of the python string as argument - rewrite generate_stub_64[32] : it's a non-sens to not save stuff on the stack.. I can re-copy the args on stack.. @@ -44,8 +41,6 @@ TODO: - NtQueryVirtualMemory_32_to_64 (stop using hardcoded value for request type: add it to enum) - - CHANGELOG: * NEW REGISTRY -> change examples and documentation * WinProcess is not a PROCESSENTRY32 anymore (change doc) @@ -55,10 +50,7 @@ Documentation * Debugger * LocalDebugger * windows.com - * windows.wintrust * New stuff in exception ? - * system.services - * New stuff in WMI ?(think not just change in internal) * windows.utils * verif samples @@ -66,7 +58,6 @@ Documentation FIXME: - setup.py build seems to raise an error - winutils.create_process : use WinProcess._from_handle - - Push("[ECX]") in simple_x64 as a "H" rex and i think it should not.. RESSOURCE diff --git a/doc/source/sample.rst b/doc/source/sample.rst index 288b933..d0a2f4b 100644 --- a/doc/source/sample.rst +++ b/doc/source/sample.rst @@ -421,18 +421,19 @@ Make WMI requests Ouput:: (cmd λ) python .\samples\wmi_request.py - WMI requester is + WMI requester is Selecting * from 'Win32_Process' - They are <94> processes + They are <92> processes Looking for ourself via pid Some info about our process: * Name -> python.exe - * ProcessId -> 7896 + * ProcessId -> 7968 * OSName -> Microsoft Windows 8.1 Pro|C:\Windows|\Device\Harddisk0\Partition2 - * UserModeTime -> 1406250 + * UserModeTime -> 2812500 * WindowsVersion -> 6.3.9600 - * CommandLine -> "C:\Python27\python.exe" .\wmi_request.py + * CommandLine -> python.exe .\samples\wmi_request.py