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
↓ 1 callers
Method
Listen
()
overlord/conn_server.go:316
↓ 1 callers
Method
LoadProperties
Load properties from file and always set the allowlist.
py/ghost.py:400
↓ 1 callers
Method
Main
(self)
py/ovl.py:984
↓ 1 callers
Method
Mkdir
Mkdir handles a request to create a directory.
overlord/conn_server.go:544
↓ 1 callers
Function
NewConnServer
NewConnServer create a ConnServer object.
overlord/conn_server.go:80
↓ 1 callers
Function
NewJWTAuth
NewJWTAuth creates a new JWTAuth instance
overlord/auth.go:71
↓ 1 callers
Function
NewOverlord
NewOverlord creates an Overlord object.
overlord/overlord.go:164
↓ 1 callers
Function
NewPollableProcess
NewPollableProcess creates a new PollableProcess from an os.Process.
overlord/utils.go:48
↓ 1 callers
Method
ParseMessage
(self, buf, single=True)
py/ghost.py:1156
↓ 1 callers
Method
ParseMessage
ParseMessage parses a single JSON string into a Message object.
overlord/rpc.go:238
↓ 1 callers
Method
Ping
(self)
py/ghost.py:930
↓ 1 callers
Method
Ping
(self)
py/ovl.py:433
↓ 1 callers
Method
Ping
Ping sends a ping message to the overlord server.
overlord/ghost.go:982
↓ 1 callers
Method
Poll
Poll polls the process for it's execution status.
overlord/utils.go:58
↓ 1 callers
Method
Reconnect
(self)
py/ghost.py:1331
↓ 1 callers
Method
Register
(self)
py/ghost.py:1242
↓ 1 callers
Method
RegisterDownloadRequest
RegisterDownloadRequest registers a file download request.
overlord/overlord.go:333
↓ 1 callers
Method
RegisterSession
(self, session_id, process_id)
py/ghost.py:1348
↓ 1 callers
Method
RegisterSession
RegisterSession register the PID to a session.
overlord/ghost.go:1734
↓ 1 callers
Method
RegisterTTY
(self, session_id, ttyname)
py/ghost.py:1345
↓ 1 callers
Method
RegisterTTY
RegisterTTY register the TTY to a session.
overlord/ghost.go:1729
↓ 1 callers
Method
RegisterUploadRequest
RegisterUploadRequest registers a file upload request.
overlord/overlord.go:343
↓ 1 callers
Method
RemoveAllForward
(self)
py/ovl.py:583
↓ 1 callers
Method
RemoveForward
(self, local_port)
py/ovl.py:575
↓ 1 callers
Method
ResetFailCount
ResetFailCount resets the fail count for the given IP.
overlord/auth.go:278
↓ 1 callers
Method
RunCommand
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 callers
Method
SSHTunnel
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 callers
Method
ScanForTimeoutRequests
ScanForTimeoutRequests scans for timeout requests.
overlord/rpc.go:304
↓ 1 callers
Method
ScanGateway
ScanGateway scans current network gateway and add it into addrs if not already exist.
overlord/ghost.go:1875
↓ 1 callers
Method
ScanServer
(self)
py/ghost.py:1409
↓ 1 callers
Method
SendClearToDownload
SendClearToDownload sends "clear_to_download" request to client to start downloading.
overlord/conn_server.go:581
↓ 1 callers
Method
SendUpgradeRequest
SendUpgradeRequest sends upgrade request to clients to trigger an upgrade.
overlord/conn_server.go:455
↓ 1 callers
Method
Serv
Serv is the main routine for starting all the overlord sub-server.
overlord/overlord.go:1320
↓ 1 callers
Method
ServHTTP
ServHTTP is the Web server main routine.
overlord/overlord.go:1225
↓ 1 callers
Method
SetEnabled
(self, enabled)
py/ghost.py:163
↓ 1 callers
Method
SetEnabled
(enabled bool)
overlord/ghost.go:175
↓ 1 callers
Method
SetForwardTarget
SetForwardTarget sets the host and port to forward.
overlord/ghost.go:302
↓ 1 callers
Method
SetInitialSize
SetInitialSize sets the initial terminal dimensions for PTY creation.
overlord/ghost.go:281
↓ 1 callers
Method
SetPropFile
SetPropFile sets the property file filename.
overlord/ghost.go:269
↓ 1 callers
Method
SetShellCommand
SetShellCommand sets the shell comamnd to execute.
overlord/ghost.go:288
↓ 1 callers
Method
SetTLSMode
SetTLSMode sets the mode of tls detection.
overlord/ghost.go:309
↓ 1 callers
Method
SetTerminalSid
SetTerminalSid sets the terminal session ID for the Ghost instance.
overlord/ghost.go:263
↓ 1 callers
Method
SetTtyDevice
SetTtyDevice sets the TTY device name to open.
overlord/ghost.go:275
↓ 1 callers
Method
Shell
(self, command=None)
py/ovl.py:1500
↓ 1 callers
Method
ShellPersistent
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 callers
Method
SpawnFileServer
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 callers
Method
SpawnModeForwarder
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 callers
Method
SpawnShell
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 callers
Method
SpawnTerminal
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 callers
Method
Start
(self)
py/ovl.py:391
↓ 1 callers
Function
StartCaptureProcess
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 callers
Method
StartDownloadServer
(self)
py/ghost.py:842
↓ 1 callers
Method
StartDownloadServer
StartDownloadServer starts the download server.
overlord/ghost.go:812
↓ 1 callers
Function
StartGhost
StartGhost starts the Ghost client.
overlord/ghost.go:1983
↓ 1 callers
Method
StartLanDiscovery
Start to listen to LAN discovery packet at _OVERLORD_LAN_DISCOVERY_PORT.
py/ghost.py:1351
↓ 1 callers
Method
StartLanDiscovery
StartLanDiscovery starts listening to LAN discovery message.
overlord/ghost.go:1778
↓ 1 callers
Function
StartOverlord
StartOverlord starts the overlord server.
overlord/overlord.go:1431
↓ 1 callers
Method
StartRPCServer
(self)
py/ghost.py:1395
↓ 1 callers
Method
StartRPCServer
(self)
py/ovl.py:394
↓ 1 callers
Method
StartRPCServer
StartRPCServer starts a local RPC server used for communication between ghost instances.
overlord/ghost.go:1858
↓ 1 callers
Method
StartUDPBroadcast
StartUDPBroadcast is the main routine for broadcasting LAN discovery message.
overlord/overlord.go:1256
↓ 1 callers
Method
StartUploadServer
(self)
py/ghost.py:860
↓ 1 callers
Method
StartUploadServer
StartUploadServer starts the upload server.
overlord/ghost.go:835
↓ 1 callers
Method
Status
(self)
py/ovl.py:1216
↓ 1 callers
Method
Terminate
Terminate terminats the connection and perform cleanup.
overlord/conn_server.go:110
↓ 1 callers
Function
ToVTNewLine
ToVTNewLine replace the newline character to VT100 newline control.
overlord/utils.go:22
↓ 1 callers
Function
Ttyname
Ttyname returns the TTY name of a given file descriptor.
overlord/sysutils_linux.go:100
↓ 1 callers
Method
Unregister
Unregister a client.
overlord/overlord.go:277
↓ 1 callers
Method
VerifyToken
VerifyToken verifies a JWT token and returns the claims
overlord/auth.go:158
↓ 1 callers
Function
WithAuthClaims
WithAuthClaims adds JWT claims to the context
overlord/auth.go:233
↓ 1 callers
Method
_AdminAddGroup
Add a new group.
py/ovl.py:2293
↓ 1 callers
Method
_AdminAddUser
Add a new user.
py/ovl.py:2257
↓ 1 callers
Method
_AdminChangePassword
Change a user's password.
py/ovl.py:2272
↓ 1 callers
Method
_AdminDelGroup
Delete a group.
py/ovl.py:2299
↓ 1 callers
Method
_AdminDelUser
Delete a user.
py/ovl.py:2267
↓ 1 callers
Method
_AdminDelUserFromGroup
Remove a user from a group.
py/ovl.py:2312
↓ 1 callers
Method
_AdminListGroupUsers
List all users in a group.
py/ovl.py:2318
↓ 1 callers
Method
_AdminListGroups
List all groups.
py/ovl.py:2280
↓ 1 callers
Method
_AdminListUsers
List all users.
py/ovl.py:2243
↓ 1 callers
Method
_BuildParser
(self)
py/ovl.py:951
↓ 1 callers
Method
_CheckTLSCertificate
Check TLS certificate. Returns: A tupple (check_result, if_certificate_is_loaded)
py/ovl.py:467
↓ 1 callers
Method
_DurationToClock
(self, duration)
py/ovl.py:296
↓ 1 callers
Method
_GetJWTToken
Get a JWT token for API authentication.
test/overlord_e2e_unittest.py:149
↓ 1 callers
Method
_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 callers
Method
_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 callers
Method
_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 callers
Method
_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 callers
Method
_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 callers
Method
_SaveTLSCertificate
(self, host, cert_pem)
py/ovl.py:1052
↓ 1 callers
Method
_SizeToHuman
(self, size_in_bytes)
py/ovl.py:260
↓ 1 callers
Method
_SpeedToHuman
(self, speed_in_bs)
py/ovl.py:278
↓ 1 callers
Method
_TLSEnabled
Determine if TLS is enabled on given server address.
py/ovl.py:447
↓ 1 callers
Method
_UpdateContext
(self)
py/ghost.py:136
↓ 1 callers
Method
__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 callers
Method
cleanupShellProcess
(cmd *exec.Cmd)
overlord/ghost.go:1310
↓ 1 callers
Method
configureTTYDevice
(tty *os.File)
overlord/ghost.go:1094
↓ 1 callers
Function
cpWithSudo
cpWithSudo copies a file to a destination that requires sudo
overlord/sysutils_linux.go:149
↓ 1 callers
Method
createRegistrationHandler
(addr string)
overlord/ghost.go:1543
↓ 1 callers
Method
createTTYInputFeeder
(tty *os.File)
overlord/ghost.go:1109
↓ 1 callers
Method
createUpgradeClient
(httpsEnabled bool)
overlord/ghost.go:422
← previous
next →
201–300 of 651, ranked by callers