pwntools
Github
https://github.com/Gallopsled/pwntools
Documentation
https://docs.pwntools.com/en/stable/install.html
Install tool
apt-get update
apt-get install python3 python3-pip python3-dev git libssl-dev libffi-dev build-essential
python3 -m pip install --upgrade pip
python3 -m pip install --upgrade pwntools
Get function address
#!/bin/bin/env python3
import argparse
import pwn
elf = pwn.ELF(".vuln")
print(hex(elf.symbols["win"]))