This file contains 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
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
#include <fcntl.h> | |
#include <stdbool.h> | |
#include "getopt.h" | |
#include "getarg.h" | |
#include "gif_lib.h" |
This file contains 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
#Tested Win7 | |
import socket, sys, struct, time | |
from OpenSSL import SSL, crypto | |
from impacket.structure import Structure | |
def hexdump(src, length=16): | |
FILTER = ''.join([(len(repr(chr(x))) == 3) and chr(x) or '.' for x in range(256)]) | |
lines = [] | |
for c in xrange(0, len(src), length): | |
chars = src[c:c+length] |
This file contains 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 * | |
context.log_level='debug' | |
def alloc(id,size,data): | |
r.recvuntil("Enter choice: ") | |
r.sendline("1") | |
r.recvuntil("Enter id: ") | |
r.sendline(str(id)) | |
r.recvuntil("Enter size of malloc: ") | |
r.sendline(str(size)) |
This file contains 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 | |
from datetime import datetime, date | |
#datetime.combine(date.today(), exit) - datetime.combine(date.today(), enter) | |
#r=process("./MicroServiceDaemonOS",aslr=False) | |
#context.log_level='debug' | |
r = remote("microservicedaemonos.ctfcompetition.com",1337) | |
# | |
context.bits=64 |
This file contains 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 gpiozero import * | |
from time import sleep | |
import xbox | |
import code | |
A=14 | |
B=2 | |
D4=3 | |
D3=4 | |
D2=17 |
This file contains 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 | |
context.log_level='debug' | |
context.arch='amd64' | |
context.bits=64 | |
# r.send("scissors") | |
# r=process("./babeOverfl") | |
host="40.117.63.62" | |
host="40.121.22.147" | |
host="34.126.105.174" |