Skip to content

Instantly share code, notes, and snippets.

View totoleo's full-sized avatar
🎯
Focusing

LEo totoleo

🎯
Focusing
View GitHub Profile
@totoleo
totoleo / foo.md
Created August 22, 2018 06:09 — forked from sdstrowes/foo.md
Reverse Engineering the Speedtest.net Protocol, Gökberk Yaltıraklı

Source: https://web.archive.org/web/20141216073338/https://gkbrk.com/blog/read?name=reverse_engineering_the_speedtest_net_protocol Author: Gökberk Yaltıraklı

Reverse Engineering the Speedtest.net Protocol

After finishing my command line speed tester written in Rust, I didn't have a proper blog to document this process. A few days ago I wrapped up a simple blogging script in Python so hopefully it works good enough to explain how everything works.

By now I have already figured out the whole protocol for performing a speed test but I will write all the steps that I took so you can learn how to reverse engineer a simple protocol.

The code that I wrote can be found at https://github.com/gkbrk/speedtest-rust.

@totoleo
totoleo / php7.sh
Created June 16, 2017 11:01
PHP 7 Compile Shell
apt-get update
apt-get install -y apt apt-transport-https bash binutils ca-certificates coreutils cpio dpkg \
dpkg-dev e2fslibs e2fsprogs gnupg gpgv libapt-pkg4.12 libc-bin libc-dev-bin \
libc6 libc6-dev libcgmanager0 libcomerr2 libcurl3-gnutls libdbus-1-3 \
libdpkg-perl libdrm2 libgcrypt11 libgnutls26 libgssapi-krb5-2 libjson-c2 \
libjson0 libk5crypto3 libkrb5-3 libkrb5support0 libldap-2.4-2 libss2 \
libssl1.0.0 libtasn1-6 linux-libc-dev multiarch-support openssl patch \
pkg-create-dbgsym tzdata libdb-dev libedit-dev libt1-dev libgmp-dev \
autoconf libpq-dev apache2-dev systemtap-sdt-dev libxml2-dev libbz2-dev \
libcurl4-openssl-dev libenchant-dev icu-devtools libicu-dev freetds-dev libsasl2-dev \
@totoleo
totoleo / nginx.conf
Created April 9, 2017 07:42 — forked from Stanback/nginx.conf
Example Nginx configuration for adding cross-origin resource sharing (CORS) support to reverse proxied APIs
#
# CORS header support
#
# One way to use this is by placing it into a file called "cors_support"
# under your Nginx configuration directory and placing the following
# statement inside your **location** block(s):
#
# include cors_support;
#
# As of Nginx 1.7.5, add_header supports an "always" parameter which