Skip to content

Instantly share code, notes, and snippets.

View Napsty's full-sized avatar

Claudio Kuenzler Napsty

  • claudiokuenzler.com
  • Switzerland
View GitHub Profile
@marktheunissen
marktheunissen / pedantically_commented_playbook.yml
Last active September 24, 2024 14:52 — forked from phred/pedantically_commented_playbook.yml
Insanely complete Ansible playbook, showing off all the options
This playbook has been removed as it is now very outdated.
@rverton
rverton / cowroot.c
Created October 21, 2016 14:06
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
@rubo77
rubo77 / create-gist.sh
Last active August 30, 2020 09:41 — forked from s-leroux/pgist.sh
A utility to create a gists from command line - for support, please check the repo https://github.com/ceremcem/create-gist
#!/bin/bash
GITHUB_USERNAME=rubo77
if [ "$1" == "" ]; then
echo 'usage: gistfile-post.sh filename [gistname]'
exit 0
fi
# 0. file name for the Gist
@lazyfrosch
lazyfrosch / example.txt
Last active December 15, 2018 11:41
Convert the icinga2.state file to readable JSON
$ sudo cat /var/lib/icinga2/icinga2.state | ./icinga2-debug-state.py
[
{
"name": "api",
"type": "ApiListener",
"update": {
"log_message_timestamp": 1522659331.677504,
"type": "ApiListener",
"version": 0.0