tis-nessus-agent icon

Nessus Agent

Silent install package for Nessus Agent

10.8.2.20009-2

  • package: tis-nessus-agent
  • name: Nessus Agent
  • version: 10.8.2.20009-2
  • maintainer: WAPT Team,Tranquil IT,Amel FRADJ
  • licence: Copyright © 1998-2020 Tenable, Inc.
  • target_os: windows
  • architecture: x86
  • signature_date:
  • size: 62.82 Mo
  • homepage : https://www.tenable.com/products/nessus/nessus-agents

package           : tis-nessus-agent
version           : 10.8.2.20009-2
architecture      : x86
section           : base
priority          : optional
name              : Nessus Agent
categories        : 
maintainer        : WAPT Team,Tranquil IT,Amel FRADJ
description       : Nessus™ agents complement traditional network vulnerability scanning to give you visibility into additional computing resources, such as terminals and other remote resources that intermittently connect to the Internet
depends           : 
conflicts         : 
maturity          : PROD
locale            : 
target_os         : windows
min_wapt_version  : 
sources           : 
installed_size    : 
impacted_process  : 
description_fr    : Les agents Nessus™ complètent l'analyse traditionnelle des vulnérabilités du réseau pour vous offrir une visibilité sur des ressources informatiques supplémentaires, telles que les terminaux et autres ressources distantes qui se connectent par intermittence à Internet
description_pl    : Agenci Nessus™ uzupełniają tradycyjne skanowanie podatności sieci, zapewniając widoczność dodatkowych zasobów obliczeniowych, takich jak punkty końcowe i inne zdalne zasoby, które okresowo łączą się z Internetem
description_de    : Nessus™-Agenten ergänzen die herkömmliche Analyse von Netzwerkschwachstellen und bieten Ihnen Einblick in zusätzliche IT-Ressourcen wie Terminals und andere Remote-Ressourcen, die sich zeitweise mit dem Internet verbinden
description_es    : Los agentes Nessus™ complementan la exploración tradicional de vulnerabilidades de red para ofrecerle visibilidad de recursos informáticos adicionales, como puntos finales y otros recursos remotos que se conectan de forma intermitente a Internet
description_pt    : Os agentes Nessus™ complementam a análise tradicional de vulnerabilidades da rede para lhe dar visibilidade a recursos informáticos adicionais, como pontos finais e outros recursos remotos que se ligam intermitentemente à Internet
description_it    : Gli agenti Nessus™ integrano la tradizionale scansione delle vulnerabilità di rete per offrire visibilità su risorse informatiche aggiuntive, come endpoint e altre risorse remote che si connettono a Internet in modo intermittente
description_nl    : Nessus™ agents vullen het traditionele scannen op kwetsbaarheden in het netwerk aan om u inzicht te geven in extra computerbronnen, zoals endpoints en andere externe bronnen die met tussenpozen verbinding maken met het internet
description_ru    : Агенты Nessus™ дополняют традиционное сканирование сетевых уязвимостей, обеспечивая видимость дополнительных вычислительных ресурсов, таких как конечные точки и другие удаленные ресурсы, которые периодически подключаются к Интернету
audit_schedule    : 
editor            : 
keywords          : 
licence           : Copyright © 1998-2020 Tenable, Inc.
homepage          : https://www.tenable.com/products/nessus/nessus-agents
package_uuid      : 075e3d9c-49f1-4324-8a80-7e6cb8bea0fb
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : 
min_os_version    : 
max_os_version    : 
icon_sha256sum    : 58e55b7b707f6ac9c13d2acbf3d10960f7696c7b690e654fb5dda2af98fa070d
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date    : 2025-04-07T20:08:31.000000
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
signature         : cR8gx0PMHQeqXWZf90Ww8Y35tPTEhJfRFcXCdHQUjJvgXmzD7Mf954TKbC/yUNJ6rsIvgEFsO71lbEG77D5e/LwxIA1FDSAWI9lRpe5NO5Q3k8fFLQdYm5kSr/+RG1H7MEWNo1iRtX6TKUyLwPqTKfWYkjGanKeE6Dn656Dm/P9Z056pbGJa59vJ64n266SWOPjbvPoUI9/XHGJBjL0tsgKI12NIghZszUc85fXoqzDblnhWTFgbqPguBwrbu9Yq6YtrI+PJxQc7cSamXcKZwkogcnalHoEIzp3VXt+RTZhqXsAOmtseDZw7IBCBnfMx3U9neYJTBfBK896po12f7w==

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

r"""
Usable WAPT package functions: install(), uninstall(), session_setup(), audit(), update_package()

"""
# Declaring global variables - Warnings: 1) WAPT context is only available in package functions; 2) Global variables are not persistent between calls


def install():
    # Declaring local variables
    bin_name = glob.glob('NessusAgent-*.msi')[0]
    # Installing the software
    install_msi_if_needed(bin_name)



# -*- coding: utf-8 -*-
from setuphelpers import *
from setupdevhelpers import *
import glob
import re

def update_package():
    # Declaring local variables
    package_updated = False
    
    # https://www.tenable.com/downloads/api/v2/pages/nessus-agents
    
    proxies = get_proxies_from_wapt_console()
    if not proxies:
        proxies = get_proxies()
    download_url = "https://www.tenable.com/downloads/api/v2/pages/nessus-agents/files/NessusAgent-latest-Win32.msi"

    # Effectuer la requête pour récupérer les en-têtes
    try:
        response = requests.get(download_url, proxies=proxies, allow_redirects=True)
        headers = response.headers
        
        # Extraction du nom de fichier depuis les en-têtes
        content_disposition = headers.get('content-disposition', '')
        filename_match = re.search(r'filename="(.+?)"', content_disposition)
        if filename_match:
            filename = filename_match.group(1)
            print(f"Filename: {filename}")
            
        else:
            print("Filename not found in headers.")
    
    except requests.RequestException as e:
        print(f"Error during request: {e}")
    latest_bin = filename
    version = latest_bin.split('-')[1]

    
    
    # Downloading latest binaries
    print("Download URL is: %s" % download_url)
    if not isfile(latest_bin):
        print("Downloading: %s" % latest_bin)
        wget(download_url, latest_bin, proxies=proxies)
        package_updated = True
    else:
        print("Binary is present: %s" % latest_bin)


    # Deleting outdated binaries
    for f in glob.glob('*.msi'):
        if f != latest_bin:
            remove_file(f)

         
    version = get_version_from_binary(latest_bin)
    # Mettre à jour le package
    control.set_software_version(version)
    control.save_control_to_wapt()    
        

e052843539d846cc385e3c2783cd88f54e37ed11e3fcb8b1552db32a646c5fc6 : NessusAgent-10.8.2-Win32.msi
38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
42451b9c51ea9dbdc4a0a9e8262620d5bef1d1d0e8149cb1910e5b8620b9ec59 : WAPT/control
58e55b7b707f6ac9c13d2acbf3d10960f7696c7b690e654fb5dda2af98fa070d : WAPT/icon.png
d40cd79927382fb2d9a6b5b40af88308f25a42d6cb4912bcb38cd168bff826d7 : luti.json
3660f1a2db07eb287fb88652865a8733e6b6de35991e724388ebcf903cdc3570 : setup.py
87f53f58cffe48a9049b73a55ef18c804e835e57c3e269b2eb352cd1c1360cd6 : update_package.py