Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/aitjcize/Overlord
/ functions
Functions
651 in github.com/aitjcize/Overlord
⨍
Functions
651
◇
Types & classes
82
↓ 3 callers
Function
getRequestIP
(r *http.Request)
overlord/auth.go:315
↓ 3 callers
Function
newWebsocketContext
newWebsocketContext create webSocketContext object.
overlord/overlord.go:111
↓ 2 callers
Method
CheckConnection
(self)
py/ovl.py:1174
↓ 2 callers
Method
CloseSockets
(self)
py/ghost.py:436
↓ 2 callers
Method
Exec
(self, command=None)
py/ovl.py:1644
↓ 2 callers
Method
FromDict
(kw)
py/ovl.py:375
↓ 2 callers
Function
GetFileSha1
GetFileSha1 return the sha1sum of a file.
overlord/utils.go:33
↓ 2 callers
Function
GetMachineID
GetMachineID generates machine-dependent ID string for a machine. There are many ways to generate a machine ID: 1. /sys/class/dmi/id/product_uuid (onl
overlord/sysutils_linux.go:57
↓ 2 callers
Method
GetMachineID
Generates machine-dependent ID string for a machine. There are many ways to generate a machine ID: Linux: 1. factory device_id 2.
py/ghost.py:528
↓ 2 callers
Method
GetPid
(self)
py/ovl.py:436
↓ 2 callers
Function
GetProcessWorkingDirectory
GetProcessWorkingDirectory returns the current working directory of a process.
overlord/sysutils_linux.go:95
↓ 2 callers
Method
GetStatus
(self)
py/ghost.py:1335
↓ 2 callers
Function
GetVersionDigest
Return the sha1sum of the current executing script.
py/ovl.py:101
↓ 2 callers
Function
GetenvInt
GetenvInt parse an integer from environment variable, and return default value when error.
overlord/utils.go:69
↓ 2 callers
Function
JWTAuthHeader
Return HTTP JWT auth header.
py/ovl.py:217
↓ 2 callers
Method
KillSSHTunnel
(self)
py/ovl.py:1374
↓ 2 callers
Function
NewRPCCore
NewRPCCore creates the RPCCore object.
overlord/rpc.go:142
↓ 2 callers
Method
ParseRequests
ParseRequests parses a buffer from SpawnReaderRoutine into Request objects. The response message is automatically handled by the RPCCore by invoking t
overlord/rpc.go:260
↓ 2 callers
Method
RegenerateJWTSecret
RegenerateJWTSecret generates a new JWT secret and updates it in the database
overlord/db.go:97
↓ 2 callers
Method
Register
()
overlord/ghost.go:1580
↓ 2 callers
Method
Reset
Reset all states for a new connection.
overlord/ghost.go:1632
↓ 2 callers
Method
ScanForTimeoutRequests
Scans for pending requests which have timed out. If any timed-out requests are discovered, their handler is called with the special response
py/ghost.py:1185
↓ 2 callers
Method
SelectClient
(self, args=None, store=True)
py/ovl.py:1463
↓ 2 callers
Method
SendMessage
SendMessage sends a message.
overlord/rpc.go:152
↓ 2 callers
Method
SpawnReaderRoutine
SpawnReaderRoutine spawnes a goroutine that actively read from the socket. This function returns two channels. The first one is the channel that send
overlord/rpc.go:202
↓ 2 callers
Method
Start
(self, lan_disc=False, rpc_server=False)
py/ghost.py:1419
↓ 2 callers
Method
State
(self)
py/ovl.py:430
↓ 2 callers
Method
StopConn
StopConn stops the connection and terminates the reader goroutine.
overlord/rpc.go:220
↓ 2 callers
Method
TLSEnabled
Determine if TLS is enabled on given server address.
py/ghost.py:299
↓ 2 callers
Method
Upgrade
(self)
py/ghost.py:321
↓ 2 callers
Method
WaitReady
(self, timeout=10)
py/ovl.py:791
↓ 2 callers
Method
_AdminAddUserToGroup
Add a user to a group.
py/ovl.py:2304
↓ 2 callers
Method
_CalculateSize
(self)
py/ovl.py:252
↓ 2 callers
Method
_FilterClients
(self, clients, prop_filters, mid=None)
py/ovl.py:1404
↓ 2 callers
Method
_Fstat
Get file or directory status using the Overlord API. Args: path: The path to get status for. Returns: A dictionary containing fi
py/ovl.py:1749
↓ 2 callers
Method
_GetJSON
(self, url)
py/ovl.py:439
↓ 2 callers
Method
_PushSingle
(self, src, dst)
py/ovl.py:1894
↓ 2 callers
Method
_ShellSockPath
(self, mid)
py/ovl.py:1530
↓ 2 callers
Method
_build_file_entries
Helper to build FileEntry objects from pseudo file system structure.
py/ovl_unittest.py:63
↓ 2 callers
Function
addRecord
(record)
apps/dashboard/src/stores/uploadProgressStore.js:15
↓ 2 callers
Function
checkDatabaseInitialized
(dbPath string)
cmd/overlordd/main.go:105
↓ 2 callers
Method
forwardLogcatOutput
ModeForward the logcat output to WebSocket.
overlord/conn_server.go:185
↓ 2 callers
Function
getClientTerminals
(clientMid)
apps/dashboard/src/stores/terminalStore.js:18
↓ 2 callers
Function
getCurrentUserHomeDir
getCurrentUserHomeDir gets the home directory for the current user on Linux
overlord/sysutils_linux.go:114
↓ 2 callers
Function
getNextZIndex
()
apps/dashboard/src/stores/terminalStore.js:186
↓ 2 callers
Function
getServiceCommand
getServiceCommand constructs the command line arguments for the service by filtering out the --install flag from os.Args
overlord/utils.go:164
↓ 2 callers
Function
getUserShell
getUserShell returns the user's current shell, with fallback to /bin/bash
overlord/utils.go:152
↓ 2 callers
Method
getWebRoot
getWebRoot returns the absolute path to the webroot directory.
overlord/overlord.go:392
↓ 2 callers
Function
installBinaryToUserLocal
installBinaryToUserLocal installs the ghost binary to ~/.local/bin
overlord/utils.go:107
↓ 2 callers
Function
isGhostRunning
isGhostRunning checks if ghost is running by calling the RPC GetStatus method
overlord/utils.go:92
↓ 2 callers
Function
removeRecord
(id)
apps/dashboard/src/stores/uploadProgressStore.js:20
↓ 2 callers
Method
serveFileHTTP
Helper function for serving file and write it into response body.
overlord/overlord.go:661
↓ 2 callers
Function
setVhVariable
()
apps/dashboard/src/main.js:13
↓ 2 callers
Method
spawnAgentCommand
spawnAgentCommand is a helper function to eliminate duplicate code between terminal and shell handlers
overlord/overlord.go:571
↓ 2 callers
Method
tlsEnabled
(addr string)
overlord/ghost.go:371
↓ 2 callers
Function
usage
()
cmd/overlordd/main.go:43
↓ 2 callers
Method
writeLogToWS
writeWebsocket is a helper function for written text to websocket in the correct format.
overlord/conn_server.go:125
↓ 1 callers
Method
AddForward
(self, mid, remote, local, pid)
py/ovl.py:572
↓ 1 callers
Method
AddToDownloadQueue
(self, ttyname, filename)
py/ghost.py:1342
↓ 1 callers
Method
AddToDownloadQueue
AddToDownloadQueue adds a downloadInfo to the download queue
overlord/ghost.go:1743
↓ 1 callers
Method
Admin
Manage users and groups using the Overlord API.
py/ovl.py:2168
↓ 1 callers
Method
Authenticate
Authenticate authenticates a user with the provided username and password
overlord/auth.go:91
↓ 1 callers
Method
CheckDaemon
(self)
py/ovl.py:1118
↓ 1 callers
Method
ClearRequests
ClearRequests clear all the requests.
overlord/rpc.go:322
↓ 1 callers
Method
CloseWrite
()
overlord/conn_server.go:22
↓ 1 callers
Method
Connect
(self, args)
py/ovl.py:1286
↓ 1 callers
Method
CreateSymlink
CreateSymlink handles a request to create a symlink.
overlord/conn_server.go:533
↓ 1 callers
Function
DownloadFile
Initiate a client-initiated file download.
py/ghost.py:1477
↓ 1 callers
Function
DownloadFile
DownloadFile adds a file to the download queue, which would be pickup by the ghost control channel instance and perform download.
overlord/ghost.go:1939
↓ 1 callers
Function
ForkToBackground
Fork process to run in background.
py/ghost.py:1469
↓ 1 callers
Method
Forward
(self, args)
py/ovl.py:2009
↓ 1 callers
Method
Fstat
Fstat handles a request to get the stat of a file.
overlord/conn_server.go:523
↓ 1 callers
Method
GetCurrentUser
Gets the current user's username.
py/ghost.py:432
↓ 1 callers
Method
GetFileSha1
(self, filename)
py/ghost.py:295
↓ 1 callers
Function
GetGateWayIP
GetGateWayIP return the IPs of the gateways.
overlord/sysutils_linux.go:20
↓ 1 callers
Function
GetIPs
Prepare interface IPs required for the RelayOverlordDiscoveryPacket function. Returns: A tuple where the first element is a list of IPs for *
py/relay_overlord_discovery_packet.py:28
↓ 1 callers
Method
GetJWTToken
Get JWT token from server. Returns: JWT token string or None if authentication fails.
py/ovl.py:489
↓ 1 callers
Function
GetPlatformString
GetPlatformString returns machine platform string. Platform stream has the format of GOOS.GOARCH
overlord/utils.go:28
↓ 1 callers
Method
GetProcessWorkingDirectory
(self, pid)
py/ghost.py:585
↓ 1 callers
Method
GetSSHControlFile
(self, host)
py/ovl.py:1133
↓ 1 callers
Function
GetTLSCertificateSHA1Fingerprint
(cert_pem)
py/ovl.py:160
↓ 1 callers
Method
HandleCreateSymlinkRequest
Handle create_symlink request.
py/ghost.py:1077
↓ 1 callers
Method
HandleFileDownloadRequest
(self, msg)
py/ghost.py:1013
↓ 1 callers
Method
HandleFileUploadRequest
(self, msg)
py/ghost.py:1029
↓ 1 callers
Method
HandleFstatRequest
Handle a request to get file/directory status. Args: msg: The request message.
py/ghost.py:994
↓ 1 callers
Method
HandleListTreeRequest
Handle a request to list directory contents recursively.
py/ghost.py:959
↓ 1 callers
Method
HandleMkdirRequest
Handle mkdir request.
py/ghost.py:1097
↓ 1 callers
Method
HandleRequest
Handle request from overlord.
py/ghost.py:1110
↓ 1 callers
Method
HandleResizeSequence
Handle terminal resize sequence. Args: fd: File descriptor of the terminal rows: Number of rows cols: Number of columns
py/ghost.py:639
↓ 1 callers
Method
HandleResponse
(self, response)
py/ghost.py:1146
↓ 1 callers
Method
InitiateDownload
(self)
py/ghost.py:1200
↓ 1 callers
Method
InitiateDownload
InitiateDownload initiates a client-initiated download request.
overlord/ghost.go:1613
↓ 1 callers
Function
Install
Install installs and configures the ghost service for automatic startup on Linux
overlord/sysutils_linux.go:159
↓ 1 callers
Method
IsBlocked
IsBlocked returns true if the given IP is blocked.
overlord/auth.go:253
↓ 1 callers
Method
KillServer
(self)
py/ovl.py:1361
↓ 1 callers
Method
ListClients
(self, args)
py/ovl.py:1443
↓ 1 callers
Method
ListTree
ListTree returns a recursive list of all files and directories under the given path
overlord/ghost.go:1748
↓ 1 callers
Method
ListTree
ListTree handles a request to list directory contents recursively
overlord/conn_server.go:512
↓ 1 callers
Method
Listen
(self)
py/ghost.py:1205
↓ 1 callers
Method
Listen
()
overlord/ghost.go:1692
← previous
next →
101–200 of 651, ranked by callers