• Stars
    star
    159
  • Rank 228,115 (Top 5 %)
  • Language
    Assembly
  • Created almost 5 years ago
  • Updated about 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Binary Golf Examples and Resources

golfclub

Hey there! I made this repo to track source files for binary golf.

What is binary golf?

To put it simply, it's creating the smallest possible binary that still does something. There have been numerous patterns in the past to create things like this (see: demoscene), but many of these examples only run on older systems. My intention was to explore some of the code patterns and tricks that are necessary to make impossibly tiny binaries work on modern systems.

The examples contained in this first iteration are ELF64 files, meant to run on 64 bit Linux systems. They will be expanded on and sorted by processor arch and operating system in the future.

What is the goal?

I'm hoping that these files will inspire others to create very tiny versions of things on all types of modern systems, and play with their target platform in order to do more with less.

How can I contribute?

Play around with some of the examples, and write your own! See what you can do with a few bytes and build your way up. I'm looking to do some streams on developing these sorts of things and how to make them useful, as well as more write ups on specific techniques and errata.

If you have any questions or comments, hit me up on twitter - @netspooky

PRs are welcome!

More Repositories

1

xx

The xx file format. Turn your hex dumps into art, then into binary data.
Python
323
star
2

scare

A multi-arch assembly REPL and emulator for your command line.
Python
261
star
3

protocols

Python
223
star
4

inhale

A malware analysis and classification tool.
Python
192
star
5

gtfoplus

Linux Local Privesc Helper and Agent
Python
166
star
6

pdiff

Binary Protocol Differ
Python
99
star
7

BGGP

Binary Golf Grand Prix
Assembly
96
star
8

yxd

yxd - Yuu's heX Dumper
Python
77
star
9

reversi

Generate very tiny reverse shell binaries for Linux~
Assembly
70
star
10

jLoot

JIRA Secure Attachment Looter
Python
70
star
11

dissectors

random dissectors
Lua
62
star
12

kimagure

Assembly
40
star
13

hardcode

64KB and smaller demoscene intros. Sorted by size. hardcode.untergrund.net
C
35
star
14

i2ao

Intro to Assembly Optimization stream repo
Assembly
25
star
15

notes

Shell
25
star
16

uJunk

An unsorted collection of little tools and scripts I've made that don't fit anywhere else
Python
18
star
17

importsort

Group imports from Windows binaries
Python
15
star
18

b64mute

Base64 Mutator
Python
12
star
19

bgws

HTML
11
star
20

ai_dev

Python
8
star
21

pdiff2

Python
8
star
22

hexcalc

A simple hex calculator in the browser
HTML
8
star
23

enumgen

Enumeration Notes and Cheatsheet Generator
Python
7
star
24

pockettoolz

Python
6
star
25

Simple-Virtual-CPU

A very simple example of a virtual CPU written in C and an "assembler" in python 3.7.
C
5
star
26

ParrotSec_Alternate_Install

Fixes for Parrot Sec Install Scripts
Shell
3
star
27

3DSTests

Some WIP Scripts for the 3DS using ctrulib
Makefile
2
star
28

liltools

Shell
2
star
29

netspooky

2
star
30

NaoDev

Experimental Tools for the Naoqi robot
Makefile
1
star
31

dnb

one of the first projects i made with python
Python
1
star
32

majokko

Super small security focused linux project for embedded devices based on LFS and other embedded projects.
Shell
1
star