Commit Graph

293 Commits

Author SHA1 Message Date
wj32 26ec74806e fix issue with usernames not showing domains
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@336 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2008-12-19 06:43:03 +00:00
wj32 a077a5b5a9 move more stuff from Win32.cs to ProcessHandle.cs
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@335 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2008-12-19 06:15:44 +00:00
wj32 bc699a3e25 use ZwQueryInformationProcess to get processes' parent PIDs.
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@334 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2008-12-19 06:02:16 +00:00
wj32 234233cee3 bump to 1.2.7.0
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@333 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2008-12-19 05:49:02 +00:00
wj32 5beff32478 * added MemoryAlloc class - for managing global-alloc'ed memory
* addded LSAHandle, LSAPolicyHandle
* addded ServiceBaseHandle, ServiceManagerHandle
* revised all Win32 code to use MemoryAlloc class
* revised Win32 function imports to be more natural when used (ref -> out, int -> bool)
* moved session ID display from Process tab on HackerWindow.cs to TokenWindow.cs


git-svn-id: svn://svn.code.sf.net/p/processhacker/code@332 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2008-12-19 05:47:47 +00:00
wj32 d8509b2958 * add MemoryAlloc class
* lock a Win32 handle before attempting to close

git-svn-id: svn://svn.code.sf.net/p/processhacker/code@331 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2008-12-19 04:09:27 +00:00
wj32 0bf33225e3 use StringBuilder instead of string concatenation when loading symbol names
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@330 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2008-12-19 03:47:20 +00:00
wj32 41caa4dd2a unified privileges and groups into a single token window
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@328 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2008-12-18 10:57:10 +00:00
wj32 d86ac6b6d3 improve thread start address display - load EXE symbol first
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@327 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2008-12-18 09:47:40 +00:00
wj32 7068d2d7e3 * The process list now has less CPU usage
* Fixed some processes not having icons

git-svn-id: svn://svn.code.sf.net/p/processhacker/code@326 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2008-12-18 09:16:07 +00:00
wj32 553d86248e decrease CPU usage for processes - don't update usernames every UpdateOnce()
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@325 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2008-12-18 09:06:32 +00:00
wj32 184b607510 simplify thread code
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@324 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2008-12-18 08:58:01 +00:00
wj32 583ea441a0 display better error message for 0x0 start addresses
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@323 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2008-12-18 07:27:04 +00:00
wj32 697d1fc941 Added thread start addresses in thread list
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@322 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2008-12-18 07:25:59 +00:00
wj32 5fe04de91b avoid unhandled exception when opening open-file-dialog
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@321 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2008-12-18 06:53:26 +00:00
wj32 6d6b588cee change Wei Zhu to Dean in AssemblyInfo.cs
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@320 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2008-12-18 06:36:44 +00:00
wj32 e403e01ff4 add more documentation
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@319 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2008-12-18 06:00:29 +00:00
wj32 7a16e85a88 reorganize Win32 files
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@318 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2008-12-18 05:41:19 +00:00
wj32 07ca230141 use List<ListViewItem> instead of ArrayList, change spacing
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@317 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2008-12-18 05:34:58 +00:00
wj32 89a3546876 add lots of documentation
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@316 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2008-12-18 05:31:23 +00:00
wj32 b0511e56ee activate handle filter window if already open
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@314 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2008-12-18 05:05:30 +00:00
wj32 33cae1d5dc * remove my name from AsyncUtils.cs; Dean wrote it entirely
* change Wei Zhu to Dean

git-svn-id: svn://svn.code.sf.net/p/processhacker/code@313 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2008-12-18 05:04:02 +00:00
deanme 82de8e398e Fixed slow problem in ProcessHacker/Forms/HandleFilterWindow.cs when filter string is short or empty
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@311 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2008-12-17 17:00:53 +00:00
wj32 55c32d412e more credits updates
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@310 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2008-12-17 09:14:11 +00:00
wj32 247092904d * fix unused 'ex' variable in ObjectPrivileges.cs
* add Wei Zhu to credits

