tis-netskope-client icon

netskope-client

Silent install package for netskope-client

111.1.0.1994-0
Security
Security

  • package: tis-netskope-client
  • name: netskope-client
  • version: 111.1.0.1994-0
  • categories: Security
  • maintainer: WAPT Team,Tranquil IT,Ingrid TALBOT
  • editor: Netskope
  • licence: proprietary_restricted,wapt_private
  • target_os: windows
  • architecture: all
  • signature_date:
  • size: 13.54 Mo
  • installed_size: 12.40 Mo
  • depends:

package           : tis-netskope-client
version           : 111.1.0.1994-0
architecture      : all
section           : base
priority          : optional
name              : netskope-client
categories        : Security
maintainer        : WAPT Team,Tranquil IT,Ingrid TALBOT
description       : Netskope Client enables any user connecting from any device or location fast access to their web, cloud, or private apps, and a secure work experience with no trade-offs for unified data and threat protection
depends           : tis-webview2
conflicts         : 
maturity          : PROD
locale            : 
target_os         : windows
min_wapt_version  : 2.3
sources           : https://docs.netskope.com/en/netskope-help/netskope-client/netskope-client-deployment-options/netskope-client-for-windows/
installed_size    : 12402383
impacted_process  : 
description_fr    : 
description_pl    : 
description_de    : 
description_es    : 
description_pt    : 
description_it    : 
description_nl    : 
description_ru    : 
audit_schedule    : 
editor            : Netskope
keywords          : connecting,security
licence           : proprietary_restricted,wapt_private
homepage          : 
package_uuid      : e6d26534-621b-45f0-8e84-2fee75d224fa
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : 
min_os_version    : 10.0
max_os_version    : 
icon_sha256sum    : 318d7be145c7fd08ae28fd13a2883a8d587f3f373fa0f1b948533cb75de238c3
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature         : W3mlQuo5/uN7oOUnozSHib3tytYrV+o8UG76evjFc7k3L7GJaJo5MixQo47egIt4Dvkv2YswB/cJHUyfwDmPWEfr5CmTPFIEKgINMZlMShOTK4ZFAkjP8VcYmQbMIykXN5bd4VK6H8aAuWe0pyPlRflRxpBU04xve2t9QXpmwEPOm96dnbqaeL0b7wu/8+2baxYJ7HaRhSfpzgosM3XDV4ZZ6EVtSJW/lpa1Aj1jyM3TN434JjQLxxZHTZrXQS3xZ4XuJY8FDPTedE5aMU2UrbayRTPN3o46jSNe65eiZbc6o16ISmH2umC34mCyTfmmqDpQ7raLGLgxIXsyPnlbCQ==
signature_date    : 2024-03-10T11:00:39.240226
signed_attributes : package,version,architecture,section,priority,name,categories,maintainer,description,depends,conflicts,maturity,locale,target_os,min_wapt_version,sources,installed_size,impacted_process,description_fr,description_pl,description_de,description_es,description_pt,description_it,description_nl,description_ru,audit_schedule,editor,keywords,licence,homepage,package_uuid,valid_from,valid_until,forced_install_on,changelog,min_os_version,max_os_version,icon_sha256sum,signer,signer_fingerprint,signature_date,signed_attributes

# -*- coding: utf-8 -*-
from setuphelpers import *

r"""
{
   "key":"{A26349EB-3F89-428C-B1D0-AB501246078E}",
   "name":"Netskope Client",
   "version":"111.1.0.1994",
   "install_date":"2024-03-04 00:00:00",
   "install_location":"",
   "uninstall_string":"MsiExec.exe /I{A26349EB-3F89-428C-B1D0-AB501246078E}",
   "publisher":"Netskope, Inc.",
   "system_component":0,
   "win64":false
}

C:\Program Files (x86)\Netskope
stAgentSvc	Netskope Client Service: Netskope Client Service	(Verified) netSkope Inc	C:\Program Files (x86)\Netskope\STAgent\stAgentSvc.exe	Fri Jan  5 07:28:20 2024	
Stadrv	Netskope Client Driver: Netskope Client driver	(Verified) netSkope Inc	C:\PROGRA~2\Netskope\STAgent\win10\stadrv6x64.sys	Fri Jan  5 07:06:44 2024	

"""


token = "your_token"
host = "addon-your_host"


def install():
    # # Installing the software
    # print("Installing: NSClient_111.1.0.1994_Windows.msi")
    # install_msi_if_needed('NSClient_111.1.0.1994_Windows.msi')
    bin_name = glob.glob("NSClient_*.msi")[0]
    app_uninstallkey = get_msi_properties(bin_name)["ProductCode"]
    if need_install(get_msi_properties(bin_name)["ProductCode"], min_version=control.get_software_version()) or force:
        print(r"Installing: %s (%s)" % (bin_name, get_msi_properties(bin_name)["ProductVersion"]))
        run(rf'msiexec /i {bin_name} token={token} host={host}   mode=peruserconfig /qn /l*v "c:\windows\temp\nscinstall.log"', timeout=600)
    else:
        print(f"{bin_name} ({control.get_software_version()}) is already installed and up-to-date.")
    # uninstallkey.append(app_uninstallkey)

# -*- coding: utf-8 -*-
from setuphelpers import *
from waptutils import get_sha256


def update_package():
    package_updated = False
    proxies = get_proxies()
    if not proxies:
        proxies = get_proxies_from_wapt_console()

    binaries_dict = {
        "NSClient_111.1.0.1994_Windows.msi": "46FFC35DF13010632D51F6D726129D81671AC82D139FCEF58F7B5EA8039107EA",
        # "bin_name": "sha256",
    }

    for bin_name in binaries_dict:
        # http is ok since we are verifying sha256
        download_url = "http://srvtemplates.ad.tranquil.it/binary_cache/" + bin_name
        sha256 = binaries_dict[bin_name]
        if isfile(bin_name):
            if get_sha256(bin_name) != sha256:
                remove_file(bin_name)
        print("Download URL is: %s" % download_url)
        if not isfile(bin_name):
            print("Downloading: %s" % bin_name)
            wget(download_url, bin_name, sha256=sha256, proxies=proxies)
        else:
            print("Binary is present: %s" % bin_name)

    return package_updated

062c4bb09f3b5ed0ebbd532e5be225f864360b1394b35fbc00085ddf355ae040 : setup.py
829dd0e8d33ef5a829de7f33b7ee8240cb5d7d257fa61648e52696940e2f0c5e : update_package.py
46ffc35df13010632d51f6d726129d81671ac82d139fcef58f7b5ea8039107ea : NSClient_111.1.0.1994_Windows.msi
318d7be145c7fd08ae28fd13a2883a8d587f3f373fa0f1b948533cb75de238c3 : WAPT/icon.png
a5a97261381e1d0ad46ee15916abec9c2631d0201f5cc50ceb0197a165a0bbbf : WAPT/certificate.crt
0d5ffb1338eac3078de9cf0b532e2a56fc30087aec487bff73b0e4019fa28c98 : luti.json
d5431f34adca316804fe12c10dab077969fa68ac2e364e28d8be8569991d4bef : WAPT/control