Skip to content

Instantly share code, notes, and snippets.

View atao's full-sized avatar
🇲🇫

ATAO atao

🇲🇫
  • Share-Link (FR)
View GitHub Profile
@atao
atao / check_tor.py
Last active February 6, 2024 21:08
Check Tor exit node IP
#!/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()
@atao
atao / rename.sh
Created September 23, 2024 19:02
Rename my Spypoint pictures
#!/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"
@atao
atao / ddluks.sh
Created September 25, 2024 11:02
Mount and dismount an encrypted disk with LUKS.
#!/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