Skip to content

Instantly share code, notes, and snippets.

View wtfbbqhax's full-sized avatar
🦧

Victor Roemer wtfbbqhax

🦧
View GitHub Profile

Keybase proof

I hereby claim:

  • I am wtfbbqhax on github.
  • I am wtfbbqhax (https://keybase.io/wtfbbqhax) on keybase.
  • I have a public key whose fingerprint is CEE1 D2EB FB0E BD2D 9D3A 11BC 4224 F290 8647 DFC0

To claim this, I am signing this object:

@wtfbbqhax
wtfbbqhax / Makefile.local
Created June 12, 2016 23:49
ioq3/Tremulous Makefile.local
#
# .,;. `':.
# ;':;:,:;, ';
# .;|' `' '; ':
# :!`: . .:. .¡` ':,
# :::' .`ˆ`vjr;, !¡:..
# ;; .:``;,;;''; blowFish@badsec.org
# ':;¡'; ';'. ' ```:¡!;'````````````
# `'`;.._':.: .,::`
# . ':;..;,:;..';;` . `',
@wtfbbqhax
wtfbbqhax / LLDB.md
Last active August 27, 2016 17:42
OSX traces of Tremulous .app bundle failing Pk3 bootstrap
~ ❯❯❯ lldb -n tremulous
(lldb) process attach --name "tremulous"
Process 81586 stopped
* thread #1: tid = 0x2fc8f7b, 0x00007fff966b52a2 libsystem_kernel.dylib`poll + 10, queue = 'com.apple.main-thread', stop reason = signal SIGSTOP
    frame #0: 0x00007fff966b52a2 libsystem_kernel.dylib` poll  + 10
libsystem_kernel.dylib`poll:
->  0x7fff966b52a2 <+10>: jae    0x7fff966b52ac            ; <+20>
    0x7fff966b52a4 <+12>: mov    rdi, rax
 0x7fff966b52a7 &lt;+15&gt;: jmp 0x7fff966ae7f2 ; cerror
@wtfbbqhax
wtfbbqhax / binsh.c
Created September 14, 2016 12:45
Beauty and the Bin/sh
// * .,.. _ _ _
// ` ,:':::` | | (_) | |
// :: ::::=. . | |__ _ _ __ ___| |__ ___
// \.:|| .::::| :: | '_ \| | '_ \ / __| '_ \ / __|
// /_.|| .:::::u::: * | |_) | | | | |\__ \ | | || (__
// .- ||______:::: . |_.__/|_|_| |_||___/_| |_(_)___|
// '-------::'
// \_\= /'::.':'
// ///_ - --_ Victor Roemer (wtfbbqhax), <victor@badsec.org>.
///._\=---- Wrote sometime between 2014-2015
@wtfbbqhax
wtfbbqhax / [Copypasta] Install YouCompleteMe on OSX.md
Created October 12, 2016 20:17
[Copypasta] Install YouCompleteMe on OSX
cd ~/.config/nvim/bundle
# cd ~/.vim/bundle
git clone --depth=10 git@github.com:Valloric/YouCompleteMe.git
cd YouCompleteMe
git submodule update --init --recursive
./install.py --clang-completer
@wtfbbqhax
wtfbbqhax / autoupdate.cpp
Created October 21, 2016 17:22
Autoupdate Demo
#include <chrono>
#include <iostream>
#include <fstream>
#include <thread>
#include <unistd.h> // getcwd
#include <libgen.h> // basename
#define VERSION "1.3"
@wtfbbqhax
wtfbbqhax / generate_library_loader.py
Created November 3, 2016 09:58
A library loader code generator for dlopen
#!/usr/bin/env python
# Copyright (c) 2012 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
#
# Stolen/modified from Chromium on Nov 3. 2016, ~6:00AM
# -----------------------------
# [Issue 11415138: Linux: create a library loader code generator for dlopen and use it for libpci.]
# (https://codereview.chromium.org/11415138]
@wtfbbqhax
wtfbbqhax / sample-httpjson-client_lua.lua
Created November 3, 2016 15:25
A sample Restful JSON Client API
--[[
_____ _ _
|_ _| __ ___ _ __ ___ _ _| | ___ _ _ ___ | | _ _ __ _
| || '__/ _ \ '_ ` _ \| | | | |/ _ \| | | / __|_____| | | | | |/ _` |
| || | | __/ | | | | | |_| | | (_) | |_| \__ \_____| |__| |_| | (_| |
|_||_| \___|_| |_| |_|\__,_|_|\___/ \__,_|___/ |_____\__,_|\__,_|
Victor Roemer [WTFBBQHAX]
Nov. 03, 2016 10:53:27AM EST