Skip to content

Instantly share code, notes, and snippets.

View notxesh's full-sized avatar

xesh notxesh

  • "a <b>lol</b>
  • "a <b>lol</b>
View GitHub Profile
@notxesh
notxesh / uid_cloner.py
Created August 9, 2025 05:25
UFR Zero XL UID Cloning
#!/usr/bin/env python3
import os
import time
from ctypes import *
from enum import Enum
"""
Quick and dirty script to log card UIDs
Implemented for the UFR Zero XL https://webshop.d-logic.com/ufr-zero-xl.html
@notxesh
notxesh / install-arch.md
Created July 4, 2023 06:39 — forked from mjnaderi/install-arch.md
Install Arch Linux with Full Disk Encryption (LVM on LUKS)
@notxesh
notxesh / ipexpand
Created May 26, 2023 06:01
Expand a range of IP addresses
#!/usr/bin/python3
import sys
import ipaddress
if len(sys.argv) != 2:
sys.exit("USAGE: ipexpand <range>")
try:
@notxesh
notxesh / CryptoJS.py
Last active April 5, 2023 16:26
A Crypto-JS AES KDF Python Implementation
import base64
from Crypto.Hash import MD5
from Crypto.Util.Padding import unpad, pad
from Crypto.Cipher import AES
from binascii import unhexlify
class CryptoJS(object):
password = 'Password' # Password for the KDF function, usually found in calls to CryptoJS.AES.encrypt('data','Password')
salt = unhexlify('0011223344556677') # 8 Byte static salt, this should be random but eh
@notxesh
notxesh / PM3-Easy-Generic-Small-Compliation-Notes
Last active February 28, 2023 13:42
[OSX] Proxmark3 Easy (Generic Small 256kb) Compliation Notes
"""
Quick Proxmark3 Easy / Generic 256kb Notes on flashing
======================================================
Decide if you want your proxmark to be in LF (Low
Frequency mode 125kHz) or HF (High Frequency Mode
13.56kHz), once decided install below accordingly.
Once you have the pm3 toolkit installed plug in the
proxmark3 easy. I find that flashing the bootrom
first prevents most issues, run the following:
#!/usr/bin/python3
# Raw Python3 memcache dumper
# Handy for internals ;)
import sys
from socket import socket, AF_INET, SOCK_STREAM
ip = sys.argv[1] if len(sys.argv)>1 else None
port = int(sys.argv[2]) if len(sys.argv)>2 else 11211
if ip == None:
@notxesh
notxesh / bof_minishare.py
Last active November 17, 2021 01:21
Minishare 1.4.1 BoF
#!/usr/bin/python3
#
# Minishare 1.4.1 BoF
#
from pwn import *
from time import sleep
ip = "192.168.253.130"
#!/usr/bin/python3
#
# SLMail 5.5 PASS BoF
#
from pwn import *
ip = ""
port = 110
@notxesh
notxesh / badchargen.py
Created November 16, 2021 04:24
Badchars
#!/usr/bin/python3
arr = []
x = 0
for i in range(0,256):
if x == 0:
arr.append('badchars += b"')
arr.append("\\x{0:02x}".format(i))
x+=1
if x > 16: