MCPcopy Create free account

hub / github.com/aitjcize/Overlord / functions

Functions651 in github.com/aitjcize/Overlord

↓ 1 callersMethodListen
()
overlord/conn_server.go:316
↓ 1 callersMethodLoadProperties
Load properties from file and always set the allowlist.
py/ghost.py:400
↓ 1 callersMethodMain
(self)
py/ovl.py:984
↓ 1 callersMethodMkdir
Mkdir handles a request to create a directory.
overlord/conn_server.go:544
↓ 1 callersFunctionNewConnServer
NewConnServer create a ConnServer object.
overlord/conn_server.go:80
↓ 1 callersFunctionNewJWTAuth
NewJWTAuth creates a new JWTAuth instance
overlord/auth.go:71
↓ 1 callersFunctionNewOverlord
NewOverlord creates an Overlord object.
overlord/overlord.go:164
↓ 1 callersFunctionNewPollableProcess
NewPollableProcess creates a new PollableProcess from an os.Process.
overlord/utils.go:48
↓ 1 callersMethodParseMessage
(self, buf, single=True)
py/ghost.py:1156
↓ 1 callersMethodParseMessage
ParseMessage parses a single JSON string into a Message object.
overlord/rpc.go:238
↓ 1 callersMethodPing
(self)
py/ghost.py:930
↓ 1 callersMethodPing
(self)
py/ovl.py:433
↓ 1 callersMethodPing
Ping sends a ping message to the overlord server.
overlord/ghost.go:982
↓ 1 callersMethodPoll
Poll polls the process for it's execution status.
overlord/utils.go:58
↓ 1 callersMethodReconnect
(self)
py/ghost.py:1331
↓ 1 callersMethodRegister
(self)
py/ghost.py:1242
↓ 1 callersMethodRegisterDownloadRequest
RegisterDownloadRequest registers a file download request.
overlord/overlord.go:333
↓ 1 callersMethodRegisterSession
(self, session_id, process_id)
py/ghost.py:1348
↓ 1 callersMethodRegisterSession
RegisterSession register the PID to a session.
overlord/ghost.go:1734
↓ 1 callersMethodRegisterTTY
(self, session_id, ttyname)
py/ghost.py:1345
↓ 1 callersMethodRegisterTTY
RegisterTTY register the TTY to a session.
overlord/ghost.go:1729
↓ 1 callersMethodRegisterUploadRequest
RegisterUploadRequest registers a file upload request.
overlord/overlord.go:343
↓ 1 callersMethodRemoveAllForward
(self)
py/ovl.py:583
↓ 1 callersMethodRemoveForward
(self, local_port)
py/ovl.py:575
↓ 1 callersMethodResetFailCount
ResetFailCount resets the fail count for the given IP.
overlord/auth.go:278
↓ 1 callersMethodRunCommand
Run `cmd` on the remote shell, streaming bytes to `writer`. Returns the command's exit code, or -1 if the shell died.
py/ovl.py:795
↓ 1 callersMethodSSHTunnel
SSH forward the remote overlord server. Overlord server may not have port 9000 open to the public network, in such case we can SSH forward th
py/ovl.py:1136
↓ 1 callersMethodScanForTimeoutRequests
ScanForTimeoutRequests scans for timeout requests.
overlord/rpc.go:304
↓ 1 callersMethodScanGateway
ScanGateway scans current network gateway and add it into addrs if not already exist.
overlord/ghost.go:1875
↓ 1 callersMethodScanServer
(self)
py/ghost.py:1409
↓ 1 callersMethodSendClearToDownload
SendClearToDownload sends "clear_to_download" request to client to start downloading.
overlord/conn_server.go:581
↓ 1 callersMethodSendUpgradeRequest
SendUpgradeRequest sends upgrade request to clients to trigger an upgrade.
overlord/conn_server.go:455
↓ 1 callersMethodServ
Serv is the main routine for starting all the overlord sub-server.
overlord/overlord.go:1320
↓ 1 callersMethodServHTTP
ServHTTP is the Web server main routine.
overlord/overlord.go:1225
↓ 1 callersMethodSetEnabled
(self, enabled)
py/ghost.py:163
↓ 1 callersMethodSetEnabled
(enabled bool)
overlord/ghost.go:175
↓ 1 callersMethodSetForwardTarget
SetForwardTarget sets the host and port to forward.
overlord/ghost.go:302
↓ 1 callersMethodSetInitialSize
SetInitialSize sets the initial terminal dimensions for PTY creation.
overlord/ghost.go:281
↓ 1 callersMethodSetPropFile
SetPropFile sets the property file filename.
overlord/ghost.go:269
↓ 1 callersMethodSetShellCommand
SetShellCommand sets the shell comamnd to execute.
overlord/ghost.go:288
↓ 1 callersMethodSetTLSMode
SetTLSMode sets the mode of tls detection.
overlord/ghost.go:309
↓ 1 callersMethodSetTerminalSid
SetTerminalSid sets the terminal session ID for the Ghost instance.
overlord/ghost.go:263
↓ 1 callersMethodSetTtyDevice
SetTtyDevice sets the TTY device name to open.
overlord/ghost.go:275
↓ 1 callersMethodShell
(self, command=None)
py/ovl.py:1500
↓ 1 callersMethodShellPersistent
Run a persistent shell daemon and listen on a Unix socket. `ovl exec <cmd>` (or any other consumer) connects to the socket and streams comman
py/ovl.py:1534
↓ 1 callersMethodSpawnFileServer
SpawnFileServer Spawn a remote file connection (a ghost with mode ModeFile). action is either 'download' or 'upload'. sid is used for uploading file,
overlord/conn_server.go:558
↓ 1 callersMethodSpawnModeForwarder
SpawnModeForwarder spawns a forwarder connection (a ghost with mode ModeForward). sid is the session ID, which will be used as the session ID of the n
overlord/conn_server.go:592
↓ 1 callersMethodSpawnShell
SpawnShell spawns a shell command connection (a ghost with mode ModeShell). sid is the session ID, which will be used as the session ID of the new gho
overlord/conn_server.go:503
↓ 1 callersMethodSpawnTerminal
SpawnTerminal spawns a terminal connection (a ghost with mode ModeTerminal). sid is the session ID, which will be used as the session ID of the new gh
overlord/conn_server.go:481
↓ 1 callersMethodStart
(self)
py/ovl.py:391
↓ 1 callersFunctionStartCaptureProcess
Start the video capture process. Start ffmpeg for encoding video with v3l2 than output to the web server located at localhost:_SERVER_PORT Ret
py/stream_camera.py:46
↓ 1 callersMethodStartDownloadServer
(self)
py/ghost.py:842
↓ 1 callersMethodStartDownloadServer
StartDownloadServer starts the download server.
overlord/ghost.go:812
↓ 1 callersFunctionStartGhost
StartGhost starts the Ghost client.
overlord/ghost.go:1983
↓ 1 callersMethodStartLanDiscovery
Start to listen to LAN discovery packet at _OVERLORD_LAN_DISCOVERY_PORT.
py/ghost.py:1351
↓ 1 callersMethodStartLanDiscovery
StartLanDiscovery starts listening to LAN discovery message.
overlord/ghost.go:1778
↓ 1 callersFunctionStartOverlord
StartOverlord starts the overlord server.
overlord/overlord.go:1431
↓ 1 callersMethodStartRPCServer
(self)
py/ghost.py:1395
↓ 1 callersMethodStartRPCServer
(self)
py/ovl.py:394
↓ 1 callersMethodStartRPCServer
StartRPCServer starts a local RPC server used for communication between ghost instances.
overlord/ghost.go:1858
↓ 1 callersMethodStartUDPBroadcast
StartUDPBroadcast is the main routine for broadcasting LAN discovery message.
overlord/overlord.go:1256
↓ 1 callersMethodStartUploadServer
(self)
py/ghost.py:860
↓ 1 callersMethodStartUploadServer
StartUploadServer starts the upload server.
overlord/ghost.go:835
↓ 1 callersMethodStatus
(self)
py/ovl.py:1216
↓ 1 callersMethodTerminate
Terminate terminats the connection and perform cleanup.
overlord/conn_server.go:110
↓ 1 callersFunctionToVTNewLine
ToVTNewLine replace the newline character to VT100 newline control.
overlord/utils.go:22
↓ 1 callersFunctionTtyname
Ttyname returns the TTY name of a given file descriptor.
overlord/sysutils_linux.go:100
↓ 1 callersMethodUnregister
Unregister a client.
overlord/overlord.go:277
↓ 1 callersMethodVerifyToken
VerifyToken verifies a JWT token and returns the claims
overlord/auth.go:158
↓ 1 callersFunctionWithAuthClaims
WithAuthClaims adds JWT claims to the context
overlord/auth.go:233
↓ 1 callersMethod_AdminAddGroup
Add a new group.
py/ovl.py:2293
↓ 1 callersMethod_AdminAddUser
Add a new user.
py/ovl.py:2257
↓ 1 callersMethod_AdminChangePassword
Change a user's password.
py/ovl.py:2272
↓ 1 callersMethod_AdminDelGroup
Delete a group.
py/ovl.py:2299
↓ 1 callersMethod_AdminDelUser
Delete a user.
py/ovl.py:2267
↓ 1 callersMethod_AdminDelUserFromGroup
Remove a user from a group.
py/ovl.py:2312
↓ 1 callersMethod_AdminListGroupUsers
List all users in a group.
py/ovl.py:2318
↓ 1 callersMethod_AdminListGroups
List all groups.
py/ovl.py:2280
↓ 1 callersMethod_AdminListUsers
List all users.
py/ovl.py:2243
↓ 1 callersMethod_BuildParser
(self)
py/ovl.py:951
↓ 1 callersMethod_CheckTLSCertificate
Check TLS certificate. Returns: A tupple (check_result, if_certificate_is_loaded)
py/ovl.py:467
↓ 1 callersMethod_DurationToClock
(self, duration)
py/ovl.py:296
↓ 1 callersMethod_GetJWTToken
Get a JWT token for API authentication.
test/overlord_e2e_unittest.py:149
↓ 1 callersMethod_HTTPPostFile
Perform HTTP POST and upload file to Overlord. To minimize the external dependencies, we construct the HTTP post request by ourselves.
py/ovl.py:1060
↓ 1 callersMethod_LocalLsTree
Get a recursive directory listing of local files. This method recursively traverses a local directory and returns FileEntry objects for all f
py/ovl.py:2082
↓ 1 callersMethod_LsTree
Get a recursive directory listing using the Overlord API. This method uses the Overlord API to get a directory listing recursively, including
py/ovl.py:1699
↓ 1 callersMethod_Mkdir
Create a directory with specific permissions using the Overlord API. Args: path: The path to create. perm: The permissions to set (in
py/ovl.py:1770
↓ 1 callersMethod_PullSingle
Pull a single file or symlink. Args: entry: A FileEntry object representing the file to pull. dst: The destination path.
py/ovl.py:1790
↓ 1 callersMethod_SaveTLSCertificate
(self, host, cert_pem)
py/ovl.py:1052
↓ 1 callersMethod_SizeToHuman
(self, size_in_bytes)
py/ovl.py:260
↓ 1 callersMethod_SpeedToHuman
(self, speed_in_bs)
py/ovl.py:278
↓ 1 callersMethod_TLSEnabled
Determine if TLS is enabled on given server address.
py/ovl.py:447
↓ 1 callersMethod_UpdateContext
(self)
py/ghost.py:136
↓ 1 callersMethod__init__
Constructor. Args: overlord_addrs: a list of possible address of overlord. tls_settings: a TLSSetting object. mode: client mode
py/ghost.py:207
↓ 1 callersMethodcleanupShellProcess
(cmd *exec.Cmd)
overlord/ghost.go:1310
↓ 1 callersMethodconfigureTTYDevice
(tty *os.File)
overlord/ghost.go:1094
↓ 1 callersFunctioncpWithSudo
cpWithSudo copies a file to a destination that requires sudo
overlord/sysutils_linux.go:149
↓ 1 callersMethodcreateRegistrationHandler
(addr string)
overlord/ghost.go:1543
↓ 1 callersMethodcreateTTYInputFeeder
(tty *os.File)
overlord/ghost.go:1109
↓ 1 callersMethodcreateUpgradeClient
(httpsEnabled bool)
overlord/ghost.go:422
← previousnext →201–300 of 651, ranked by callers