I)ruid, C˛ISSP


Contact
druid (@) caughq (.) org ( GPG Key )
602.466.6006 x2600

Chat

IRC: FreeNode: I}ruid
IRC: EFNet: I}ruid
SILC: CompSec: I)ruid
AIM: CAUDruid

01010100011010000110010101110011
01100101001000000110000101110010
01100101001000000111001101101111
01101101011001010010000001100010
01101001011101000111001100100001

Bits 'o Code

backup-fs.c

Backup utility that will push it's tar.gz through a keyauth'd SSH tunnel to a remote filesystem, avoiding having to store the backup locally. Will use the system fstab for backup targets or a user supplied fstab file.

inet_hton.c

Function to take a hostname (or IPv4 address), resolve it, and convert it into network byte order.

MemoryMap.bt

010 Editor binary template for "memory map" files (see my research on context-keyed payload encoding).

popenrw.c

An implementation of popen() that returns both a read and write file descriptor as well as the process PID (popen() only returns either a read or write descriptor).

printbin.c

Function to print a buffer as binary.

printhex.c

Function to print a buffer as hex with ascii representations.

randmac.c

Little utility that will generate a random MAC address and set the specified interface to that MAC address (defaults to eth0 if no interface is specified).

unencode.c

Function to unencode a buffer from application/x-www-form-urlencoded into text/plain.

Sunday August 09, 2020