Skip to content

Instantly share code, notes, and snippets.

View drego85's full-sized avatar

Andrea Draghetti drego85

View GitHub Profile
@drego85
drego85 / remove_dot.sh
Last active December 22, 2024 00:25
Clean and Safely Eject macOS Volumes
#!/bin/bash
# Utility Script: Clean and Safely Eject macOS Volumes
#
# This script is designed to to remove unnecessary macOS
# system files (e.g., .DS_Store) from USB drives or
# SD cards and safely eject selected volume
#
# It ensures a clean and clutter-free storage device for
# use on other systems and provides a streamlined process
# for volume management.
@drego85
drego85 / index.html
Last active December 2, 2024 14:07
BitTorrent Magnet Link Generator
<!-- This tool generates a BitTorrent Magnet Link based on a given hash value and optionally a custom resource name.
You can also provide the "hash" and "name" parameters as URL GET parameters,
and they will be automatically filled into the form.
Customize the trackers by editing the list below.
These will be included in the generated magnet link to ensure better availability and downloading speed.
Made with ♥ by Andrea Draghetti
This file may be licensed under the terms of of the GNU General Public License Version 3 (the ``GPL''). -->
@drego85
drego85 / apk-patcher.py
Last active December 2, 2024 14:07
Fix APK (Android Package) files that have corrupt or non-standard ZIP headers
#!/usr/bin/env python3
#
# This Python script is designed to fix APK (Android Package)
# files that have corrupt or non-standard ZIP headers.
# Specifically, it corrects invalid compression methods, sets
# the compression method to “no compression” and updates the
# file sizes in the headers. This allows the APK to conform
# to the standard ZIP specification, facilitating analysis
# and decompilation with tools such as JADX.
#
@drego85
drego85 / bcrypt_dictionary_attack.py
Created November 5, 2024 13:09
This script performs a dictionary attack on a bcrypt hash provided by the user
#!/usr/bin/env python3
#
# This script performs a dictionary attack on a bcrypt
# hash provided by the user.
#
# It reads a list of candidate passwords from a
# specified dictionary file (`pass.txt`) and checks
# each password against the bcrypt hash using the
# Python `bcrypt` library.
#
@drego85
drego85 / upload_wpa-sec.py
Last active April 14, 2025 11:41
Script for automatic upload of handshakes to Distributed WPA PSK auditor (wpa-sec.stanev.org)
#!/usr/bin/env python3
#
# Script for automatic upload of handshakes captured
# by Pwnagotchi, Flipper Zero or Marauder to
# Distributed WPA PSK auditor (wpa-sec.stanev.org).
#
# The script is progressive, not sending to WPA Sec
# handshaske already analysed.
#
# The script also saves the detected WPA keys locally.
#!/usr/bin/env python3
#
# Python script per il download immediato di tutti i
# numeri di Nuova Elettronica resi disponibili da
# Roberto Bizzarri: https://www.robertobizzarri.net
#
# Made with ♥ by Andrea Draghetti
#
# This file may be licensed under the terms of of the
# GNU General Public License Version 3 (the ``GPL'').
@drego85
drego85 / Immuni Application
Last active June 1, 2020 21:33
Block the traffic of the Immuni Application.
#
# Immuni Blocklist: block the traffic of the Immuni Application.
#
# Immuni is the Italian contact tracing app.
#
# Compatible with Pi-Hole, AdAway, Blokada and any other Host/DNS filtering system.
#
# Last Update: Mon, 01 Jun 2020 21:11:47 UTC
#
# This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.
@drego85
drego85 / linuxjournal_download.py
Created August 27, 2019 09:34
Simple python3 script for downloading all free issues of Linux Journal
#
#
# Simple python3 script for downloading all free issues of Linux Journal
# The script will download all the available versions: pdf, epub and mobi
#
# Powered By Andrea Draghetti
#
#
#!/usr/bin/python3
@drego85
drego85 / italiano.bat
Last active August 21, 2019 13:19
OneClick: Change the Region and Language to Italian on Windows (best for Any.run)
::=================================================================================
::
:: Change the Region and Language to Italian (Formats, Location and Keyboard)
:: Change the TimeZoneInformation to W. Europe Standard Time
::
:: Powered By Andrea Draghetti
::
:: Version 0.2 - Changelog:
::
:: 0.1 - Initial version
@drego85
drego85 / irc.md
Last active July 5, 2018 09:24 — forked from xero/irc.md
irc cheat sheet

#IRC Reference

Not intended as a guide for newbies, more like a "cheat sheet" for the somewhat experienced IRC user, especially one who wields some power over a channel.

##The Basics

  • /join #channel
    • Joins the specified channel.
  • /part #channel
  • Leaves the specified channel.