SYMBOL INDEX (37 symbols across 1 files) FILE: main.go constant banner (line 15) | banner = ` type Luid (line 25) | type Luid struct type LuidAndAttributes (line 29) | type LuidAndAttributes struct type TokenPrivileges (line 34) | type TokenPrivileges struct constant TOKEN_QUERY (line 41) | TOKEN_QUERY = 0x0008 constant TOKEN_DUPLICATE (line 42) | TOKEN_DUPLICATE = 0x0002 constant TOKEN_ADJUST_PRIVILEGES (line 43) | TOKEN_ADJUST_PRIVILEGES = 0x0020 constant PROCESS_QUERY_INFORMATION (line 45) | PROCESS_QUERY_INFORMATION = 0x0400 constant PROCESS_QUERY_LIMITED_INFORMATION (line 46) | PROCESS_QUERY_LIMITED_INFORMATION = 0x1000 constant MAXIMUM_ALLOWED (line 48) | MAXIMUM_ALLOWED = 0x02000000 constant SecurityImpersonation (line 50) | SecurityImpersonation = 2 constant TokenPrimary (line 52) | TokenPrimary = 1 constant LOGON_WITH_PROFILE (line 54) | LOGON_WITH_PROFILE = 0x00000001 constant TH32CS_SNAPPROCESS (line 56) | TH32CS_SNAPPROCESS = 0x00000002 constant SE_PRIVILEGE_ENABLED_BY_DEFAULT (line 57) | SE_PRIVILEGE_ENABLED_BY_DEFAULT = 0x00000001 constant SE_PRIVILEGE_ENABLED (line 58) | SE_PRIVILEGE_ENABLED = 0x00000002 constant SE_PRIVILEGE_REMOVED (line 59) | SE_PRIVILEGE_REMOVED = 0x00000004 constant TokenElevation (line 60) | TokenElevation = 20 constant SECURITY_MANDATORY_SYSTEM_RID (line 61) | SECURITY_MANDATORY_SYSTEM_RID = 0x4000 constant PROCESS_ALL_ACCESS (line 62) | PROCESS_ALL_ACCESS = 0x1F0FFF function printBanner (line 97) | func printBanner() { function createProcessWithTokenW (line 101) | func createProcessWithTokenW(token windows.Token, logonFlags uint32, app... function enableSeDebugPrivilege (line 120) | func enableSeDebugPrivilege() error { function getPrivileges (line 161) | func getPrivileges(token windows.Token) { function getPrivilegeAttributesString (line 190) | func getPrivilegeAttributesString(attributes uint32) string { function getUserInfo (line 207) | func getUserInfo() (string, bool) { function getTokenUserInfo (line 228) | func getTokenUserInfo(token windows.Token) string { function isRealUser (line 245) | func isRealUser(username string) bool { type ProcessInfo (line 287) | type ProcessInfo struct function getAllProcesses (line 294) | func getAllProcesses() []ProcessInfo { function listProcesses (line 335) | func listProcesses() { function listUniqueTokens (line 355) | func listUniqueTokens() { function handleProcess (line 392) | func handleProcess(pid uint32) windows.Handle { function runAsToken (line 411) | func runAsToken(TokenHandle windows.Token, command *uint16) error { function tryDuplicateTokenForUser (line 437) | func tryDuplicateTokenForUser(targetUser, command string) { function tryDuplicateTokenForAllRealUsers (line 460) | func tryDuplicateTokenForAllRealUsers(command string) { function main (line 480) | func main() {