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
@@ -324,8 +324,10 @@ async function showRemoteModal(sessionId) {
|
||||
|
||||
var empty = document.createElement('div');
|
||||
empty.className = 'sp-loading';
|
||||
empty.innerHTML = '<div>Powershell-Befehl unter Windows ausführen</div>' +
|
||||
'<code>irm ' + esc(location.origin) + '/remote | iex</code>';
|
||||
empty.innerHTML = '<div>Windows (PowerShell)</div>' +
|
||||
'<code>irm ' + esc(location.origin) + '/remote.ps1 | iex</code>' +
|
||||
'<div style="margin-top:8px">Linux (Bash)</div>' +
|
||||
'<code>curl -s ' + esc(location.origin) + '/remote.sh | bash</code>';
|
||||
body.appendChild(empty);
|
||||
|
||||
if (!connections || connections.length === 0) {
|
||||
|
||||
Reference in new issue
Block a user