Skip to content

Instantly share code, notes, and snippets.

View dkg's full-sized avatar

dkg dkg

View GitHub Profile
@dkg
dkg / sharing.c
Created February 5, 2018 00:23
two processes sharing a listening socket
#include <stdio.h>
#include <sys/types.h>
#include <unistd.h>
#include <sys/socket.h>
#include <sys/un.h>
#include <stdlib.h>
#include <errno.h>
#include <string.h>
/* Author: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
@dkg
dkg / CVE-2017-7229.md
Created May 3, 2017 18:24
A description of 2017-7229: Vaultive O365 Content-Type Mangling

CVE-2017-7299

Vaultive O365 Content-Type Mangling

PGP/MIME encrypted messages injected into a Vaultive O365 frontend via IMAP or SMTP have their Content-Type changed from:

Content-Type: multipart/encrypted; protocol="application/pgp-encrypted"; boundary="abc123abc123"