Skip to content

Instantly share code, notes, and snippets.

@chenshuo
chenshuo / khash.hpp
Last active July 13, 2020 06:28
khash in C++
#pragma once
#include <stdint.h>
#include <stdlib.h>
#include <string.h>
#include <type_traits>
typedef uint32_t khint_t;
typedef khint_t khiter_t;
@epixoip
epixoip / 1080.md
Last active August 21, 2019 14:04

Nvidia GTX 1080 Hashcat Benchmarks

Product: Sagitta Invictus (PN S2440X-GTX-1080)

Software: Hashcat 3.00-beta-116-g9a54829, Nvidia driver 367.18

Accelerator: 1x Nvidia GTX 1080 Founders Edition

Highlights

@jefmathiot
jefmathiot / telegram-dns
Created April 17, 2018 13:40
Telegram DNS
#!/usr/bin/env ruby
require 'base64'
require 'openssl'
require 'net/http'
require 'ipaddr'
require 'json'
def handle_response(body)
raw = Base64.decode64(body)
rsa_key = OpenSSL::PKey::RSA.new(File.read('public_key.pem'))