Skip to content

Instantly share code, notes, and snippets.

View joshuaskorich's full-sized avatar

Joshua Skorich joshuaskorich

View GitHub Profile
body { background: #222; color: #e6e6e6; }
a { color: #949494; }
a:link, a:visited { color: #949494; }
a:hover, a:active, a:focus { color: #c7c7c7; }
hr { border-bottom: 1px solid #424242; border-top: 1px solid #222; }
@joshuaskorich
joshuaskorich / cowroot.c
Last active December 5, 2021 21:25 — 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
### Keybase proof
I hereby claim:
* I am joshuaskorich on github.
* I am joshuaskorich (https://keybase.io/joshuaskorich) on keybase.
* I have a public key whose fingerprint is 965C 9711 C583 7DDC 2B32 CCA5 45E8 0816 75ED 0019
To claim this, I am signing this object:
@joshuaskorich
joshuaskorich / 343.22-1.31-OC
Last active August 29, 2015 14:13
GTX 970 cudaHashcat Benchmark
cudaHashcat-1.31
NV 343.22
Mild Overclock (+150 Clock Offset)
[root]@[CrackPants:/pentest/cudaHashcat-1.31]# nvidia-smi -L
GPU 0: GeForce GTX 970 (UUID: GPU-dd0c76cc-fbb3-020e-2a25-fd127038c418)
GPU 1: GeForce GTX 970 (UUID: GPU-06a352e5-d43f-cd97-6aac-9cd67ccbf1c1)