Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/0x1uke/lurker
/ functions
Functions
98 in github.com/0x1uke/lurker
⨍
Functions
98
◇
Types & classes
6
↓ 14 callers
Function
QueueResult
(packet []byte)
lurker/transports/transports.go:207
↓ 11 callers
Function
MakePacket
(replyType int, taskID [8]byte, b []byte)
lurker/transports/transports.go:126
↓ 10 callers
Function
BytesCombine
(pBytes ...[]byte)
lurker/utilities/utilities.go:7
↓ 9 callers
Function
ProcessErrorWithTaskID
(errStr string, taskID [8]byte)
lurker/commands/commands.go:267
↓ 9 callers
Function
WriteInt
(nInt int)
lurker/transports/transports.go:30
↓ 8 callers
Function
ReadInt
(b []byte)
lurker/transports/transports.go:36
↓ 3 callers
Function
HmacHash
(encrytedBytes []byte)
lurker/cryptography/aes.go:69
↓ 3 callers
Function
MakePacketPivot
MakePacketPivot builds a result packet without MSB flag or taskID — for SOCKS callbacks only
lurker/transports/transports.go:167
↓ 2 callers
Function
AesCBCEncrypt
(rawData, key []byte)
lurker/cryptography/aes.go:38
↓ 2 callers
Function
FlushResults
()
lurker/transports/transports.go:211
↓ 2 callers
Function
HttpGet
(url string, cookies string)
lurker/transports/http.go:78
↓ 2 callers
Function
ParseCommandUpload
(b []byte)
lurker/commands/commands.go:150
↓ 2 callers
Function
RandomInt
(min, max int64)
lurker/cryptography/rand.go:10
↓ 2 callers
Function
Upload
(filePath string, fileContent []byte)
lurker/commands/commands.go:162
↓ 2 callers
Function
arrayToString
(x [65]int8)
lurker/os/os_linux.go:13
↓ 2 callers
Function
getUname
()
lurker/os/os_linux.go:25
↓ 2 callers
Function
readLoop
(entry *conn)
lurker/pivot/pivot.go:171
↓ 2 callers
Function
validateTaskLayout
Parse the task buffer with a given headerLen
lurker/transports/transports.go:49
↓ 1 callers
Function
AesCBCDecrypt
(encryptData, key []byte)
lurker/cryptography/aes.go:51
↓ 1 callers
Function
ChangeCurrentDir
(path []byte, taskID [8]byte)
lurker/commands/commands.go:171
↓ 1 callers
Function
Close
(socketID uint32)
lurker/pivot/pivot.go:139
↓ 1 callers
Function
Connect
(socketID uint32, host string, port uint16)
lurker/pivot/pivot.go:36
↓ 1 callers
Function
DecryptPacket
(b []byte)
lurker/transports/transports.go:40
↓ 1 callers
Function
DetectTaskHeaderLen
Try new and older task formats and pray one works
lurker/transports/transports.go:75
↓ 1 callers
Function
EncryptedMetaInfo
()
lurker/transports/transports.go:225
↓ 1 callers
Function
File_Browse
(b []byte, taskID [8]byte)
lurker/commands/commands.go:187
↓ 1 callers
Function
GetCodePageANSI
()
lurker/os/os_windows.go:131
↓ 1 callers
Function
GetCodePageOEM
()
lurker/os/os_windows.go:143
↓ 1 callers
Function
GetComputerName
()
lurker/os/os.go:50
↓ 1 callers
Function
GetCurrentDirectory
(taskID [8]byte)
lurker/commands/commands.go:177
↓ 1 callers
Function
GetLocalIPInt
()
lurker/os/os.go:70
↓ 1 callers
Function
GetMagicHead
()
lurker/os/os.go:88
↓ 1 callers
Function
GetMetaDataFlag
()
lurker/os/os.go:36
↓ 1 callers
Function
GetOSVersion
()
lurker/os/os_windows.go:50
↓ 1 callers
Function
GetPID
()
lurker/os/os.go:32
↓ 1 callers
Function
GetProcessName
()
lurker/os/os.go:18
↓ 1 callers
Function
GetUsername
()
lurker/os/os_windows.go:120
↓ 1 callers
Function
HttpPost
(url string, clientID string, data []byte)
lurker/transports/http.go:52
↓ 1 callers
Function
InitialCallback
()
lurker/transports/transports.go:334
↓ 1 callers
Function
IsHighPriv
()
lurker/os/os_linux.go:43
↓ 1 callers
Function
IsOSX64
()
lurker/os/os_linux.go:47
↓ 1 callers
Function
IsProcessX64
()
lurker/os/os_linux.go:53
↓ 1 callers
Function
Listen
(socketID uint32, port uint16)
lurker/pivot/pivot.go:53
↓ 1 callers
Function
MakeMetaInfo
* MetaData for 4.1 Key(16) | Charset1(2) | Charset2(2) | ID(4) | PID(4) | Port(2) | Flag(1) | Ver1(1) | Ver2(1) | Build(2) | PTR(4) | PTR_GMH(4) |
lurker/transports/transports.go:243
↓ 1 callers
Function
PKCS7Pad
(data []byte, blockSize int)
lurker/cryptography/aes.go:16
↓ 1 callers
Function
PKCS7Unpad
(data []byte)
lurker/cryptography/aes.go:22
↓ 1 callers
Function
ParseCommandShell
(b []byte)
lurker/commands/commands.go:53
↓ 1 callers
Function
ParsePacket
(buf *bytes.Buffer, totalLen *uint32, taskHeaderLen int)
lurker/transports/transports.go:91
↓ 1 callers
Function
Poll
()
lurker/pivot/pivot.go:159
↓ 1 callers
Function
PullCommand
()
lurker/transports/transports.go:347
↓ 1 callers
Function
RandomAESKey
()
lurker/cryptography/rand.go:19
↓ 1 callers
Function
RsaEncrypt
(origData []byte)
lurker/cryptography/rsa.go:13
↓ 1 callers
Function
Run
Run executes a process directly without a shell wrapper. The command string is tokenized: first token is the executable (resolved via PATH), remaining
lurker/commands/commands.go:116
↓ 1 callers
Function
Send
(socketID uint32, data []byte)
lurker/pivot/pivot.go:90
↓ 1 callers
Function
SessionID
()
lurker/os/os.go:13
↓ 1 callers
Function
Shell
(path string, args []byte)
lurker/commands/commands.go:126
↓ 1 callers
Function
UDPAssociate
(socketID uint32)
lurker/pivot/pivot.go:106
↓ 1 callers
Function
UDPSend
(socketID uint32, host string, port uint16, data []byte)
lurker/pivot/pivot.go:120
↓ 1 callers
Function
WritePacketLen
(b []byte)
lurker/transports/transports.go:25
↓ 1 callers
Function
executeCommand
(cmdType uint32, cmdBuf []byte, taskID [8]byte)
main.go:161
↓ 1 callers
Function
processResponse
(resp *http.Response)
main.go:85
↓ 1 callers
Function
serviceDownload
serviceDownload reads one chunk from an active download and queues it
main.go:65
↓ 1 callers
Function
serviceSocks
()
main.go:142
↓ 1 callers
Function
sleepWithJitter
()
main.go:51
↓ 1 callers
Function
splitArgs
splitArgs splits a command string into tokens, respecting double-quoted and single-quoted substrings.
lurker/commands/commands.go:85
↓ 1 callers
Function
udpReadLoop
(entry *conn)
lurker/pivot/pivot.go:196
Function
DebugError
()
lurker/utilities/utilities.go:11
Function
GetCodePageANSI
()
lurker/os/os_solaris.go:26
Function
GetCodePageANSI
()
lurker/os/os_linux.go:57
Function
GetCodePageANSI
()
lurker/os/os_darwin.go:26
Function
GetCodePageANSI
()
lurker/os/os_freebsd.go:26
Function
GetCodePageOEM
()
lurker/os/os_solaris.go:32
Function
GetCodePageOEM
()
lurker/os/os_linux.go:63
Function
GetCodePageOEM
()
lurker/os/os_darwin.go:32
Function
GetCodePageOEM
()
lurker/os/os_freebsd.go:32
Function
GetOSVersion
()
lurker/os/os_solaris.go:10
Function
GetOSVersion
()
lurker/os/os_linux.go:34
Function
GetOSVersion
()
lurker/os/os_darwin.go:10
Function
GetOSVersion
()
lurker/os/os_freebsd.go:10
Function
GetUsername
()
lurker/os/os_solaris.go:38
Function
GetUsername
()
lurker/os/os_linux.go:69
Function
GetUsername
()
lurker/os/os_darwin.go:38
Function
GetUsername
()
lurker/os/os_freebsd.go:38
Function
IsHighPriv
()
lurker/os/os_windows.go:59
Function
IsHighPriv
()
lurker/os/os_solaris.go:14
Function
IsHighPriv
()
lurker/os/os_darwin.go:14
Function
IsHighPriv
()
lurker/os/os_freebsd.go:14
Function
IsOSX64
()
lurker/os/os_windows.go:81
Function
IsOSX64
()
lurker/os/os_solaris.go:18
Function
IsOSX64
()
lurker/os/os_darwin.go:18
Function
IsOSX64
()
lurker/os/os_freebsd.go:18
Function
IsProcessX64
()
lurker/os/os_windows.go:96
Function
IsProcessX64
()
lurker/os/os_solaris.go:22
Function
IsProcessX64
()
lurker/os/os_darwin.go:22
Function
IsProcessX64
()
lurker/os/os_freebsd.go:22
Function
RsaDecrypt
(origData []byte)
lurker/cryptography/rsa.go:27
Function
init
()
lurker/transports/http.go:20
Function
main
()
main.go:33