feat: Remote-Execute für Linux/Bash – OS-basierte Tool-Descriptions und remote.sh Script
Remote-Verbindungen erkennen jetzt das OS des Clients und passen die Tool-Description dynamisch an (PowerShell für Windows, Bash für Linux). Neues remote.sh Script für Linux/macOS-Clients mit embedded Python WebSocket-Client. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
1 parent
1035066a39
commit
53cee67bef
11 files changed
+381
-27
No files matched your search
@@ -25,7 +25,7 @@ public class AuthMiddleware
|
||||
var isAutologin = path == "/api/auth/autologin" && ctx.Request.Method == "GET";
|
||||
var isImageFile = path.StartsWith("/api/images/file/") && ctx.Request.Method == "GET";
|
||||
var isRemoteWs = path == "/api/remote";
|
||||
var isRemoteScript = path == "/remote.ps1";
|
||||
var isRemoteScript = path == "/remote.ps1" || path == "/remote.sh";
|
||||
var isInternal = path.StartsWith("/api/internal/");
|
||||
if (!path.StartsWith("/api/") || path == "/api/auth/login" || isTelegramWebhook || isSharedGet || isAutologin || isImageFile || isRemoteWs || isRemoteScript || isInternal)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user