Commit Graph

370 Commits

Author SHA1 Message Date
Clement Rouault d12bae6dbb Remove 'WinUnicodeString' and add un extended struct _LSA_UNICODE_STRING: simplify lots of things 2017-11-17 15:13:34 +01:00
Clement Rouault d3ca30b229 Winstruct parser now handle comments in winstructs source files 2017-11-17 15:10:19 +01:00
Clement Rouault a0ffea68b7 Add a example of x86.assemble in the README 2017-11-15 17:29:11 +01:00
Clement Rouault 51bc3fdf7c Improve _GUID & typedef definition + add a sample using gdef.meta to search for a name/value in generated defs 2017-11-15 15:20:38 +01:00
Clement Rouault a6aa8b86ea Fix typo in rpc windef and improve NDR-related exception message 2017-11-15 11:05:54 +01:00
hakril d9db5ba428 utils.create_file_from_handle now handles binary opening mode 2017-11-15 09:00:38 +01:00
Clement Rouault be68ba8b15 Testing a new generated file: meta.py 2017-11-10 17:29:50 +01:00
Clement Rouault 7929a31bf7 clean wintrust.py: add def to generated_ctypes + use gdef.IID for wintrust IID 2017-11-10 14:40:16 +01:00
Clement Rouault 4e5733c2c5 Process.prioroty now use the FlagMapper 2017-11-10 14:20:59 +01:00
Clement Rouault 8ba325afd2 Add a new FlagMapper to easily transform int to Flag and change to code use it 2017-11-10 13:47:27 +01:00
Clement Rouault 4efae2194d Adding Process.priority + fix in WMI raised exceptions + add x86.Iret 2017-11-10 11:12:24 +01:00
hakril 14b1cbcf75 Adding improved MEMORY_BASIC_INFORMATION structs 2017-11-10 09:04:22 +01:00
Clement Rouault 5a79e15440 Improve WMI capabilities by adding access to various namespaces + listing methods + add CurrentProcess.load_library 2017-11-08 17:55:47 +01:00
Clement Rouault e07d4dbe0c Added th description from the readme at the beginning of the documentation v3.5 2017-10-20 17:10:30 +02:00
hakril c848f33729 Pushed new HTML doc, changed version to 0.3. Ready for hack.lu 2017-10-15 00:17:43 +02:00
hakril c3f9d87c82 Add missing doc sources 2017-10-15 00:13:56 +02:00
hakril 2094ab4ad4 Fix some docstring + re-add windows.test.pop_proc_[32|64] + fix all samples + few doc adapt 2017-10-15 00:13:07 +02:00
Clement Rouault c7fef877f0 Testing some crypto stuff 2017-10-13 17:56:36 +02:00
hakril ba6b22ac84 testing crypto stuff 2017-10-12 08:13:42 +02:00
hakril 930c992be3 Working on improving crypto stuff 2017-10-09 09:11:48 +02:00
Clement Rouault f6e151a7d5 Adding some crypto api 2017-10-06 17:32:24 +02:00
Clement Rouault c12a0c45f9 Add windows.system + ALPC + RPC + winproxy demo to README.md 2017-10-06 15:10:04 +02:00
Clement Rouault 5ee74d5b8f Update rpc doc + sample + new rpc function + new winfunc definition file + fix setup.py 2017-10-05 16:22:16 +02:00
Clement Rouault a183e468ca fix dbgprint to use hardcoded dict + improve rpc client forge_call + new ndr varying string 2017-10-03 17:30:38 +02:00
Clement Rouault bd5976dce2 Added alpc + rpc tests files 2017-09-18 11:11:33 +02:00
Clement Rouault 7947ace02d Add alpc[Client|Server] __del__ to close handles + NtAlpcDisconnectPort + test 2017-09-15 17:54:19 +02:00
Clement Rouault b9a00b2ed7 add rpc.rst doc + rename endpoint_map_alpc + rename ndr EptMapAuth 2017-09-14 17:24:18 +02:00
Clement Rouault 5301f91927 Add sample for thread + fix code to get a WinProcess from a pid not using WinProcess(pid=xxx) + test 2017-09-11 18:20:49 +02:00
hakril b3117ce4e3 pytest integration finished + moved tests/ to top dir 2017-09-10 18:57:59 +02:00
Clement Rouault 492b6f4f02 pytest added --leaks for leak check + test Handle.description 2017-09-08 17:53:59 +02:00
Clement Rouault 7db5620210 more pytest POC + fixed debugger code + test FunctionHXBP 2017-09-07 17:13:59 +02:00
Clement Rouault 89e486cd95 Working on rewriting of tests with pytest 2017-09-06 18:42:54 +02:00
Clement Rouault fccd2a49e6 Add doc to RPC + RPC_IF_ID generated-extended + lsass sample 2017-08-30 18:29:49 +02:00
Clement Rouault d44a3b032e Add extended struct to ctypes generation + extended IID now in winstructs.py and used everywhere 2017-08-29 11:39:43 +02:00
Clement Rouault 1fe5b912be Add some ALPC samples to the documentation 2017-08-28 17:09:49 +02:00
Clement Rouault 1941adc93f Working on RtlGetUnloadEventTraceEx - adding function and struct + fix remotectypes char-array in struct 2017-08-17 18:51:07 +02:00
Clement Rouault e9c62a125c add system.build_number + better handling of closing python in Winprocess.__del__ 2017-08-17 18:49:42 +02:00
Clement Rouault c75dda60b5 Fixed get_kernel_modules for syswow64 process 2017-08-17 13:51:36 +02:00
Clement Rouault 16e29bd938 Added a sample for Debugger.attach 2017-08-16 18:07:00 +02:00
Clement Rouault c76a50c045 add doc to alpc.py + improve doc now that Winstruct are documented 2017-08-16 17:38:18 +02:00
Clement Rouault bd6a3d35d5 Created sub-directories in samples/ 2017-08-16 17:37:26 +02:00
Clement Rouault 8b9a71edc2 Add real doc for windows.generated_def 2017-08-16 15:11:23 +02:00
hakril 3d33c97335 add system.windir + needed winfuncs 2017-08-16 09:25:23 +02:00
Clement Rouault 8d139bce79 Working on sphinx doc generation for windows.generated_def 2017-08-11 19:06:50 +02:00
Clement Rouault 61ac5c8c5d Fix EnumValue pickling for protocol 2 2017-08-10 17:07:41 +02:00
Clement Rouault 928a2744d5 Change RPC_SYNTAX_IDENTIFIER to RPC_IF_ID + update setup_hook + some add to wincli 2017-08-04 17:28:46 +02:00
Clement Rouault f43749aa07 [WIP] new hook method + winfunc APIs in winproxy 2017-08-04 17:19:27 +02:00
Clement Rouault d1cadf062a working on windows.alpc + fix in current_process.threads 2017-08-04 17:18:41 +02:00
Clement Rouault aa22f1515d Working on new windows.alpc 2017-07-28 09:20:40 +02:00
Clement Rouault 6898ac02fa First try at MemBP.on_error callback 2017-07-18 12:48:45 +02:00