Page 1 of 1

External console tools

Published: November 10, 2020 - 1:22 AM
by psanchez
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.

Re: External console tools

Published: November 10, 2020 - 12:11 PM
by sfonteneau
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}

Re: External console tools

Published: November 17, 2020 - 01:24
by psanchez
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.

Re: External console tools

Published: Dec 14, 2021 - 10:00 AM
by jlv
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?

Re: External console tools

Published: Dec 14, 2021 - 10:28
by jlv
What commands are executed in the "Windows Computer Management" module?