Skip to content

Instantly share code, notes, and snippets.

View darconeous's full-sized avatar
🦀

Robert Quattlebaum darconeous

🦀
View GitHub Profile
@darconeous
darconeous / ham-arngll.txt.md
Last active November 2, 2021 18:38
Amateur Radio Next Generation Link Layer (ARNGLL)
@darconeous
darconeous / script.sh
Created September 2, 2015 19:45
removing a section from a configuration file using bash
AMAVIS_CONFIG_HEADER="# Amavis - dockermail - start"
AMAVIS_CONFIG_FOOTER="# Amavis - dockermail - end"
function remove_amavis () {
# main.cf
if grep -q "$AMAVIS_CONFIG_HEADER" "$POSTFIX_MAIN_CF"; then
sed "/$AMAVIS_CONFIG_HEADER/,/$AMAVIS_CONFIG_FOOTER/d" "$POSTFIX_MAIN_CF" -i
fi
# master.cf
sed '/^pickup/,/^cleanup/{//!d}' "$POSTFIX_MASTER_CF" -i
@darconeous
darconeous / gpib-measure.md
Created August 30, 2015 19:10
Open Source GPIB Board Dimensions

Open Source GPIB Board Dimensions

Looking from the top with the GPIB connector facing toward you...

  • PCB WidthxLengthxHeight: 55.2mmx54.9mmx1.7mm
  • PCB+GPIB Height: 17.52mm
  • GPIB Connector Extension from bottom edge of PCB: 9.47mm
  • USB-B connector extension from top edge of PCB: 6.52mm
  • USB-B connector widthxlengthxheight (same orientation as pcb): 12mmx16.32mmx10.67mm
@darconeous
darconeous / apple-remote-ir.txt.md
Created August 15, 2015 19:09
Apple Remote IR Code #Hacking #Hardware #Reverse-Engineering

Apple Remote IR Code

This document covers the old white apple remote.

  • Carrier: ~38KHz
  • Start: 9ms high, 4.5ms low
  • Pulse width: ~0.58ms (~853Hz)

Uses pulse-distance modulation.

@darconeous
darconeous / remotizer.txt.md
Last active November 18, 2016 22:14
Remotizer Hacking Notes
@darconeous
darconeous / small-merkle.md
Created August 3, 2015 21:54
More Efficient Merkle Signatures

More Efficient Merkle Signatures

Author: Robert Quattlebaum [email protected]
Date: 2015-08-03

This document describes a mechanism for achieving a significant improvement in the efficiency of merle signatures, allowing public keys that are 5% smaller and signatures that are 37% smaller.

@darconeous
darconeous / sofia.txt
Last active March 24, 2021 23:17
ESDV-NVRION-8 App Log #Logs
[root@LocalHost /var]$ ls
Sofia lockfile
[root@LocalHost /var]$ ./Sofia
LibCrypto : FILE -> crypto.c, LINE -> 1339: CryptoCreate Open Crypto Failed!
atmagic[0]=d2,atmagic[1]=d4, ret[0], cptat24c_fd[4]
CryptoDecryptFlashData,254
CryptoDecryptFlashData,279
CryptoDecryptFlashData,281
LibCrypto : g_cryptotype = 1
SERIES_TYPE = 3
@darconeous
darconeous / oid.voria.net.txt
Last active November 12, 2019 23:10
oid.voria.net.txt
# voria.net, OID 1.3.6.1.4.1.45337
# BER Encoding: 2B 06 01 04 01 82 e2 99
# http://www.iana.org/assignments/enterprise-numbers/enterprise-numbers
1 3 6 1 : IANA
IANA 4 1 45337 : id-voria
# -------------------
id-voria 1 : id-voria-people
@darconeous
darconeous / lcg.csv
Last active August 29, 2015 14:13
Linear congruential generators
mod a c
2^6 37 13
2^8 109 47
2^32 1664525 1013904223
@darconeous
darconeous / yubikey-apdu.md
Last active January 7, 2021 13:03
Yubikey Applet #Security

The AID of the yubikey applet on the Yubikey Neo is A000000527200101.

You can select it with the APDU 00 a4 04 00 08 A0 00 00 05 27 20 01 01.

For the YubiKey applet there are 4 commands:

  • ins 0x01 is a YubiKey API request (as used by the yubico personalization tools) with command in p1
  • ins 0x02 is a request for an OTP with slot in p1 (zero indexed)
  • ins 0x03 is a YubiKey status request