tis-prey icon

Prey

Paquet d’installation silencieuse pour Prey

1.13.29-3
Utilities
Utilities

Les paquets PREPROD sont des paquets construits via LUTI. Ils restent généralement 5 jours en PREPROD, après quoi un deuxième scan VirusTotal est effectué pour vérifier que le status n'a pas changé.
Si le paquet réussit ce dernier contrôle, il est promu en PROD et publié sur le store.

  • package: tis-prey
  • name: Prey
  • version: 1.13.29-3
  • categories: Utilities
  • maintainer: WAPT Team,Tranquil IT,Amel FRADJ
  • licence: opensource_free,wapt_public
  • target_os: windows
  • impacted_process: Prey Anti-Theft
  • architecture: x64
  • signature_date:
  • size: 89.07 Mo
  • homepage : https://preyproject.com/

package           : tis-prey
version           : 1.13.29-3
architecture      : x64
section           : base
priority          : optional
name              : Prey
categories        : Utilities
maintainer        : WAPT Team,Tranquil IT,Amel FRADJ
description       : Prey lets you keep track of your laptop, phone and tablet whenever stolen or missing - easily and all in one place. It's lightweight, open source software that gives you full and remote control, 24/7
depends           : 
conflicts         : 
maturity          : PREPROD
locale            : 
target_os         : windows
min_wapt_version  : 2.3
sources           : 
installed_size    : 
impacted_process  : Prey Anti-Theft
description_fr    : Prey vous permet de suivre votre ordinateur portable, votre téléphone et votre tablette en cas de vol ou de disparition, facilement et en un seul endroit. Il s'agit d'un logiciel léger et open source qui vous donne un contrôle total et à distance, 24 heures sur 24 et 7 jours sur 7
description_pl    : Prey umożliwia śledzenie laptopa, telefonu i tabletu w przypadku kradzieży lub zaginięcia - łatwo i w jednym miejscu. Jest to lekkie oprogramowanie typu open source, które zapewnia pełną i zdalną kontrolę 24/7
description_de    : Mit Prey können Sie Ihren Laptop, Ihr Telefon und Ihr Tablet im Auge behalten, wenn sie gestohlen werden oder fehlen - ganz einfach und an einem Ort. Es ist eine leichtgewichtige Open-Source-Software, die Ihnen rund um die Uhr die volle Kontrolle und Fernsteuerung gibt
description_es    : Prey te permite hacer un seguimiento de tu portátil, teléfono y tableta en caso de robo o desaparición, de forma sencilla y todo en un mismo lugar. Es un software ligero y de código abierto que te ofrece un control total y remoto, 24/7
description_pt    : O Prey permite-lhe controlar o seu computador portátil, telemóvel e tablet sempre que for roubado ou desaparecer - facilmente e num único local. É um software leve e de código aberto que lhe dá controlo total e remoto, 24 horas por dia, 7 dias por semana
description_it    : Prey consente di tenere traccia di laptop, telefoni e tablet rubati o smarriti, in modo semplice e in un unico luogo. È un software leggero e open source che vi offre un controllo completo e remoto, 24 ore su 24, 7 giorni su 7
description_nl    : Met Prey kun je je laptop, telefoon en tablet in de gaten houden als deze gestolen of vermist worden - eenvoudig en allemaal op één plek. Het is lichtgewicht, open source software waarmee je 24/7 volledige controle op afstand hebt
description_ru    : Prey позволяет следить за ноутбуком, телефоном и планшетом в случае кражи или пропажи - легко и в одном месте. Это легкое программное обеспечение с открытым исходным кодом, которое обеспечивает полный и удаленный контроль, 24/7
audit_schedule    : 
editor            : 
keywords          : 
licence           : opensource_free,wapt_public
homepage          : https://preyproject.com/
package_uuid      : 0f2b142f-c964-4207-8419-cba5faba2133
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : 
min_os_version    : 10.0
max_os_version    : 
icon_sha256sum    : 7a15bca1c6ee905e68b635ae2d2611c6891318f90d09743863f7d3e1ee12eceb
signer            : test
signer_fingerprint: b82fc8ef4a4475c0f69ac168176c2bfc58f572eb716c4eadd65e4785c155dd8e
signature_date    : 2026-04-02T18:08:48.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         : NCiVydc648PLlTjDgYmh4RgiLMjvT+jbfVgpLi3bknAm2FOE7BYQZYMzQuZp3TwBXA7TdrYQD3dgZIEx8suHpvrXO5r9lQvMsm7v0m8OLU7TrPrELkWgrvhtVye4k0ptyk8yFcUPbpXDVFIEGx0TQqy7iw2hzU+MWIlNl6gdqDnGq4fXWeaZj6PQmHgv+erp80ttMw2ndGF+bPCHpeu4A+Hhhzx6Z/2q2G68pHv8MwBv2omz+WHxYrHhYQmH8oU5VB+l6PUk3PxcMtvsNpn38Sb4t4utjAFZWymyF6B11j9+UPOZrnkaSY5XuXSa+hbtLWgRI3BdLrH5MppMDH0WWQ==

