tis-openrsat icon

OpenRSAT

Paquet d’installation silencieuse pour OpenRSAT

0.4.115
Utilities
Security
System and network
Utilities
Security
System and network

  • package: tis-openrsat
  • name: OpenRSAT
  • version: 0.4.115
  • categories: Utilities,Security,System and network
  • maintainer: WAPT Team,Tranquil IT,Louis Persin,Thomas Prud'homme
  • locale: all
  • target_os: linux
  • architecture: all
  • signature_date:
  • size: 14.84 Mo

package           : tis-openrsat
version           : 0.4.115
architecture      : all
section           : base
priority          : optional
name              : OpenRSAT
categories        : Utilities,Security,System and network
maintainer        : WAPT Team,Tranquil IT,Louis Persin,Thomas Prud'homme
description       : 
depends           : 
conflicts         : 
maturity          : PROD
locale            : all
target_os         : linux
min_wapt_version  : 2.3
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      : d45193a9-7c8e-4e88-9095-778e7577e69e
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : 
min_os_version    : 
max_os_version    : 
icon_sha256sum    : 03ea977bb46ee771b0e00d075fd36c1b185129a40260935db691719e6f42483d
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date    : 2025-12-03T15:07:20.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         : WcRbTeETBpKDjMqGBEqUGEmqviyX5IDbBwwXogHj0d6U3LI7MBC32W/XT0U7SOla4x8MDqpg/QtbJ5VUTzvM38Gvq6RYLMVnABi6xPzT0TMdmsXt29IFbwc2rURh7m+hPUW+O9PjbOkMD4t3LMmdPSBUO6J8C9R7kQ2IxQ4GfknjlRc1lPMUgBm1LaOnzavxPj+L0SbJs5xrHMYVqnz/wdoG+N/oHW8/GHD0G3DvuHex1B8ptShCCBTFSwuC/cWzoMNSVZf0PXrkramUfFlHu16fTs6MhWT8nvs4w8z/5jtK6jkby7r+66mttZH0vcPmBkPkBr3Pb/J/45tAgOWYow==

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

path = '/opt/openrsat'
name = 'OpenRSAT'

def install():
    arch = 'linux-x64'

    if is64():
        arch = 'x64'

    if is32():
        arch = 'i386'

    if isARM():
        arch = 'arm32'

    if isARM64():
        arch = 'arm64'

    fullname = f'{name}-linux-{arch}'


    mkdirs(path)
    filecopyto(fullname, f"{path}/{name}")
    run(f"chmod 755 {path}/{name}")
    filecopyto('WAPT/icon.png', f'{path}/{name}.png')
    filecopyto(f'{name}.desktop', f"{path}/{name}.desktop")
    run(f'ln -sf "{path}/{name}.desktop" "/usr/share/applications/{name}.desktop"')

def uninstall():
    remove_file(f"/usr/share/applications/{name}.desktop")
    remove_tree(path)


def audit():
    if not isfile(f"{path}/{name}"):
        print("erreur file not found")
        return "ERROR"
    else:
        return "OK"

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

def update_package():
    # Declaring local variables
    proxies = get_proxies()
    if not proxies:
        proxies = get_proxies_from_wapt_console()

    api_url = "https://api.github.com/repos/tranquilit/openrsat/releases/latest"

    # Get data from API
    releases_dict = json.loads(wgets(api_url, proxies=proxies))

    url_download = []
    for asset in releases_dict["assets"]:
        if 'linux' in asset["browser_download_url"]:
            url_download.append(asset["browser_download_url"])

    # Downloading latest binaries
    for url in url_download:
        print("Download URL is: %s" % url)
        latest_bin = url.split('/')[-1]
        if isfile(latest_bin):
            remove_file(latest_bin)
        print("Downloading: %s" % latest_bin)
        wget(url, latest_bin, proxies=proxies)

    version = releases_dict['tag_name'][1:]

    control.set_software_version(version)
    control.save_control_to_wapt()

77eed082ca876c8e43beb27cb4d8165263afae73b090cd005323880283fcb8c2 : OpenRSAT-linux-arm32
0587779847670d8baeb0aed060674aca188d5862b0b963c25a92dd70824e29b4 : OpenRSAT-linux-arm64
30fe1c6d06a6661dbdbf5a57808e011a6e2520ec0ac486b5a56921a2fb62f198 : OpenRSAT-linux-i386
e3c1114b93f89da48bb50abe95988b4627cf92aed1ed3d63328fd4625ddb97e5 : OpenRSAT-linux-x64
d2f0d7aaee4c5bd7f20a884be19d5442d077dcc88df4480eb5d221c09d2fdc8e : OpenRSAT.desktop
38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
0fa1db774d05c59fe90c31b6e5aaf3655f0b26ce300ccbbc6583d306be970b98 : WAPT/control
03ea977bb46ee771b0e00d075fd36c1b185129a40260935db691719e6f42483d : WAPT/icon.png
2cf937f140b21b9c8b81dd9450b68a0050c7d61f963425cd2a102f4e69e4bca7 : luti.json
45395a8b64ec02c4cfb2d56fc9110df930b32c3a86d58ed140a1b398855018f0 : setup.py
ed55704fb4f06e3bd33b145208635f535e01ceb9d60e55b7ff6bddf07a5a7b89 : update_package.py