Skip to content

Instantly share code, notes, and snippets.

View Stagyrite's full-sized avatar
🎯
Focusing

Maciej Matiaszowski Stagyrite

🎯
Focusing
View GitHub Profile
@Stagyrite
Stagyrite / perl-harbor.c
Last active June 25, 2024 11:13
Perl Harbor: exploit against Perl Kit 1.0
/*
* Perl Harbor: exploit against Perl Kit 1.0
*
* gcc -o perl-harbor perl-harbor.c
* ./perl-harbor &
* Perl-1.0/perl -e 'print "hello, world\n";'
*
* Successful execution ends with printing "owned by stagyrite".
*/
@Stagyrite
Stagyrite / SmallRayTracer.java
Last active May 17, 2024 10:53
a raytracer inspired by small-raytracer
/*
* a raytracer inspired by small-raytracer
* https://github.com/FrontierPsychiatrist/small-raytracer/
*/
import javax.imageio.ImageIO;
import java.awt.image.BufferedImage;
import java.io.File;
import java.io.IOException;
@Stagyrite
Stagyrite / OpenRoguelike.java
Created April 26, 2024 11:43
a level compiler inspired by openroguelike
/*
* a level compiler inspired by openroguelike
* https://GitHub.com/tleguern/openroguelike
*/
import java.io.FileWriter;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.PrintWriter;
import java.nio.charset.StandardCharsets;