An exploit (from the verb to exploit, in the meaning of using something to one’s own advantage) is a piece of software, a chunk of data, or sequence of commands that takes advantage of a bug, glitch or vulnerability
in order to cause unintended or unanticipated behaviour to occur on
computer software, hardware, or something electronic (usually
computerised). Such behavior frequently includes such things as gaining
control of a computer system or allowing privilege escalation or a denial-of-service attack.