Skip to content

Instantly share code, notes, and snippets.

View IanSeyler's full-sized avatar

Ian Seyler IanSeyler

View GitHub Profile
xenomuta / httpd.asm
Last active January 4, 2024 13:53
httpd.asm: Arguably the world smallest web server. ( for GNU/Linux i386. Compile with nasm )
section .text
global _start
xor eax, eax
xor ebx, ebx
xor esi, esi
jmp _socket
austinmarton / sendRawEth.c
Created February 27, 2012 08:40
Send a raw Ethernet frame in Linux
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
#include <arpa/inet.h>
#include <linux/if_packet.h>
#include <stdio.h>