Skip to content

Instantly share code, notes, and snippets.

CVEs:
• http://blog.ptsecurity.com/2020/03/cve-2019-18683-exploiting-linux-kernel.html
Exploiting a Linux kernel vuln. in the V4L2 subsystem (CVE-2019-18683).
• https://google.github.io/security-research/pocs/linux/cve-2021-22555/writeup.html
Turning \x00\x00 into 10000$ (CVE-2021-22555).
• https://coreruleset.org/20210630/cve-2021-35368-crs-request-body-bypass/
CRS Request Body Bypass (CVE-2021-35368).
@afmiguez
afmiguez / wsl-kvm.sh
Last active April 13, 2024 05:09
Script to enable KVM in WSL2
#Fully based on https://boxofcables.dev/accelerated-kvm-guests-on-wsl-2/
if [ -z "$1" ]
then
echo "Must supply your Windows 10 username"
exit
fi
WIN_USERNAME=$1
#package updates and installations
@stypr
stypr / iptime_wol.py
Created February 13, 2018 07:12
iptime WOL in python
#!/usr/bin/python -u
#-*- coding: utf-8 -*-
# Developer: Harold Kim(root@stypr.com)
import os
import sys
import re
import requests
class iptime:
@Jim-Holmstroem
Jim-Holmstroem / d2s_checksum.py
Last active January 31, 2024 00:54
Checksum for diablo 2 files .d2s in python (todo insert the checksum into the file)
import numpy as np
"""
code to replicate:
static int d2charsave_checksum(unsigned char const *data, unsigned int len, unsigned int offset)
{
int checksum;
unsigned int i;
unsigned int ch;