Update _index.en.md

This commit is contained in:
Mr-Update 2023-08-31 21:59:08 +02:00 committed by GitHub
parent 3be5282296
commit 5f77a07007
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,23 +3,23 @@ title: Tactical RMM
weight: 100 weight: 100
--- ---
## To Use Tactical RMM with RustDesk you need to the the following. ## To Use Tactical RMM with RustDesk, you must do the following
1. Install your own Tactical RMM Server, following their [official docs](https://docs.tacticalrmm.com/) and open ports. 1. Install your own Tactical RMM Server, following their [official docs](https://docs.tacticalrmm.com/) and open ports.
2. Create the following scripts (all are powershell). 2. Create the following scripts (all are PowerShell).
3. Create a [URL Action](https://docs.tacticalrmm.com/functions/url_actions/). 3. Create a [URL Action](https://docs.tacticalrmm.com/functions/url_actions/).
4. Create [custom fields](https://docs.tacticalrmm.com/functions/custom_fields/) for the RustDesk ID and password. 4. Create [custom fields](https://docs.tacticalrmm.com/functions/custom_fields/) for the RustDesk ID and password.
5. Create [collector tasks](https://docs.tacticalrmm.com/functions/automated_tasks/#collector-tasks). 5. Create [collector tasks](https://docs.tacticalrmm.com/functions/automated_tasks/#collector-tasks).
## Install Script Replace IPADDRESS and KEY ## Install Script Replace IPADDRESS and KEY
``` ```ps
$ErrorActionPreference= 'silentlycontinue' $ErrorActionPreference= 'silentlycontinue'
If (!(Test-Path c:\Temp)) { If (!(Test-Path C:\Temp)) {
New-Item -ItemType Directory -Force -Path c:\Temp > null New-Item -ItemType Directory -Force -Path C:\Temp > null
} }
cd c:\Temp cd C:\Temp
powershell Invoke-WebRequest "https://github.com/rustdesk/rustdesk/releases/download/1.2.2/rustdesk-1.2.2-x86_64.exe" -Outfile "rustdesk.exe" powershell Invoke-WebRequest "https://github.com/rustdesk/rustdesk/releases/download/1.2.2/rustdesk-1.2.2-x86_64.exe" -Outfile "rustdesk.exe"
Start-Process .\rustdesk.exe --silent-install -wait Start-Process .\rustdesk.exe --silent-install -wait
@ -53,7 +53,7 @@ net start rustdesk
## RustDesk Get ID (Collector Script needs Custom Agent Field) ## RustDesk Get ID (Collector Script needs Custom Agent Field)
``` ```ps
$ErrorActionPreference= 'silentlycontinue' $ErrorActionPreference= 'silentlycontinue'
cd $env:ProgramFiles\RustDesk\ cd $env:ProgramFiles\RustDesk\
@ -61,10 +61,10 @@ cd $env:ProgramFiles\RustDesk\
``` ```
## RustDesk Set and Get Password (Collector Script needs Custom Agent Field) ## RustDesk Set and Get Password (Collector Script needs Custom Agent Field)
``` ```ps
$ErrorActionPreference= 'silentlycontinue' $ErrorActionPreference= 'silentlycontinue'
$confirmation_file = "C:\program files\RustDesk\runonce.txt" $confirmation_file = "C:\Program Files\RustDesk\runonce.txt"
if ([System.IO.File]::Exists($confirmation_file)) { if ([System.IO.File]::Exists($confirmation_file)) {
echo "Confirmation file exists" echo "Confirmation file exists"
@ -88,14 +88,14 @@ Write-Output $rustdesk_pw
net start rustdesk > null net start rustdesk > null
New-Item $confirmation_file > null New-Item $confirmation_file > null
} }
``` ```
## RustDesk URL Action ## RustDesk URL Action
``` ```
rustdesk://connection/new/{{agent.rustdeskid}}?password={{agent.rustdeskpwd}} rustdesk://connection/new/{{agent.rustdeskid}}?password={{agent.rustdeskpwd}}
``` ```
## Add Custom Agent Fields ## Add Custom Agent Fields
`rustdeskid Type = Text` </br> `rustdeskid Type = Text` </br>
`rustdeskpwd Type = Text` `rustdeskpwd Type = Text`