Exploit

An exploit is a piece of software or code that uses vulnerabilities or weaknesses in a system or application, such as programming errors, to gain unauthorized access or control, or install unwanted software.