advanced configuration with WAPT

Questions about WAPT Server / Requests and help related to the WAPT server
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
basstien
Messages: 5
Registration: June 1, 2021 - 3:34 PM

June 1, 2021 - 3:56 PM

Hello,

I'm a complete beginner and I need to complete a project on WAPT.

First, I need to generate a package template for the UltraVNC software.

Then, I'm stuck on the advanced configuration of the UltraVNC package using Python.
I want to force a connection at the UltraVNC level using a Python script. So, once UltraVNC prompts for a password and username, I want to preload the login information so it can be deployed to users across the network. This way, users of the service will only need to enter the IP address and not the login credentials.

Thank you for any solutions or guidance you can provide to help me implement my project.

Thanks in advance.

PS: The WAPT version is 1.8 on Windows,
and the Windows machine where the packages are being created is a Windows Server 2012 R2.
User avatar
dcardon
WAPT Expert
Messages: 1932
Registration: June 18, 2014 - 09:58
Location: Saint Sébastien sur Loire
Contact :

June 1, 2021 - 5:30 PM

Hello,
there's quite comprehensive documentation on package creation. Could you be a little more specific about the problem you're encountering and what isn't clear, perhaps even providing a code example of the issue?
Regards,
Denis
Denis Cardon - Tranquil IT
Share your experiences on WAPT! Send us your blog and article URLs in the "Your Opinion of the forum, and we'll feature them on the WAPT
basstien
Messages: 5
Registration: June 1, 2021 - 3:34 PM

June 1, 2021 - 5:50 PM

Thank you for your reply.

I would like to pre-register my login credentials in this console; they are attached.

I understand that the advanced configuration of the package can be done in "def session_setup", and my problem is that I want to create a Python script to save these credentials upon installation, but I don't know how to do this given my level of Python. Do you have any solutions to suggest? Thank you.
Attachments
Capture.PNG
Capture.PNG (9.71 KB) Viewed 3796 times
User avatar
dcardon
WAPT Expert
Messages: 1932
Registration: June 18, 2014 - 09:58
Location: Saint Sébastien sur Loire
Contact :

June 1, 2021 - 6:05 PM

First, you need to figure out how to do it via the command line (modifying a configuration file, changing a registry key, etc.). Then there's the documentation, which is available, along with hundreds of example packages to help you find ideas on how to translate the command-line code into Python.
Denis Cardon - Tranquil IT
Share your experiences on WAPT! Send us your blog and article URLs in the "Your Opinion of the forum, and we'll feature them on the WAPT
basstien
Messages: 5
Registration: June 1, 2021 - 3:34 PM

June 2, 2021 - 5:18 PM

Perfect, thank you for your help. Do you have a link that would allow me to access those packages?

Thank you.
Locked