This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from pwn import * | |
from libformatstr import FormatStr | |
import time | |
s = remote('crackme.sakura.tductf.org', 10773) | |
read_secret = 0x0804875d | |
strlen_got = 0x8049138 | |
exit_got = 0x804912c | |
puts_plt = 0x8048580 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from pwn import * | |
import time | |
def srop(eax, ebx = 0, ecx = 0, edx = 0, esi = 0, edi = 0): | |
global stack | |
return ''.join([ | |
p32(0x2b), # ds | |
p32(edi), # edi | |
p32(esi), # esi | |
p32(stack), # ebp |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<link rel="import" href="../core-icon-button/core-icon-button.html"> | |
<link rel="import" href="../core-toolbar/core-toolbar.html"> | |
<link rel="import" href="../core-header-panel/core-header-panel.html"> | |
<polymer-element name="my-element"> | |
<template> | |
<style> | |
:host { | |
position: absolute; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import time | |
import struct | |
from pwn import * | |
def extract(fname): | |
f = open(fname, 'rb') | |
head = header(f) | |
for i in range(head[2]): | |
fhead = file_header(f) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
I'm ready to accept your input file! | |
Run this with: python wololo_x.py hostname port file_to_submit | |
#!/usr/bin/env python | |
import sys, socket, struct | |
s = socket.socket(socket.AF_INET, socket.SOCK_STREAM) | |
s.connect((sys.argv[1], int(sys.argv[2]))) | |
print s.recv(1024) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import tweepy | |
import pushover | |
consumer_key = '' | |
consumer_secret = '' | |
access_token = '' | |
access_token_secret = '' | |
pushover_apikey = '' | |
pushover_userkey = '' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(add-to-list 'load-path "~/.emacs.d/evil") | |
(require 'evil) | |
(evil-mode 1) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'mkmf' | |
create_makefile('shellcode') |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
augroup fileread | |
autocmd! | |
autocmd BufNewFile,BufRead *.rb set shiftwidth=2 tabstop=2 expandtab | |
" ... | |
augroup END |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var load = new (function () { | |
var count = 0; | |
var next = function () {} | |
var callback = function () { | |
count --; | |
if (count <= 0) { | |
next(); | |
} | |
} | |
self = this; |