Skip to content

Instantly share code, notes, and snippets.

View BitPuffin's full-sized avatar
🤡
clowning about

Isak BitPuffin

🤡
clowning about
View GitHub Profile
(var v vec3 garbage)
(var v vec3 zero)
(var v vec3 default)
; vs
(var v vec3 garbage)
(var v vec3)
(var v vec3 default)
Program received signal SIGSEGV, Segmentation fault.
__vfprintf_internal (s=0x546800001bda25ff, format=0x20826e <__unnamed_186> "heyoooo\n", ap=ap@entry=0x7fffffffd860, mode_flags=mode_flags@entry=0)
at vfprintf-internal.c:1285
1285 vfprintf-internal.c: No such file or directory.
(gdb) bt
#0 __vfprintf_internal (s=0x546800001bda25ff, format=0x20826e <__unnamed_186> "heyoooo\n", ap=ap@entry=0x7fffffffd860, mode_flags=mode_flags@entry=0)
at vfprintf-internal.c:1285
#1 0x00007ffff7ce48d8 in __printf (format=<optimized out>) at printf.c:33
#2 0x000000000026204b in main () at main.zig:20
#3 0x0000000000261fe3 in std.special.callMain () at /snap/zig/425/lib/zig/std/special/bootstrap.zig:112
@BitPuffin
BitPuffin / bla.cs
Last active April 25, 2019 09:04
preprocessor memes
#define interface void
using System;
namespace redefine
{
class Program
{
static void Main(string[] args)
{
@BitPuffin
BitPuffin / bla.rkt
Created March 18, 2019 18:08
geiser require servlet
(require web-server/servlet)
Error: struct:exn:fail
instantiate-linklet: mismatch;
reference to a variable that is uninitialized;
possibly, bytecode file needs re-compile because dependencies changed
name: idX16.1
exporting instance: "/usr/share/racket/pkgs/net-cookies-lib/net/cookies/common.rkt"
@BitPuffin
BitPuffin / polygot_argument_launch.batsh
Created August 8, 2017 12:49 — forked from zvodd/polygot_argument_launch.batsh
Bash & Batch / Bat Polyglot template and Argument shim
a1 = a1;
a2 = a2;
a3 = a3;
a4 = a4;
a5 = a5;
a6 = a6;
a7 = a7;
a8 = a8;
a9 = a9;
@BitPuffin
BitPuffin / command-line.txt
Created March 31, 2017 17:49
An exploitable C program where you can get the password by reading out of bounds
./a.out
Enter password:
warning: this program uses gets(), which is unsafe.
>
> liststrs
> addstr hello there my friend
> addstr this program can be exploited

Keybase proof

I hereby claim:

  • I am BitPuffin on github.
  • I am bitpuffin (https://keybase.io/bitpuffin) on keybase.
  • I have a public key whose fingerprint is 86EA 3235 10E1 FB17 D2D5 1FA3 87A1 C182 33E4 A652

To claim this, I am signing this object:

> (define x 0)
> (define (foo x)
> (set! x 2))
> (foo x)
> x
0
> (define-syntax-rule (bar x)
(set! x 2))
> (bar x)
> x
~/Downloads/artist-crappy-unity-project/DENNIS_UNITY $ du -hs .
124M .
~/Downloads/artist-crappy-unity-project/DENNIS_UNITY $ rm -rf Library/*
~/Downloads/artist-crappy-unity-project/DENNIS_UNITY $ du -hs .
45M .
#
# A very simplistic test suite
#
# Author: Isak Andersson
#
import Boo.Lang.Extensions.VarMacro
import Boo.Lang.Interpreter
import System.IO