pwnies/pwntools — pull request #19 by stephenR (2014-03-19 22:05:37+00:00)
Title: If no base is given, read it from the LOAD segment

The DynELF class can't leak anything without a base.
But if the executable is no PIE, we can just read the base address from the LOAD segment with offset 0.