This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python | |
| # -*- coding: utf-8 -*- | |
| import requests | |
| from lxml import html | |
| proxy_url = "socks5://localhost:9050" | |
| proxies = {"http": proxy_url, "https": proxy_url} | |
| r = requests.Session() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # Check if a directory has been provided as an argument | |
| if [ "$#" -ne 1 ]; then | |
| echo "Usage: $0 path_to_directory" | |
| exit 1 | |
| fi | |
| directory="$1" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # Variables | |
| DEVICE="/dev/sda" # Remplacez par le chemin de votre disque chiffré | |
| MOUNT_POINT="/mnt/DD" # Remplacez par le point de montage souhaité | |
| CRYPT_NAME="DD" # Nom du volume chiffré | |
| # Fonction pour monter le disque | |
| mount_disk() { | |
| # Vérifier si le point de montage existe, sinon le créer |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Define the folder path | |
| $folderPath = $PSScriptRoot | |
| # Get all HEIC files in the folder | |
| $heicFiles = Get-ChildItem -Path $folderPath -Filter *.HEIC | |
| # Counter for deleted files | |
| $deletedCount = 0 | |
| # Loop through each HEIC file |
OlderNewer