Skip to content
This repository was archived by the owner on Feb 1, 2024. It is now read-only.
This repository was archived by the owner on Feb 1, 2024. It is now read-only.

vpnc-script.js not executed on Windows #38

@irichter

Description

@irichter

Per the DEFAULT_VPNC_SCRIPT set by common.h:49 and used in VpnInfo::Connect() vpninfo.cpp:464, the script to be executed is named "vpnc-script-win.js".

However, the script actually installed is named "vpnc-script.js". As a result, the script cannot be found and is not run, making the tunnel useless.

Possible solutions:

  1. Modify DEFAULT_VPNC_SCRIPT to point to "vpnc-script.js".
  2. Modify the installer to create a file named "vpnc-script-win.js" instead of "vpnc-script.js".
  3. Add a required GUI option for the user to pick a script. (This should probably be used with caution, as if the user launches the GUI with UAC bypassed, they could then execute any code of their choosing with administrative privileges.)

As a work-around, renaming the installed script to "vpnc-script-win.js" works.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions