External console tools

Share your tips or issues concerning the WAPT Console or WAPT Agent here
Forum Rules
Community Forum Rules
* English support on www.reddit.com/r/wapt
* French community support is available on this forum
* Please prefix the topic title with [RESOLVED] if it is resolved.
* Please do not edit a topic that is tagged [RESOLVED]. Open a new topic referencing the old one.
* Specify the installed WAPT version, full version, and build number (2.2.1.11957 / 2.2.2.12337 / etc.) as well as the Enterprise/Discovery edition.
* Versions 1.8.2 and earlier are no longer supported. The only questions accepted regarding version 1.8.2 are related to upgrading to a supported version (2.1, 2.2, etc.).
* Specify the server OS (Linux/Windows) and version (Debian Buster/Bullseye - CentOS 7 - Windows Server 2012/2016/2019).
* Specify the OS of the administration/package creation machine and the machine with the problematic agent, if applicable (Windows 7/10/11/Debian 11/etc.).
* Avoid asking multiple questions when opening a topic, otherwise it may be ignored. If there are multiple topics, open separate topics, preferably one after the other and not all at the same time (i.e., do not spam the forum).
* Include code snippets, screenshots, and other images directly in the post. Links to Pastebin, Bitly, and other third-party sites will be systematically removed.
* As with any community forum, support is provided voluntarily by members. If you require commercial support, you can contact Tranquil IT's sales department at 02.40.97.57.55
Locked
psanchez
Messages: 9
Registration: Sep 10, 2018 - 05:58

November 10, 2020 - 1:22 AM

Hello,

I'm looking into the console's external tools (version 1.7.3.5) and I have a few questions. Unfortunately, the online documentation is almost silent on plugins. Is there any additional documentation available? If not, could you answer a few questions I have so I can figure out how the external tools work on my own?

The example in the documentation, "Executable: explorer.exe Arguments: \\{ip}\c$", doesn't work on my console.

1st question: Is the specified executable the one on the console machine or the target machine?
2nd question: If an executable is specified in the arguments line, is it indeed an executable on the target machine?
3rd question: Is there a list of usable variables like {ip}, {uuid}...?
4th question: If I enter, for example, \\{ip} in the arguments field, it's transformed into \{ip} after validation. What escape character should I use before \\?
Question 5: Regarding execution rights in a domain, which user is used: the Windows session user on the console or the local SYSTEM user on the target machine?
For example, with psexec, by default in the command line, `psexec \\xxx.xxx.xxx.xxx shutdown /p` uses the rights of the domain user who opened cmd.exe on the console machine.

Do I need to upgrade my WAPT Enterprise server, or is version 1.7.3.5 fully functional with external tools?

Thank you in advance to anyone who takes the time to help me.
User avatar
sfonteneau
WAPT Expert
Messages: 2318
Registered: July 10, 2014 - 11:52 PM
Contact :

November 10, 2020 - 12:11

Hello,

without reading everything, you're on version 1.7.3.5, released May 13, 2019.

We are currently on version 1.8.2, and a number of problems have been resolved since then (notably the backslash issue). You should start by updating!

Indeed, something not mentioned in the documentation: plugins do not allow commands to be run on the remote machine, but rather on the machine running the console, and therefore the command is executed with the same user running the console.

Regarding additional parameters:
https://www.wapt.fr/fr/doc/wapt-usage/w ... he-console

The documentation clearly states that you can use: {ip}, {uuid}, or {computer_fqdn}
psanchez
Messages: 9
Registration: Sep 10, 2018 - 05:58

November 17, 2020 - 1:24 AM

I'll update it next year and might get back to you. It's the end of the school year here, ECE, CCF, written exams... I'm fully booked until the end of December.

Thanks.
jlv
Messages: 2
Registration: December 14, 2021 - 09:49

December 14, 2021 - 10:00 AM

Hello,

I'm currently using WAPT Community version 1.8.2.7388.

I want to add commands to the WAPT console's external tools, specifically to access the remote machine's control panel.

I've tried \\{ip}\C$\Windows\System32\control.exe, both with the "explorer.exe" executable and with "PsExec.exe",

but it always displays the local control panel and not the remote machine's.

Any ideas?
jlv
Messages: 2
Registration: December 14, 2021 - 09:49

December 14, 2021 - 10:28 AM

What commands are executed in the "Windows Computer Management" module?
Locked