Skip to content

Instantly share code, notes, and snippets.

🤡
clowning about

Isak Andersson BitPuffin

🤡
clowning about
View GitHub Profile
View gist:3a907579d4551ba1444af9fed4b4a8c3
(var v vec3 garbage)
(var v vec3 zero)
(var v vec3 default)
; vs
(var v vec3 garbage)
(var v vec3)
(var v vec3 default)
View gist:5611ba44a18332a44670c0f9d1f86367
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 Apr 25, 2019
preprocessor memes
View bla.cs
#define interface void
using System;
namespace redefine
{
class Program
{
static void Main(string[] args)
{
@BitPuffin
BitPuffin / bla.rkt
Created Mar 18, 2019
geiser require servlet
View bla.rkt
(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 Aug 8, 2017 — forked from zvodd/polygot_argument_launch.batsh
Bash & Batch / Bat Polyglot template and Argument shim
View polygot_argument_launch.batsh
a1 = a1;
a2 = a2;
a3 = a3;
a4 = a4;
a5 = a5;
a6 = a6;
a7 = a7;
a8 = a8;
a9 = a9;
@BitPuffin
BitPuffin / command-line.txt
Created Mar 31, 2017
An exploitable C program where you can get the password by reading out of bounds
View command-line.txt
./a.out
Enter password:
warning: this program uses gets(), which is unsafe.
>
> liststrs
> addstr hello there my friend
> addstr this program can be exploited
View keybase.md

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:

View gist:cecc38b6d7d081eed7c6
> (define x 0)
> (define (foo x)
> (set! x 2))
> (foo x)
> x
0
> (define-syntax-rule (bar x)
(set! x 2))
> (bar x)
> x
View gist:8567509
type
TTerrainSection* = tuple
buffer: PArrayBuffer
geometry: ref tuple [
indices: array[0..sectionTriangleCount-1, array[0..2, int]],
vertices: array[0..sectionArea-1, TVec3]]
heightmap: ref array[0..sectionWidth-1, array[0..sectionHeight-1, uint32]]
PTerrainSection* = ref TTerrainSection
TTerrainSections* = TQuadTree[PTerrainSection]
View gist:8557626
- (void)testExample {
NSLog(@"YO");
[self.libObject testYo];
}
You can’t perform that action at this time.