
Open Source Intelligence Techniques (OSINT) are used to gather publicly available data in preparation for a penetration tests. This info is used direct the scanning, vulnerability assessments and exploitation (attacks). More is available at this link.