Skip to content

Instantly share code, notes, and snippets.

/*
sectalks 0x01
*/
#include <stdio.h>
#include <stdlib.h>
#include <windows.h>
#include <time.h>
char *globalPassword = "PIGEONS";
#!/usr/bin/python
# plugins.py
import os
import imp
class pluginLoader:
def __init__(self,modDirectory):
self.pluginList = {}
self.modules = {}
#!/usr/bin/python
def run(*args,**kwargs):
print "ELF main"
print args, kwargs
if __name__ == "__main__":
print "elf.py should not be invoked directly - it is a plugin. see run crisis.py in the parent directory instead"
/*
* buf1.c
* demonstrating a simple bufferoverflow
*
* by pasteBin (Jordan)
*/
#include <stdio.h>
#include <stdlib.h>
#!/usr/bin/python
import sys
def gates_out(in_str):
if len(in_str) != 8:
print "fuck"
sys.exit(0)
in_bin = [False,False,False,False,False,False,False,False]
for i in range(0,len(in_str)):
.586p
.model flat,stdcall
option casemap:none
include /masm32/include/kernel32.inc
include /masm32/include/windows.inc
includelib /masm32/lib/kernel32.lib
.data
@CreateRemoteThread
CreateRemoteThread / rop-ndh-securefilereader.py
Last active April 4, 2016 13:41
fuck you can add descriptions to this shit?
#!/usr/bin/env python
# Generated by ropper ropchain generator #
from struct import pack
p = lambda x : pack('I', x)
IMAGE_BASE_0 = 0x08048000
rebase_0 = lambda x : p(x + IMAGE_BASE_0)
rop = "A" * ((0x1000 + 0x20) - 4)
import string
digs = string.digits + string.letters
def int2base(x, base):
if x < 0: sign = -1
elif x == 0: return digs[0]
else: sign = 1
x *= sign
digits = []
while x:
#!/usr/bin/python
from PIL import Image
f = Image.open("ark.bmp")
f_rgb = f.convert('RGB')
out = ""
for y in range(0,1080):
for x in range(0,1920):
#!/usr/bin/python
import sys
import struct
from PIL import Image
img = Image.new("RGB",(5000,5000),"black")
pixels = img.load()
f = open("usbdata.txt")