Package winappdbg :: Package win32 :: Module advapi32
[hide private]
[frames] | no frames]

Module advapi32

source code

Debugging API wrappers in ctypes.


See Also: http://apps.sourceforge.net/trac/winappdbg/wiki/Win32APIWrappers

Classes [hide private]
  LUID
  PLUID
  LUID_AND_ATTRIBUTES
  TOKEN_PRIVILEGES
  PTOKEN_PRIVILEGES
  _WAITCHAIN_NODE_INFO_STRUCT_1
  _WAITCHAIN_NODE_INFO_STRUCT_2
  _WAITCHAIN_NODE_INFO_UNION
  WAITCHAIN_NODE_INFO
  PWAITCHAIN_NODE_INFO
Functions [hide private]
 
OpenProcessToken(ProcessHandle, DesiredAccess) source code
 
OpenThreadToken(ThreadHandle, DesiredAccess, OpenAsSelf=True) source code
 
LookupPrivilegeValueA(lpSystemName, lpName) source code
 
LookupPrivilegeValueW(lpSystemName, lpName) source code
 
LookupPrivilegeNameA(lpSystemName, lpLuid) source code
 
LookupPrivilegeNameW(lpSystemName, lpLuid) 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
 
CloseThreadWaitChainSession(WctHandle) source code
Variables [hide private]
  __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'
Variables Details [hide private]

__revision__

Value:
'$Id: advapi32.py 492 2009-12-01 03:18:32Z qvasimodo $'

LookupPrivilegeValue

Value:
GuessStringType(LookupPrivilegeValueA, LookupPrivilegeValueW)

LookupPrivilegeName

Value:
GuessStringType(LookupPrivilegeNameA, LookupPrivilegeNameW)

CreateProcessWithLogonA

Value:
<winappdbg.win32.defines.MakeANSIVersion object at 0x00E8D610>

CreateProcessWithLogon

Value:
<winappdbg.win32.defines.MakeANSIVersion object at 0x00E8D610>

CreateProcessWithTokenA

Value:
<winappdbg.win32.defines.MakeANSIVersion object at 0x00E8D630>

CreateProcessWithToken

Value:
<winappdbg.win32.defines.MakeANSIVersion object at 0x00E8D630>