256 Commits

Author SHA1 Message Date
dmex 24c28d743c Update tooldisk.c 2026-11-02 22:52:10 +11:00
dmex 048d99232c Fix races, handle reuse, and mapped image faults
H
2026-10-27 22:11:18 +11:00
dmex d40e6e0441 Set VCProjectVersion to 18.0
Define VCProjectVersion as 18.0 in the shared Directory.Build.props so all projects use the same Visual C++ project version.
2026-10-26 13:05:37 +11:00
dmex cc0fa8a1f3 Add WS_CLIPCHILDREN to plugin dialog styles 2026-10-26 10:41:32 +11:00
Johnny Shaw 76bbd4bc71 AgentTools add mcp instructions for more clients 2026-10-25 00:53:32 -06:00
Johnny Shaw b059589e4d fix master 2026-10-24 10:10:43 -06:00
dmex dd801a9ec6 Update AgentTools export cleanup and shadow stacks 2026-10-23 22:18:30 +11:00
dmex 3bb9943917 Use monotonic timing for AgentTools timeouts
Standardize deadlines on PhQueryWaitTime with matching tick conversions and remove the local timing wrapper. Use unbiased interrupt time for pending consent expiry so wall-clock changes cannot affect validity.
2026-10-20 20:03:34 +11:00
dmex 83e127b970 Optimize memory scans and consent countdown 2026-10-19 01:18:52 +11:00
dmex 3a79d30169 Update AgentTools.vcxproj 2026-10-19 01:16:32 +11:00
dmex 05bd251440 Theme, service grouping, and misc UI fixes
- Themed status bar/header: hot-part tracking with partial invalidation, owner-draw/icon/RTL support, sizegrip drawn last, header images/alignment, buffered header paint, DPI change handling, and capture-change hover reset.
- Fill erase background in dialog/static hooks and sysinfo container to avoid flicker; add menu popup border frame.
- Explorer theme mode follows the Windows dark preference.
- Service list: add 'Group services by' (type, load order group, svchost group, start type) with synthetic group nodes.
- Session properties: query nltest account info on a background thread and decode its security descriptor with a read-only permissions viewer.
- Add PhIsLaunchedByTaskScheduler and PhGetWindowsBuildString.
- phlib buffered paint uses UxTheme unless PHLIB_PAINT_BUFFER is defined.
- Add I/O total bytes process column; set initial focus on several process property pages.
- Plugins: only walk WOW64 stacks for WOW64 processes, add WindowExplorer pause/resume, remove disk cache events page, refresh frame on netoptions border changes, and fix Updater SymCrypt hash size init.
2026-10-14 05:53:44 +11:00
dmex a5c7f5b506 Update tools.c 2026-10-08 21:06:38 +11:00
dmex 3216229d23 Update phlib types 2026-10-08 21:06:32 +11:00
dmex b1aa20343e Use interrupt time for MCP consent timeout
Replace `NtGetTickCount64()` in the legacy elicitation wait loop with a local helper based on `PhQueryUnbiasedInterruptTime()`. This avoids relying on `PhQueryWaitTime`, which is inline and pulls in `WindowsVersion`, a symbol the host does not export, while keeping the timeout check in 100-ns units.
2026-10-08 21:05:06 +11:00
Johnny Shaw 2a0045bfc5 simcp answer the host instead of waiting for System Informer 2026-09-15 20:29:14 -06:00
Johnny Shaw 0dce968938 AgentTools sticky connect consent option 2026-09-15 16:52:22 -06:00
Johnny Shaw 62ad1eaf8f AgentTools do not serve before the process provider has data 2026-09-10 23:10:14 -06:00
Johnny Shaw 8f0fd5d0aa AgentTools declare that the tool, resource and prompt lists can change 2026-09-10 18:16:56 -06:00
Johnny Shaw 3504e5657e AgentTools report a failed pipe write as a transport error 2026-09-10 18:13:45 -06:00
Johnny Shaw b94d422a45 AgentTools comment cleanup 2026-09-09 23:21:53 -06:00
Johnny Shaw 2db220621a AgentTools tell the client what the options actually control 2026-09-09 23:11:26 -06:00
Johnny Shaw 424db10b8a AgentTools neutralise a connection string before anyone else holds it 2026-09-09 22:13:57 -06:00
Johnny Shaw 56c36b3e95 AgentTools keep the line breaks the target description writes itself 2026-09-09 22:13:57 -06:00
Johnny Shaw 35fd940450 AgentTools hold the security tool's path to the rule the others keep 2026-09-09 22:13:56 -06:00
Johnny Shaw 4955bcf426 Trim the commentary the security pass left behind 2026-09-09 21:45:18 -06:00
Johnny Shaw 4e2f8e8c82 AgentTools bound a disk descriptor to what the device returned 2026-09-09 21:13:25 -06:00
Johnny Shaw 1ed65784d4 AgentTools size a certificate serial without wrapping the count 2026-09-09 21:03:26 -06:00
Johnny Shaw cf61ee0f62 AgentTools gate the reads that reach the driver with no ceiling 2026-09-09 20:56:27 -06:00
Johnny Shaw 4ec32b1acc AgentTools look up an export only by a name that ends in the view 2026-09-09 20:34:13 -06:00
Johnny Shaw 42bb329a9d AgentTools do not read a manifest the image never gave back 2026-09-09 20:29:19 -06:00
Johnny Shaw 77e750f6ce AgentTools read the security directory only when the image declares it 2026-09-09 20:22:53 -06:00
Johnny Shaw 235b3b43c9 AgentTools probe the CLR header the directory only points at 2026-09-09 20:18:03 -06:00
Johnny Shaw e037830458 AgentTools keep caller-named files on a local drive 2026-09-09 19:49:16 -06:00
Johnny Shaw 88ab55941b AgentTools stop text from elsewhere rewriting the consent prompt 2026-09-09 19:36:10 -06:00
Johnny Shaw 726217e6a6 AgentTools record how a call was authorized, not just that it ran 2026-09-09 19:27:08 -06:00
Johnny Shaw 610de03ccf AgentTools drop the commentary the review pass left behind 2026-09-09 17:44:06 -06:00
Johnny Shaw e4b2e7a6d2 AgentTools walk a kernel thread's stack through the driver 2026-09-09 17:44:05 -06:00
Johnny Shaw fc6aa1c419 AgentTools name every tool in its annotations 2026-09-09 17:44:04 -06:00
Johnny Shaw 7c04cc59c0 AgentTools fix the shutdown hang and the consent dialog icon 2026-09-09 17:44:03 -06:00
Johnny Shaw ae111e26ef AgentTools show the client's icon and check the tool annotations 2026-09-09 17:44:02 -06:00
Johnny Shaw f2ff4638b7 AgentTools trim the comments back to one line 2026-09-09 17:44:01 -06:00
Johnny Shaw 252dc91ac3 AgentTools clear the class grants on disconnect 2026-09-09 17:44:00 -06:00
Johnny Shaw 93c46c9a95 AgentTools correct the comments a re-anchored review found 2026-09-09 17:43:59 -06:00
Johnny Shaw bd87bb0488 AgentTools report an app domain it could not read 2026-09-09 17:43:58 -06:00
Johnny Shaw dc719c953d AgentTools show the consent dialog what was actually verified 2026-09-09 17:43:57 -06:00
Johnny Shaw 99e9490845 AgentTools derive the client from the broker's standard handles 2026-09-09 17:43:56 -06:00
Johnny Shaw b2d589ab49 AgentTools put the section markers on the sections they name 2026-09-09 17:43:55 -06:00
Johnny Shaw 3a59aa669f plugins share the ExtendedTools interface the way the others are shared 2026-09-09 17:43:54 -06:00
Johnny Shaw d92075fc76 AgentTools strip the characters that rewrite the text around them 2026-09-09 17:43:53 -06:00
Johnny Shaw 8eae93c481 AgentTools give the user only the config block to paste 2026-09-09 17:43:46 -06:00