Writing exploit modules