There are various types of pentesting, but common methods include black box testing, white box testing and grey box testing. Black box testing involves testing without any knowledge of the internal workings of the system, application or network. White box testing includes having full knowledge of the system, application or network. Grey box testing is somewhere in between, involving partial knowledge of the system, application or network.