Binary Format of GameMaker 8 Files (gmk) Copyright (c) 2008, 2009 IsmAvatar [email protected]
The document has been adapted only slightly by Yambam [email protected] for better readability
[TOC]
#!/bin/bash | |
# Load balance multiple internet connections. Requires iproute2, awk and grep. | |
# (C) 2016 Tobias Girstmair, isticktoit.net, GPLv2 | |
# Also useful: speedometer -l -r eth1 -t eth1 -m $(( 1024 * 1024 * 3 / 2 )) | |
# Not much user error checking is done - only pass working network connections | |
# script needs root to work and at least two interfaces to be useful | |
[ $EUID -eq 0 -a $# -ge 2 ] || { | |
echo "Usage (as root): $0 iface1[:weight1] iface2[:weight2] ..." >&2 |
Binary Format of GameMaker 8 Files (gmk) Copyright (c) 2008, 2009 IsmAvatar [email protected]
The document has been adapted only slightly by Yambam [email protected] for better readability
[TOC]
var crypto = require('crypto'); | |
/* | |
msg_key_large = SHA256 (substr (auth_key, 88+x, 32) + plaintext + random_padding); | |
msg_key = substr (msg_key_large, 8, 16); | |
sha256_a = SHA256 (msg_key + substr (auth_key, x, 36)); | |
sha256_b = SHA256 (substr (auth_key, 40+x, 36) + msg_key); | |
aes_key = substr (sha256_a, 0, 8) + substr (sha256_b, 8, 16) + substr (sha256_a, 24, 8); | |
aes_iv = substr (sha256_b, 0, 8) + substr (sha256_a, 8, 16) + substr (sha256_b, 24, 8); | |
*/ |