https://github.com/cybercentrecanada/assemblyline-service-torrentslicer
Assemblyline 4 Torrent file metadata extractor
https://github.com/cybercentrecanada/assemblyline-service-torrentslicer
assemblyline malware-analysis metadata-extraction torrent
Last synced: 3 months ago
JSON representation
Assemblyline 4 Torrent file metadata extractor
- Host: GitHub
- URL: https://github.com/cybercentrecanada/assemblyline-service-torrentslicer
- Owner: CybercentreCanada
- License: other
- Created: 2020-04-08T00:57:43.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2025-07-25T19:09:44.000Z (3 months ago)
- Last Synced: 2025-07-25T19:36:52.513Z (3 months ago)
- Topics: assemblyline, malware-analysis, metadata-extraction, torrent
- Language: Python
- Homepage: https://cybercentrecanada.github.io/assemblyline4_docs/
- Size: 54.7 KB
- Stars: 4
- Watchers: 0
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://discord.gg/GUAy9wErNu)
[](https://discord.gg/GUAy9wErNu)
[](https://github.com/CybercentreCanada/assemblyline)
[](https://github.com/CybercentreCanada/assemblyline-service-torrentslicer)
[](https://github.com/CybercentreCanada/assemblyline/issues?q=is:issue+is:open+label:service-torrentslicer)
[](./LICENSE)
# TorrentSlicer Service
Extracts information from torrent files with the help of `bencode`.
## Service Details
The service will output the following information, if available:
### Metadata
- InfoHash
- Announce
- Piece Length
- Announce List
- Creation Date
- Comment
- Created By
- Encoding
- Private
- Name
- A list of URIs
### Calculate Data
- Type of Torrent
- Number of Pieces
- Last Piece Size
- Size of Torrent
### Files
- File Path
- Length
- MD5Sum
- A list of SHA1 hashes that make up the pieces of the torrent
## Image variants and tags
Assemblyline services are built from the [Assemblyline service base image](https://hub.docker.com/r/cccs/assemblyline-v4-service-base),
which is based on Debian 11 with Python 3.11.
Assemblyline services use the following tag definitions:
| **Tag Type** | **Description** | **Example Tag** |
| :----------: | :----------------------------------------------------------------------------------------------- | :------------------------: |
| latest | The most recent build (can be unstable). | `latest` |
| build_type | The type of build used. `dev` is the latest unstable build. `stable` is the latest stable build. | `stable` or `dev` |
| series | Complete build details, including version and build type: `version.buildType`. | `4.5.stable`, `4.5.1.dev3` |
## Running this service
This is an Assemblyline service. It is designed to run as part of the Assemblyline framework.
If you would like to test this service locally, you can run the Docker image directly from the a shell:
docker run \
--name Torrentslicer \
--env SERVICE_API_HOST=http://`ip addr show docker0 | grep "inet " | awk '{print $2}' | cut -f1 -d"/"`:5003 \
--network=host \
cccs/assemblyline-service-torrentslicer
To add this service to your Assemblyline deployment, follow this
[guide](https://cybercentrecanada.github.io/assemblyline4_docs/developer_manual/services/run_your_service/#add-the-container-to-your-deployment).
## Documentation
General Assemblyline documentation can be found at: https://cybercentrecanada.github.io/assemblyline4_docs/
# Service Torrentslicer
Extrait les informations des fichiers torrent à l'aide de `bencode`.
## Détails du service
Le service produira les informations suivantes, si elles sont disponibles :
### Métadonnées
- InfoHash
- Annonce
- Longueur du morceau
- Liste d'annonces
- Date de création
- Commentaire
- Créé par
- Encodage
- Privé
- Nom de l'URI
- Une liste d'URI
### Calculer les données
- Type de torrent
- Nombre de morceaux
- Taille du dernier morceau
- Taille du torrent
### Fichiers
- Chemin d'accès au fichier
- Longueur du fichier
- MD5Sum
- Liste des hachages SHA1 qui composent les morceaux du torrent.
## Variantes et étiquettes d'image
Les services d'Assemblyline sont construits à partir de l'image de base [Assemblyline service](https://hub.docker.com/r/cccs/assemblyline-v4-service-base),
qui est basée sur Debian 11 avec Python 3.11.
Les services d'Assemblyline utilisent les définitions d'étiquettes suivantes:
| **Type d'étiquette** | **Description** | **Exemple d'étiquette** |
| :------------------: | :------------------------------------------------------------------------------------------------------------- | :------------------------: |
| dernière version | La version la plus récente (peut être instable). | `latest` |
| build_type | Type de construction utilisé. `dev` est la dernière version instable. `stable` est la dernière version stable. | `stable` ou `dev` |
| série | Détails de construction complets, comprenant la version et le type de build: `version.buildType`. | `4.5.stable`, `4.5.1.dev3` |
## Exécution de ce service
Ce service est spécialement optimisé pour fonctionner dans le cadre d'un déploiement d'Assemblyline.
Si vous souhaitez tester ce service localement, vous pouvez exécuter l'image Docker directement à partir d'un terminal:
docker run \
--name Torrentslicer \
--env SERVICE_API_HOST=http://`ip addr show docker0 | grep "inet " | awk '{print $2}' | cut -f1 -d"/"`:5003 \
--network=host \
cccs/assemblyline-service-torrentslicer
Pour ajouter ce service à votre déploiement d'Assemblyline, suivez ceci
[guide](https://cybercentrecanada.github.io/assemblyline4_docs/fr/developer_manual/services/run_your_service/#add-the-container-to-your-deployment).
## Documentation
La documentation générale sur Assemblyline peut être consultée à l'adresse suivante: https://cybercentrecanada.github.io/assemblyline4_docs/