Add Rustdesk to external tools for WAPT
This commit is contained in:
2
setup.py
2
setup.py
@@ -25,6 +25,8 @@ def uninstall():
|
|||||||
|
|
||||||
|
|
||||||
def audit():
|
def audit():
|
||||||
|
|
||||||
|
## Pour ajouter dans les outils externe wapt : nom :Rustdesk, Executable : C:\Program Files\RustDesk\rustdesk.exe , --connect {{host_audit/RustDesk/id/value}}
|
||||||
def get_rustdesk_id():
|
def get_rustdesk_id():
|
||||||
# Run the command and capture its output
|
# Run the command and capture its output
|
||||||
result = subprocess.run(["C:\\Program Files\\RustDesk\\rustdesk.exe", "--get-id"], stdout=subprocess.PIPE, stderr=subprocess.PIPE, text=True)
|
result = subprocess.run(["C:\\Program Files\\RustDesk\\rustdesk.exe", "--get-id"], stdout=subprocess.PIPE, stderr=subprocess.PIPE, text=True)
|
||||||
|
|||||||
Reference in New Issue
Block a user