# -*- 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('prey-windows-*.msi')[0]
    # Installing the software
    
    install_msi_if_needed(
        bin_name,
        properties='AGREETOLICENSE="yes"',
        name="Prey Anti-Theft",
        min_version=control.get_software_version()
    )


# -*- coding: utf-8 -*-
##################################################
# This file is part of WAPT Enterprise
# All right reserved, (c) Tranquil IT Systems 2024
# For more information please refer to
# https://wapt.tranquil.it/store/licences.html
##################################################
from setuphelpers import *


def update_package():
    # Declaring local variables
    package_updated = False
    proxies = get_proxies_from_wapt_console()
    if not proxies:
        proxies = get_proxies()
    app_name = control.name

    api_url = "https://api.github.com/repos/prey/prey-node-client/releases/latest"
    dict_arch = {
        "x64" :"-x64.msi",
        "x86" : '-x86.msi'
    }


    releases_dict = wgets(api_url, proxies=proxies, as_json=True)
    for asset in releases_dict["assets"]:
        if asset["browser_download_url"].endswith('.msi') and dict_arch[control.architecture] in asset["browser_download_url"]:
            download_url = asset["browser_download_url"]
            latest_bin = asset["name"]
            latest_bin_extension = latest_bin.rsplit('.', 1)[-1]
            version = releases_dict["tag_name"].replace('v','')
            break

    # Downloading latest binaries
    print(f"Latest {app_name} version is: {version}")
    print(f"Download URL is: {download_url}")
    if not isfile(latest_bin):
        print(f"Downloading: {latest_bin}")
        wget(download_url, latest_bin, proxies=proxies)
    else:
        print(f"Binary is present: {latest_bin}")

    # Changing version of the package
    if Version(version) > Version(control.get_software_version()):
        print(f"Software version updated (from: {control.get_software_version()} to: {Version(version)})")
        package_updated = True
    else:
        print(f"Software version up-to-date ({Version(version)})")

    for f in glob.glob(f'*.{latest_bin_extension}'):
        if f != latest_bin:
            remove_file(f)

    control.set_software_version(version)
    control.save_control_to_wapt()

    return package_updated

01ca7fe94636e5a08fcb73849d3b5df25d51e2c82f4dd1a08f01798b25899819 : WAPT/certificate.crt
069af206359e6c0efa72de80ea11c1bf47be41e0c5ec9a99a51b793db51d48aa : WAPT/control
7a15bca1c6ee905e68b635ae2d2611c6891318f90d09743863f7d3e1ee12eceb : WAPT/icon.png
003604735e5cec81a8c044bdfbb40ba06cb9e977687a3d8c651254830af0cd1b : luti.json
f7675836cac1f2b9fcd20a201bc4fef62faa4198083454312ba07e4dc1c006fd : prey-windows-1.13.29-x64.msi
e6f640135b8376701525129cbb194085a4761b431661b67cee100b86c345fd34 : setup.py
b0488a53295104b8df57d34fb7003dfefb037479532167af6ac334fccb9a9168 : update_package.py