Skip to content

Instantly share code, notes, and snippets.

@vqhuy
vqhuy / docker-cleanup-resources.md
Created July 20, 2017 05:43 — forked from bastman/docker-cleanup-resources.md
docker cleanup guide: containers, images, volumes, networks

Docker - How to cleanup (unused) resources

Once in a while, you may need to cleanup resources (containers, volumes, images, networks) ...

delete volumes

// see: https://github.com/chadoe/docker-cleanup-volumes

$ docker volume rm $(docker volume ls -qf dangling=true)

$ docker volume ls -qf dangling=true | xargs -r docker volume rm

@vqhuy
vqhuy / resources.md
Created April 18, 2017 13:51 — forked from iam1980/resources.md
Shadow Brokers EQGRP Lost in Translation resources
@vqhuy
vqhuy / iMessage.md
Created May 28, 2016 05:53 — forked from anonymous/iMessage.md
Apple iMessage - Deficient by Design

Apple iMessage – Deficient by Design


Apple iMessage uses MAC-less encryption with malleable ciphertext. That, however, is not the worst part, and neither are the small 1280-bit RSA keys.

The worst part is that iMessage uses an independent ECDSA signature key, which is not only "independent" due to being a separate/different key from the AES encryption key, but also due to not being involved in the encryption/decryption stage at all!

dodgetocat_v2 (source)

@vqhuy
vqhuy / crackme.c
Last active August 3, 2016 16:26 — forked from TylerOderkirk/crackme.c
A demonstration of Markus Gaasedelen's method for reversing a binary - see URL in find_password.py
#include <stdlib.h>
#include <stdio.h>
void main(int argc, char *argv[])
{
if( argv[1][0] == 'f' ) {
if( argv[1][1] == 'o' ) {
if( argv[1][2] == 'o' ) {
if( argv[1][3] == '\x00' ) {
printf( "good password\n" );