|
These dll's are supplied 'as is'. We do not supply
support for them other than bug fixing.
If you enjoy the great and rich functionality they
provide, and incorporate them into and products which
you then go on to sell, we would appreciate the credits.
Process
Manager - This is our core dll. It provides most
of the functionality you would require to get access
to account privileges on NT, terminate processes, modify
behavior of currently running processes. Most of the
applications downloadable from this site, use the windows
functions available via this dll. So if you like the
apps, and you want to steal some of the functionality
for your own app, this is where to start.
Although I'm sure most people who are looking for dll's
will know how to enumerate the function list, here is
a brief list of functions, their purpose, and their
arguments.
If I feel generous and have the time I may post a test
application with source that demonstrates each function.
Terminate (PID as long, {Optional hWnd as long})
This function will forcibly terminate an application
or process with either its Process ID, or hWnd.
ChangeState (WinTitle as string, StateCode as int)
This function will change the current state of an application.
an example of the state codes are as follows ...
1 = minimize, 2 = maximize, 3 = hide, 4 = close, 5 =
hide, 6 = Send to Back, 7 = bring to front 8 flash,
9 = Set Focus, 10 = Force Close, 11 = Enable, 12 = Disable,
14 find only, 15 = return path and file name, 19 = LockWindowUpdate,
20 = UnLockWindowUpdate
AllowPrivilege(HANDLE hProcess, const char *PrivName,
bool Allow)
This function will set a privilige to a given process.
For example, if your process as debug privileges it
can terminate any other process. Here are all the currently
support priviliges
SE_CREATE_TOKEN_NAME Text to pass into function("SeCreateTokenPrivilege")
SE_ASSIGNPRIMARYTOKEN_NAME Text to pass into function("SeAssignPrimaryTokenPrivilege")
SE_LOCK_MEMORY_NAME Text to pass into function("SeLockMemoryPrivilege")
SE_INCREASE_QUOTA_NAME Text to pass into function("SeIncreaseQuotaPrivilege")
SE_UNSOLICITED_INPUT_NAME Text to pass into function("SeUnsolicitedInputPrivilege")
SE_MACHINE_ACCOUNT_NAME Text to pass into function("SeMachineAccountPrivilege")
SE_TCB_NAME Text to pass into function("SeTcbPrivilege")
SE_SECURITY_NAME Text to pass into function("SeSecurityPrivilege")
SE_TAKE_OWNERSHIP_NAME Text to pass into function("SeTakeOwnershipPrivilege")
SE_LOAD_DRIVER_NAME Text to pass into function("SeLoadDriverPrivilege")
SE_SYSTEM_PROFILE_NAME Text to pass into function("SeSystemProfilePrivilege")
SE_SYSTEMTIME_NAME Text to pass into function("SeSystemtimePrivilege")
SE_PROF_SINGLE_PROCESS_NAME Text to pass into function("SeProfileSingleProcessPrivilege")
SE_INC_BASE_PRIORITY_NAME Text to pass into function("SeIncreaseBasePriorityPrivilege")
SE_CREATE_PAGEFILE_NAME Text to pass into function("SeCreatePagefilePrivilege")
SE_CREATE_PERMANENT_NAME Text to pass into function("SeCreatePermanentPrivilege")
SE_BACKUP_NAME Text to pass into function("SeBackupPrivilege")
SE_RESTORE_NAME Text to pass into function("SeRestorePrivilege")
SE_SHUTDOWN_NAME Text to pass into function("SeShutdownPrivilege")
SE_DEBUG_NAME Text to pass into function("SeDebugPrivilege")
SE_AUDIT_NAME Text to pass into function("SeAuditPrivilege")
SE_SYSTEM_ENVIRONMENT_NAME Text to pass into function("SeSystemEnvironmentPrivilege")
SE_CHANGE_NOTIFY_NAME Text to pass into function("SeChangeNotifyPrivilege")
SE_REMOTE_SHUTDOWN_NAME Text to pass into function("SeRemoteShutdownPrivilege")
SE_UNDOCK_NAME Text to pass into function("SeUndockPrivilege")
SE_SYNC_AGENT_NAME Text to pass into function("SeSyncAgentPrivilege")
SE_ENABLE_DELEGATION_NAME Text to pass into function("SeEnableDelegationPrivilege")
© 2002 Security Software
|