I hereby claim:
- I am doegox on github.
- I am doegox (https://keybase.io/doegox) on keybase.
- I have a public key ASBy2tVJN_uwAZ0JQ7eUsLqzCH_qUpKIVo1Jll0Lc2J_cwo
To claim this, I am signing this object:
def set_interactive(): | |
"""Forces interactive mode with autocompletion""" | |
print "<<< Autocompletion was turned on" | |
# Prepare autocompletion mode (rlcompleter is not used per se,. | |
# just for initialisation but that's the way it works) | |
import rlcompleter, readline | |
readline.parse_and_bind('tab: complete') | |
# Force interactive mode | |
os.environ['PYTHONINSPECT'] = '1' |
def debug(): | |
"""Forces jump to PDB prompt""" | |
print "<<< You are in the PDB debugger." | |
import pdb | |
pdb.set_trace() |
I hereby claim:
To claim this, I am signing this object:
#!/bin/bash | |
mkdir -p tmp | |
mount|grep -q $(pwd)/tmp || sudo mount -t tmpfs -o mode=01777,size=200m tmpfs tmp | |
cp simplepdf*.pdf tmp/0.pdf | |
cd tmp | |
for ((i=0;i<11000;i++)); do | |
qpdf --show-object=6 --filtered-stream-data $i.pdf > $(($i+1)).pdf | |
file $(($i+1)).pdf|grep PDF||break | |
rm $i.pdf |
#!/usr/bin/env python3 | |
import struct | |
import zlib | |
# Daytonaaaaaaaaaa!!!!! | |
# by iggy | |
# 200 points | |
# | |
# Never look down and go ahead ! |
/** | |
* @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> |
# 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 |
/* | |
MIT License | |
Copyright (c) 2017: | |
Marc Stevens | |
Cryptology Group | |
Centrum Wiskunde & Informatica | |
P.O. Box 94079, 1090 GB Amsterdam, Netherlands | |
[email protected] |
#!/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? |
#!/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; |