Skip to content

Instantly share code, notes, and snippets.

@ManhNDd
ManhNDd / Mix.py
Last active June 18, 2018 13:03
Viettel Mates CTF 2018 - Fruit Shop
#coding: utf-8
'''
author: Nguyen Duc Manh
email: imdb95@gmail.com
'''
import time
from pwn import *
'''
import sys
@ManhNDd
ManhNDd / exploit-maxsetting.py
Last active June 18, 2018 12:39
Viettel Mates CTF 2018 - Max Setting
'''
author: Nguyen Duc Manh
email: imdb95@gmail.com
'''
from pwn import *
import sys
import time
if sys.argv[1] == 'local':
p = process('./maxsetting')
else:
@ManhNDd
ManhNDd / exploit-breakingout.py
Last active June 18, 2018 12:40
Writeup WPICTF 2018 - Breakingout
#coding: utf-8
'''
author: Nguyen Duc Manh
email: imdb95@gmail.com
'''
from pwn import *
context.clear(arch='amd64')
'''
vul: negative index
printfGOT += (magic - printfGOT)