Commit Graph

410 Commits

Author SHA1 Message Date
DarthTon f5aa3adacf use exceptions instead of status chaining 2021-06-21 02:16:15 +03:00
DarthTon a672509b54 bug fix; code style fix; added test for ExecInAnyThread 2021-06-20 22:34:46 +03:00
Alemarius Nexus e36af76ce7 Support binding RemoteFunctionBase to a thread
This avoids having to supply a contextThread for every call
to RemoteFunctionBase::Call().
2021-06-20 22:03:11 +03:00
DarthTon 0eac7c5c95 code style fixup; added test 2021-06-20 22:02:16 +03:00
Alemarius Nexus 13c26f82ff Add buffer ping-ponging for RemoteExec, to avoid Sleep() after RPC calls 2021-06-20 22:01:41 +03:00
共产主义接班人 f257324a64 fix debug
1. fix "CreateAPCEvent" hRemoteHandle = sizeof( uintptr_t )

2. fix ExecInAnyThread  32bit process  "callResult" offset  "INTRET_OFFSET", not is "RET_OFFSET"
2021-06-20 15:27:15 +03:00
Ruslan 539ea3a972 fix remote exec from x32 to x64 process 2021-06-20 15:26:11 +03:00
Alemarius Nexus ec8ab3dcc2 Rename WordSize macro to BlackBoneWordSize 2021-06-20 15:24:19 +03:00
DarthTon 607e9a3be9 trigger ci on workflow yaml changes 2020-12-20 22:16:32 +02:00
DarthTon f53be8f54c update ci 2020-12-20 22:11:08 +02:00
DarthTon 445ff87745 fixed build errors with latest SDK 2020-12-20 22:07:34 +02:00
Amrani e4f8d87d5d Python win32 api Wrapper 2020-12-20 21:54:51 +02:00
Alemarius Nexus 295da5e2a9 PatternSearch additions: Support for address-aligned search; Use handler functions (e.g. lambda) on match; stop search prematurely if requested by handler function (e.g. when searching for a single match only). 2020-12-20 21:54:15 +02:00
Alemarius Nexus 34ca787086 Made RemoteLocalHook work, both on x86 and x86_64. Yay! 2020-12-20 21:54:15 +02:00
Alemarius Nexus b81d650454 Added methods for allocating a MemBlock as close to an address as possible. 2020-12-20 21:54:15 +02:00
Michael Maltsev 8bda02aaa5 Fixed a memory leak in PDBHelper 2020-12-20 21:53:38 +02:00
DarthTon 231f174716 fixed #393: added switch to ignore DEP when casting memory protection 2020-06-08 16:35:57 +03:00
DarthTon bb8f4c6f72 fixed #405: mmap: get process heap base from PEB 2020-06-08 00:45:03 +03:00
DarthTon 33739823c2 updated badges 2020-06-07 18:22:20 +03:00
DarthTon d83da070a3 run checks on every push 2020-06-07 18:18:04 +03:00
DarthTon b42d2abca3 removed broken test code 2020-06-07 18:15:47 +03:00
DarthTon fb44f59ce8 github actions refactoring 2020-06-05 17:12:59 +03:00
DarthTon fbd594e500 added tests for modules 2020-06-05 15:23:09 +03:00
DarthTon e5747ef4c9 fixed test and code after PR merge 2020-06-05 14:54:16 +03:00
DarthTon ed951dffe0 fixed #379: don't use process pseudo-handle 2020-06-05 13:49:16 +03:00
共产主义接班人 5eb0732d1a fix: 32bit read 64bit address failed 2020-06-05 13:07:58 +03:00
共产主义接班人 92a627b80e fix: 32bit read 64bit address failed 2020-06-05 13:07:58 +03:00
共产主义接班人 667b7bba21 fix: non cross op bit 2020-06-05 13:07:58 +03:00
共产主义接班人 79ab4be1f9 fix: operation bit of target process 2020-06-05 13:07:58 +03:00
共产主义接班人 878c06280a get the current memory operation object 2020-06-05 13:07:58 +03:00
Ruslan 4cc4a77973 use target struct size for copying / fix copying x64 peb size
(cherry picked from commit 2d928b8cba6389ce2c79c040fe042850813b38e7)
2020-06-05 13:05:23 +03:00
Ruslan 273a44c7e0 Windows api does not have any guarantee that ntstatus will remain unchanged after a successful call, neither it have any guarantee of its value in this case.
Though it is working most of the time, correct way is to check call return value.
2020-06-05 13:05:23 +03:00
DKing 99b9d978e1 add partial support for windows 20H1
TestMem BSOD.
2020-06-05 13:05:03 +03:00
SpriteOvO 0f60516564 fixed wrong comment 2020-04-10 18:10:48 +03:00
DarthTon 4dadd4189b Driver: added support for win10 19H2 2019-12-09 22:18:06 +02:00
DarthTon 80529105ec removed unused values 2019-12-07 15:52:33 +02:00
DarthTon 780a5b0905 added github actions workflow 2019-09-17 19:31:29 +03:00
DarthTon 049dafa952 removed appveyour meta 2019-09-17 19:31:27 +03:00
DarthTon 966a3349c6 fixed typos 2019-09-17 19:31:25 +03:00
DarthTon 0072fba51c updated appveyor image 2019-06-07 18:04:53 +03:00
DarthTon feb3f0245e fix DLL configurations 2019-06-07 18:04:42 +03:00
DarthTon a13615b0a1 fixed #345, #350;bug fixes 2019-06-07 17:42:28 +03:00
DarthTon ae70e7059a Driver: updated to RS6 2019-06-07 17:15:31 +03:00
DarthTon 73e298638a updated to RS6; added test for private symbols 2019-06-07 17:15:13 +03:00
DarthTon 25d5d490ac fixed #352: cpp conformance 2019-06-07 12:26:41 +03:00
Fishery 5fa8c49c84 Double IN in arguement
Double IN for BBRvaToVa
2019-06-07 12:22:40 +03:00
Fishery b9756ba799 some INs in argument
GenCall64 & GenCall64V
2019-06-07 12:22:20 +03:00
DarthTon 3a31969694 missing changes after refactoring 2019-05-07 22:23:01 +03:00
DarthTon 2be4d4d13a added handle guard tests 2019-05-06 21:58:02 +03:00
DarthTon 1c50ebf755 #341: HandleGuard refactoring 2019-05-06 21:58:02 +03:00