1. A computer adapted to detect an attempted exploit of a vulnerability of an application executed by the computer, the computer comprising: a computer processor; and a non-transitory computer-readable storage medium storing computer program modules configured to execute on the computer processor, the computer program modules comprising: a hooking module configured to insert a hook into the application in a location executed when a script attempts to interact with an application component other than a scripting component of the application; a redirection module configured to save a state of the computer responsive to execution of the hook in the application; an analysis module configured to execute one or more signatures that programmatically analyze the saved state of the computer to determine whether the script is exploiting the vulnerability of the application by attempting to overflow a buffer or create a logic error; and a reporting module configured to report whether the script is exploiting the vulnerability of the application.