Added automatic exploit lookup and refactored some code.