Updated MeshCentral Router

This commit is contained in:
Ylian Saint-Hilaire 2022-05-23 14:55:58 -07:00
parent 24fd7b58fb
commit d0ee9ff74f
2 changed files with 4 additions and 6 deletions

Binary file not shown.

View File

@ -80,10 +80,10 @@
<div class="cmtext" onclick="cmtermaction(6,0,event)">Admin PowerShell</div> <div class="cmtext" onclick="cmtermaction(6,0,event)">Admin PowerShell</div>
<div class="cmtext" onclick="cmtermaction(8,0,event)">User Shell</div> <div class="cmtext" onclick="cmtermaction(8,0,event)">User Shell</div>
<div class="cmtext" onclick="cmtermaction(9,0,event)">User PowerShell</div> <div class="cmtext" onclick="cmtermaction(9,0,event)">User PowerShell</div>
<div class="cmtext" onclick="cmtermaction(1,0x10,event)">Ask Consent + Admin Shell</div> <div class="cmtext" onclick="cmtermaction(1,0x10,event)">Ask Admin Shell</div>
<div class="cmtext" onclick="cmtermaction(6,0x10,event)">Ask Consent + Admin PowerShell</div> <div class="cmtext" onclick="cmtermaction(6,0x10,event)">Ask Admin PowerShell</div>
<div class="cmtext" onclick="cmtermaction(8,0x10,event)">Ask Consent + User Shell</div> <div class="cmtext" onclick="cmtermaction(8,0x10,event)">Ask User Shell</div>
<div class="cmtext" onclick="cmtermaction(9,0x10,event)">Ask Consent + User PowerShell</div> <div class="cmtext" onclick="cmtermaction(9,0x10,event)">Ask User PowerShell</div>
</div> </div>
<div id="termShellContextMenu2" class="contextMenu noselect" style="display:none;min-width:0px"> <div id="termShellContextMenu2" class="contextMenu noselect" style="display:none;min-width:0px">
<div class="cmtext" onclick="cmtermaction(8,0,event)"><b>User Shell</b></div> <div class="cmtext" onclick="cmtermaction(8,0,event)"><b>User Shell</b></div>
@ -10124,7 +10124,6 @@
// 1 = Agent, 2 = SFTP // 1 = Agent, 2 = SFTP
function connectFiles(e, contype, consent) { function connectFiles(e, contype, consent) {
console.log('connectFiles', contype, consent);
p13clearConsoleMsg(); p13clearConsoleMsg();
if (!files) { if (!files) {
// Setup a mesh agent files // Setup a mesh agent files
@ -10145,7 +10144,6 @@
} }
} }
files.Start(filesNode._id); files.Start(filesNode._id);
console.log(files.options);
} else { } else {
//QH('Term', ''); //QH('Term', '');
files.Stop(); files.Stop();