git-svn-id: svn://svn.code.sf.net/p/processhacker/code@309 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2008-12-17 09:09:56 +00:00
wj32 a53fda3841 add some defs in Win32
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@308 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2008-12-17 08:51:46 +00:00
wj32 d6140eff4c fix rename
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@307 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2008-12-17 07:35:03 +00:00
wj32 610081a1db * Win32 code cleanup
* Can view thread usernames, groups and privileges
 * bump to 1.2.6.5

git-svn-id: svn://svn.code.sf.net/p/processhacker/code@306 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2008-12-17 07:28:38 +00:00
wj32 82142919e2 disable Run As process menu item when Assistant.exe isn't present
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@304 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2008-12-16 09:43:16 +00:00
wj32 49c7e177e8 hide the "find system processes with same session id" item - it is no longer useful
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@300 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2008-12-16 08:16:53 +00:00
wj32 b90c96bf06 update docs
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@299 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2008-12-16 08:09:57 +00:00
wj32 2fd7d60132 * Fixed service list in process tooltips when new own-process services are started and when
shared-process services are stopped.

git-svn-id: svn://svn.code.sf.net/p/processhacker/code@298 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2008-12-16 07:48:43 +00:00
wj32 0190be574a remove service deletion kludge
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@297 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2008-12-16 07:36:46 +00:00
wj32 f5f808f364 fixed all service handle leaks - I used CloseHandle instead of CloseServiceHandle
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@296 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2008-12-16 07:34:22 +00:00
wj32 1ec69e5076 add listing of users in Run As box
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@295 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2008-12-16 07:20:39 +00:00
wj32 5c469e9587 remove System.Data reference
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@294 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2008-12-16 06:44:19 +00:00
wj32 588cc69629 bump to 1.2.6.0
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@293 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2008-12-16 06:40:25 +00:00
wj32 dc02f12562 * added combobox for logon type
* found working kludge for starting as SYSTEM on XP

git-svn-id: svn://svn.code.sf.net/p/processhacker/code@292 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2008-12-16 06:35:31 +00:00
wj32 4d61295d97 fix args problem
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@291 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2008-12-16 06:00:14 +00:00
wj32 f957baa60a remove crap code
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@290 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2008-12-16 05:53:59 +00:00
wj32 2af1916e65 make the session picker display user names
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@288 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2008-12-15 10:44:01 +00:00
wj32 441a8bbdfe * update help
* add session picker to the Run window

git-svn-id: svn://svn.code.sf.net/p/processhacker/code@287 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2008-12-15 10:36:07 +00:00
wj32 0598ae0569 * updated docs
* Assistant can now start programs with a token "stolen" from another process
* greatly simplified process context menu enabling/disabling

git-svn-id: svn://svn.code.sf.net/p/processhacker/code@283 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2008-12-15 10:15:21 +00:00
wj32 a2e73930d5 update docs, deprecate Injector
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@282 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2008-12-15 09:40:17 +00:00
wj32 730fa51364 * more detailed help for Assistant
* fix for running program as NT AUTHORITY\SYSTEM on XP with Assistant

git-svn-id: svn://svn.code.sf.net/p/processhacker/code@281 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2008-12-15 07:08:14 +00:00
wj32 e501c67c2a add more options to Assistant
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@280 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2008-12-15 06:48:31 +00:00
wj32 786308c8d8 * make assistant return error codes
* add QueryServiceStatus and QueryServiceStatusEx defs

git-svn-id: svn://svn.code.sf.net/p/processhacker/code@279 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2008-12-15 06:29:51 +00:00
wj32 06c71e5cb7 UI enhancements, save settings
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@277 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2008-12-15 05:50:01 +00:00
wj32 0715c41629 make it launch "Assistant.exe -w" properly
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@276 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2008-12-15 05:40:20 +00:00
wj32 753c106711 add gpl header, ui improvements, prevent name collisions
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@275 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2008-12-14 11:11:14 +00:00