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 | |
import time | |
MFINFO = True | |
ATS = True | |
FDT = True | |
NACK = True | |
SF = True | |
CMD00 = True |
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 | |
# Example from https://cryptobook.nakov.com/digital-signatures/ecdsa-sign-verify-examples | |
# updated to latest pycoin & OpenSSL APIs (2020-09) | |
# pip install --user pycoin | |
# pip install --user secrets | |
from pycoin import intbytes | |
from pycoin.ecdsa.secp256k1 import secp256k1_generator | |
import hashlib, secrets |
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
A2D9B91EDC88040044C2770731343938 | |
00000000000000000000000000000000 | |
00000000000000000000000000000000 | |
FFFFFFFFFFFFFF078069FFFFFFFFFFFF | |
00000000000000000000000000000000 | |
00000000000000000000000000000000 | |
00000000000000000000000000000000 | |
FFFFFFFFFFFFFF078069FFFFFFFFFFFF | |
00000000000000000000000000000000 | |
00000000000000000000000000000000 |
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
proxmark3-RRG.git$ ./show-sizes.sh | |
Bootphase1 @00000: 512/512 | |
Bootphase2 @00200: 3488/7680 = 45.4167% | |
Text+Data @02000: 234576/253952 = 92.3702% | |
234576/516096 = 45.452% | |
10 largest .text: | |
================= | |
text data bss dec hex filename | |
21339 166 132 21637 5485 armsrc/obj/iso14443a.o |
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/bash | |
for ((i=0; i<100; i++)); do | |
echo -e "\n\nIteration $i" | |
rm -f test_flash_in.bin test_flash_out.bin | |
dd if=/dev/urandom of=test_flash_in.bin bs=65536 count=3 | |
./proxmark3.sh -c " | |
mem wipe p 0; | |
mem wipe p 1; | |
mem wipe p 2; |
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 | |
# TROOPERS2019 | |
# @doegox | |
# The script will resize the image and convert it to BW image if needed but | |
# I would advise to do it yourself first with e.g. Gimp for a better control | |
# of the aspect ration and the BW threshold. | |
# Target: 296x128, black & white (no grey) | |
# Shall we display the result locally? |
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
/* | |
MIT License | |
Copyright (c) 2017: | |
Marc Stevens | |
Cryptology Group | |
Centrum Wiskunde & Informatica | |
P.O. Box 94079, 1090 GB Amsterdam, Netherlands | |
[email protected] |
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
# From https://hallard.me/raspberry-pi-read-only/ | |
# DON'T APPLY IT BLINDLY! USE IT AS A GUIDE | |
apt-get install -y busybox-syslogd; dpkg --purge rsyslog | |
sed -i 's/rootwait/rootwait fastboot noswap ro/' /boot/cmdline.txt | |
rm -rf /var/lib/dhcp/ /var/run /var/spool /var/lock /etc/resolv.conf | |
ln -s /tmp /var/lib/dhcp | |
ln -s /tmp /var/run | |
ln -s /tmp /var/spool | |
ln -s /tmp /var/lock |
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
/** | |
* @file st_srx.c | |
* @brief Quick start example that presents how to discover a ST SRx tag | |
*/ | |
// To compile this simple example: | |
// $ gcc -o st_srx st_srx.c -lnfc | |
#include <stdlib.h> | |
#include <nfc/nfc.h> |
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 | |
import struct | |
import zlib | |
# Daytonaaaaaaaaaa!!!!! | |
# by iggy | |
# 200 points | |
# | |
# Never look down and go ahead ! |
NewerOlder