Skip to content

Instantly share code, notes, and snippets.

View baskurthalit's full-sized avatar

Halit Seyfullah Başkurt baskurthalit

View GitHub Profile
/*****************************************************
* This code was compiled and tested on Ubuntu 18.04.1
* with kernel version 4.15.0
https://infosecwriteups.com/linux-kernel-communication-part-1-netfilter-hooks-15c07a5a5c4e
*****************************************************/
#include <linux/init.h>
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/netfilter.h>