This file contains 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
[core] | |
autocrlf = input | |
[user] | |
name = Mauro A. Meloni | |
email = [email protected] | |
# the following is only available on git 2.35+ | |
# signingkey = ssh-ed25519 ... | |
[pull] | |
ff = only | |
[alias] |
This file contains 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/sh | |
# | |
# get-hsk-info.sh: dump info about a Hardware Security Key (HSK) or Hardware Security Module (HSM) | |
# | |
# Mauro A. Meloni <com.gmail@maumeloni> | |
# | |
# Version 20201127.02 | |
# | |
REQUIRED_PACKAGES="opensc pcscd rng-tools" |
This file contains 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 python3 | |
"""EC717 Bluetooth Headset Connector for Linux/PulseAudio | |
Version 20210228.01 | |
RATIONALE | |
--------- | |
I got a bluetooth headset as a gift and couldn't get it to work with Linux. |
This file contains 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
/* | |
* Carre4 shopping assistant v0.6 | |
* | |
* Este script agrega un filtro de ofertas en el sitio de venta en línea de una conocida cadena de supermercados. | |
* Esta versión funciona para https://www.carrefour.com.ar/ | |
* Si busca una que funcione en https://tupedido.carrefour.com.ar/ use la versión previa (v0.4) | |
* | |
* INSTALL | |
* | |
* 1. Si usás Chrome, agregá la extensión "Custom JavaScript for Websites 2" (o "Tampermonkey", o cualquier otra que haga lo mismo) |
This file contains 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 python3 | |
# | |
# ekans-explained.py | |
# | |
# ekans-explained.py is a hand-made recovery of the Ekans challenge of Ekoparty Main-CTF 2020 | |
import base64 # added due to its usage on line | |
import inspect # added due to its usage on line | |
import os # added due to its usage on line | |
import socket # added due to its usage on line |
This file contains 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
// this was coded in a rush; you've been warned | |
#include <limits.h> | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
#include <openssl/md5.h> | |
#include <ctype.h> | |
#define START 0xf7000000 // we should start at 0, but it will take a lot of time | |
#define BLOCK_SIZE 38 |
This file contains 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
diff --git a/crypto_identifier.py b/crypto_identifier.py | |
index 24091a0..147b3f7 100644 | |
--- a/crypto_identifier.py | |
+++ b/crypto_identifier.py | |
@@ -115,9 +115,9 @@ class BlockCipher(): | |
try: | |
for size in self.algo.key_size: | |
if len(key) < size: | |
- return "%s%s" % (key, ("\0" * (size - len(key)))) | |
+ return key + (b'\0' * (size - len(key) - 1)) |
This file contains 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 python3 | |
from os import makedirs | |
from os.path import exists | |
import re | |
import requests | |
def getid(url): | |
_, pasteid = url.rstrip('/').rsplit('/', 1) |
This file contains 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 python3 | |
# | |
# gifexam.py | |
# | |
# Mauro A. Meloni <com.gmail@maumeloni> | |
# | |
# gifexam is a tool to analyse the internal structures of a animated gif file | |
# | |
# This was coded under the influence of substances. You've been warned. | |
# |