Skip to content

Instantly share code, notes, and snippets.

View cosine0's full-sized avatar

Bumsu Hyeon cosine0

View GitHub Profile
# Copyright (c) 2018 cosine.
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, version 3.
# This program is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# General Public License for more details.
# You should have received a copy of the GNU General Public License
# coding=utf-8
from pwn import *
e = ELF('./onecall')
context.binary = e
libc = ELF('lib/libc.so.6')
if args['REMOTE']:
t = remote('onecall.teaser.insomnihack.ch', 1337)