Commit Graph

174 Commits

Author SHA1 Message Date
wj32 1e6f5f499a added Permissions buttons, menu items for processes, services, threads, tokens
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@2085 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-10-07 02:31:45 +00:00
wj32 d2334d330e * completed security editing component
* added security editor to HandleProperties

git-svn-id: svn://svn.code.sf.net/p/processhacker/code@2082 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-10-07 01:28:53 +00:00
wj32 4ea71eaced completely new PE reader implementation
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@2038 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-10-03 04:02:51 +00:00
wj32 0f0dc18a83 added some more DbgUi functions
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@2013 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-10-01 08:01:37 +00:00
wj32 5fd079df21 * fixed EnvironmentBlock.GetLength
* fixed CreateExtended, CSR notification is now optional; starting simple programs works!

git-svn-id: svn://svn.code.sf.net/p/processhacker/code@2010 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-09-30 11:43:58 +00:00
wj32 c852122401 * Get/SetPriorityClass are now Win32 based again
* SeIncreaseBasePriorityPrivilege is now enabled if present

git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1955 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-09-26 23:39:03 +00:00
dmex04 0c8a286952 bugfix Workaround for GetPriorityClass NtStatus returning DataTypeMisalignment on x64
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1954 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-09-26 14:03:54 +00:00
wj32 1ef7a443a3 IsBeingDebugged is now native
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1952 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-09-26 07:59:16 +00:00
wj32 d5913322ef added ThreadHandle.SetToken
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1950 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-09-26 07:24:02 +00:00
wj32 c4d99b1b05 * fixed EnvironmentBlock.GetVariable
* EnvironmentBlock.SetVariable now sets the environment pointer instead of returning one

git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1943 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-09-26 01:17:48 +00:00
wj32 873f21ee8e started ProcessHandle.CreateExtended
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1938 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-09-25 11:05:19 +00:00
wj32 3b8c01aa4d refactored FileUtils.cs
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1937 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-09-25 07:24:19 +00:00
wj32 f5d8bec319 fixed process priority class display
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1936 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-09-24 10:51:36 +00:00
wj32 35d8aeb91f reverted r1925, r1926, r1929
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1931 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-09-24 01:32:09 +00:00
dmex04 8ef9ee8eaa added missing native enums for Thread/Process priority, fixed/updated native functions per msdn documentation... returned Thread/Process priority is now correct (compared with PE/Taskman) however PH-UI doesn't consistently show the correct values for every process
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1925 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-09-23 12:08:23 +00:00
wj32 f0a3520f20 refactored native error handling
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1908 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-09-21 07:41:12 +00:00
wj32 529dbcaeab enabled DLL injection into processes from other sessions
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1903 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-09-20 00:14:45 +00:00
wj32 cf8f5d843c * added KeyHandle
* improved SecurityDescriptor (and related classes) reference counting
* NativeHandle now uses NtQuerySecurityObject/NtSetSecurityObject instead of GetSecurityInfo/SetSecurityInfo

git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1900 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-09-19 01:29:27 +00:00
wj32 fc9461df67 implemented VirtualMemoryAlloc.Free - forgot to implement it a while ago
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1899 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-09-18 22:42:00 +00:00
wj32 4abb473f0b username and privilege lookups are now done through the internal LSA API
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1894 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-09-18 07:43:43 +00:00
wj32 812bf5f300 * fixed relative start time sort order
* removed GetDateTimeFromLongTime; use DateTime.FromFileTime instead
* ProcessHandle.GetCreateTime and GetExitTime both return DateTimes now

git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1892 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-09-18 06:34:45 +00:00
wj32 8c91232567 * almost completed LSA classes (still need a LsaSecretHandle class)
* due to the new LSA classes, the Run As window displays users without being UAC elevated

git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1890 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-09-17 09:06:55 +00:00
wj32 6d6e84f7fc added all LSA access masks; preparing for LSA API
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1888 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-09-15 09:39:45 +00:00
wj32 387df6bacd * added constructors for NamedPipeHandle and MailslotHandle
* added mount point manager code
* added RTL bitmap wrapper

