Debugging API wrappers in ctypes.
|
OpenProcessToken(ProcessHandle,
DesiredAccess) |
source code
|
|
|
OpenThreadToken(ThreadHandle,
DesiredAccess,
OpenAsSelf=True) |
source code
|
|
|
LookupPrivilegeValueA(lpSystemName,
lpName) |
source code
|
|
|
LookupPrivilegeValueW(lpSystemName,
lpName) |
source code
|
|
|
|
|
|
|
AdjustTokenPrivileges(TokenHandle,
NewState=( ) ) |
source code
|
|
|
CreateProcessWithLogonW(lpUsername=None,
lpDomain=None,
lpPassword=None,
dwLogonFlags=0,
lpApplicationName=None,
lpCommandLine=None,
dwCreationFlags=0,
lpEnvironment=None,
lpCurrentDirectory=None,
lpStartupInfo=None) |
source code
|
|
|
CreateProcessWithTokenW(hToken=None,
dwLogonFlags=0,
lpApplicationName=None,
lpCommandLine=None,
dwCreationFlags=0,
lpEnvironment=None,
lpCurrentDirectory=None,
lpStartupInfo=None) |
source code
|
|
|
OpenThreadWaitChainSession(Flags=0,
callback=None) |
source code
|
|
|
GetThreadWaitChain(WctHandle,
Context,
Flags,
ThreadId) |
source code
|
|
|
|
|
__revision__ = ' $Id: advapi32.py 492 2009-12-01 03:18:32Z qvas ...
|
|
SE_CREATE_TOKEN_NAME = ' SeCreateTokenPrivilege '
|
|
SE_ASSIGNPRIMARYTOKEN_NAME = ' SeAssignPrimaryTokenPrivilege '
|
|
SE_LOCK_MEMORY_NAME = ' SeLockMemoryPrivilege '
|
|
SE_INCREASE_QUOTA_NAME = ' SeIncreaseQuotaPrivilege '
|
|
SE_UNSOLICITED_INPUT_NAME = ' SeUnsolicitedInputPrivilege '
|
|
SE_MACHINE_ACCOUNT_NAME = ' SeMachineAccountPrivilege '
|
|
SE_TCB_NAME = ' SeTcbPrivilege '
|
|
SE_SECURITY_NAME = ' SeSecurityPrivilege '
|
|
SE_TAKE_OWNERSHIP_NAME = ' SeTakeOwnershipPrivilege '
|
|
SE_LOAD_DRIVER_NAME = ' SeLoadDriverPrivilege '
|
|
SE_SYSTEM_PROFILE_NAME = ' SeSystemProfilePrivilege '
|
|
SE_SYSTEMTIME_NAME = ' SeSystemtimePrivilege '
|
|
SE_PROF_SINGLE_PROCESS_NAME = ' SeProfileSingleProcessPrivilege '
|
|
SE_INC_BASE_PRIORITY_NAME = ' SeIncreaseBasePriorityPrivilege '
|
|
SE_CREATE_PAGEFILE_NAME = ' SeCreatePagefilePrivilege '
|
|
SE_CREATE_PERMANENT_NAME = ' SeCreatePermanentPrivilege '
|
|
SE_BACKUP_NAME = ' SeBackupPrivilege '
|
|
SE_RESTORE_NAME = ' SeRestorePrivilege '
|
|
SE_SHUTDOWN_NAME = ' SeShutdownPrivilege '
|
|
SE_DEBUG_NAME = ' SeDebugPrivilege '
|
|
SE_AUDIT_NAME = ' SeAuditPrivilege '
|
|
SE_SYSTEM_ENVIRONMENT_NAME = ' SeSystemEnvironmentPrivilege '
|
|
SE_CHANGE_NOTIFY_NAME = ' SeChangeNotifyPrivilege '
|
|
SE_REMOTE_SHUTDOWN_NAME = ' SeRemoteShutdownPrivilege '
|
|
SE_UNDOCK_NAME = ' SeUndockPrivilege '
|
|
SE_SYNC_AGENT_NAME = ' SeSyncAgentPrivilege '
|
|
SE_ENABLE_DELEGATION_NAME = ' SeEnableDelegationPrivilege '
|
|
SE_MANAGE_VOLUME_NAME = ' SeManageVolumePrivilege '
|
|
SE_IMPERSONATE_NAME = ' SeImpersonatePrivilege '
|
|
SE_CREATE_GLOBAL_NAME = ' SeCreateGlobalPrivilege '
|
|
SE_PRIVILEGE_ENABLED_BY_DEFAULT = 1
|
|
SE_PRIVILEGE_ENABLED = 2
|
|
SE_PRIVILEGE_REMOVED = 4
|
|
SE_PRIVILEGE_USED_FOR_ACCESS = 2147483648
|
|
TOKEN_ADJUST_PRIVILEGES = 32
|
|
LOGON_WITH_PROFILE = 1
|
|
LOGON_NETCREDENTIALS_ONLY = 2
|
|
WCT_MAX_NODE_COUNT = 16
|
|
WCT_OBJNAME_LENGTH = 128
|
|
WCT_ASYNC_OPEN_FLAG = 1
|
|
WCTP_OPEN_ALL_FLAGS = 1
|
|
WCT_OUT_OF_PROC_FLAG = 1
|
|
WCT_OUT_OF_PROC_COM_FLAG = 2
|
|
WCT_OUT_OF_PROC_CS_FLAG = 4
|
|
WCTP_GETINFO_ALL_FLAGS = 7
|
|
WctCriticalSectionType = 1
|
|
WctSendMessageType = 2
|
|
WctMutexType = 3
|
|
WctAlpcType = 4
|
|
WctComType = 5
|
|
WctThreadWaitType = 6
|
|
WctProcessWaitType = 7
|
|
WctThreadType = 8
|
|
WctComActivationType = 9
|
|
WctUnknownType = 10
|
|
WctMaxType = 11
|
|
WctStatusNoAccess = 1
|
|
WctStatusRunning = 2
|
|
WctStatusBlocked = 3
|
|
WctStatusPidOnly = 4
|
|
WctStatusPidOnlyRpcss = 5
|
|
WctStatusOwned = 6
|
|
WctStatusNotOwned = 7
|
|
WctStatusAbandoned = 8
|
|
WctStatusUnknown = 9
|
|
WctStatusError = 10
|
|
WctStatusMax = 11
|
|
LookupPrivilegeValue = GuessStringType(LookupPrivilegeValueA, ...
|
|
LookupPrivilegeName = GuessStringType(LookupPrivilegeNameA, Lo...
|
|
CreateProcessWithLogonA = <winappdbg.win32.defines.MakeANSIVer...
|
|
CreateProcessWithLogon = <winappdbg.win32.defines.MakeANSIVers...
|
|
CreateProcessWithTokenA = <winappdbg.win32.defines.MakeANSIVer...
|
|
CreateProcessWithToken = <winappdbg.win32.defines.MakeANSIVers...
|
|
__package__ = ' winappdbg.win32 '
|