Skip to content

Instantly share code, notes, and snippets.

Avatar
💭
fuck

Norm CreateRemoteThread

💭
fuck
View GitHub Profile
View gist:fa6e9532a23001d0f43c
/*
sectalks 0x01
*/
#include <stdio.h>
#include <stdlib.h>
#include <windows.h>
#include <time.h>
char *globalPassword = "PIGEONS";
View plugins.py
#!/usr/bin/python
# plugins.py
import os
import imp
class pluginLoader:
def __init__(self,modDirectory):
self.pluginList = {}
self.modules = {}
View elf.py
#!/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"
View buf1.c
/*
* buf1.c
* demonstrating a simple bufferoverflow
*
* by pasteBin (Jordan)
*/
#include <stdio.h>
#include <stdlib.h>
View ndh_key_out.py
#!/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)):
View bruteforce.asm
.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 Apr 4, 2016
fuck you can add descriptions to this shit?
View rop-ndh-securefilereader.py
#!/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)
View baseconverter-sctf
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:
View bsides-pngunfuck.py
#!/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):
View google-dump_mouse.py
#!/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")