git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1887 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-09-15 08:18:08 +00:00
wj32 0ac119cdc7 * added byte-array-based async I/O methods
* added async named pipe transceive

git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1885 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-09-14 09:51:22 +00:00
wj32 10ecc44fd2 * numerous additions and improvements to FileHandle and NamedPipeHandle
* added parent support for MemoryRegion
* added PinnedObject

git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1884 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-09-14 08:28:13 +00:00
wj32 8e370f1a81 improved async I/O status
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1882 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-09-13 07:05:27 +00:00
wj32 413d8a19f1 completely new IoStatusBlock implementation for faster completion testing
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1881 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-09-13 03:40:07 +00:00
wj32 47732c9e2e fixed Assistant on XP by using a proper share mode
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1880 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-09-13 03:14:25 +00:00
wj32 6395a2c540 added pipe information methods
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1878 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-09-13 02:45:30 +00:00
wj32 e646a48431 fixed I/O cancellation
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1877 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-09-13 02:13:33 +00:00
wj32 caad4c36f9 added stream enumeration and more file-related NT functions
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1876 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-09-13 01:52:25 +00:00
wj32 24b536cdc7 * improved DirectoryHandle object enumeration
* fixed FileHandle Pending operations
* NamedPipeHandle and MailslotHandle are now Native API based
* added FsControl and IoControl implementations which don't throw exceptions

git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1875 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-09-13 00:10:38 +00:00
wj32 9e9f334165 added FsControl and Flush
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1874 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-09-12 07:58:29 +00:00
wj32 1f7cfa886b * added BeginIoControl
* removed dummy pointers from IoControl

git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1873 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-09-12 05:03:53 +00:00
wj32 fd082e7a9f improved async I/O
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1871 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-09-12 02:34:48 +00:00
wj32 621fee758a * switched to native I/O functions
* added some support for asynchronous I/O

git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1870 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-09-12 02:08:20 +00:00
wj32 98b10c3d92 added directory-related definitions
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1868 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-09-11 08:13:54 +00:00
wj32 7fff6bc525 * added mutant owner information
* viewing System properties no longer prompts for elevation

git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1865 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-09-11 07:16:47 +00:00
wj32 81c9935686 * Assistant now sends error codes back to Process Hacker, providing useful error messages
* added MailslotHandle

git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1860 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-09-07 08:36:15 +00:00
wj32 d19ed4588c reduced usage of StringBuilder to reduce heap allocations
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1853 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-09-05 09:48:12 +00:00
wj32 25790c5226 fixed compiler warnings
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1850 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-09-05 06:06:44 +00:00
wj32 43c274a967 added new IPC mechanism: IpcCircularBuffer
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1845 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-09-05 00:23:41 +00:00
wj32 005db7de7d added GetVolumeFsName to FileHandle
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1795 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-08-31 08:41:20 +00:00
wj32 46fa9747ec performance tweaks
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1735 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-08-22 11:12:09 +00:00
wj32 af15d2caf2 * vastly improved kernel module information
* added KTM resource manager object information

git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1731 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-08-22 05:18:27 +00:00
wj32 3d66fbdecb * bump to 1.5
* fixed linked token display on x64

git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1723 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-08-20 08:40:27 +00:00
wj32 769fb8f12f * fixed copyright notices
* free list is now lock-free

git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1717 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-08-16 00:36:36 +00:00
wj32 a15cc0cb3d fixed some LPC functions
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1705 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-08-14 08:38:37 +00:00
wj32 be022d5ce2 x64: fixed POSIX process detection
x64: added highlighting for WOW64 processes
x64: added display of 32-bit modules in WOW64 processes
x64: fixed symbols for WOW64 processes
x64: stack traces for WOW64 processes now include the 64-bit stack

git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1701 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-08-12 10:35:13 +00:00