Skip to content

Latest commit

 

History

History
21 lines (11 loc) · 738 Bytes

2 - OSINT.md

File metadata and controls

21 lines (11 loc) · 738 Bytes

Scraping usernames from LinkedIn

Manual scraping:

Install Chrome 'XPath Helper' plugin.

Login to LinkedIn. Search for the company name. Click on "See all 'n' employees on LinkedIn".

Click on the XPath Helper icon in the Chrome menu. In the "QUERY" pane, enter '//*[contains(@class, 'name actor-name')]'.

Copy and paste the names from the 'RESULTS' pane.

Format usernames from employee names:

Convert First Last to first initial last name: cat employees.txt | awk '{print tolower(substr($1,1,3) $2)}'

Convert First Last to first.last: cat employees.txt | awk '{print tolower($1 “." $2)}'

Convert First Last to firstlast: cat employees.txt | awk '{print tolower($1 $2)}'

ToDo: Add LinkedIn and Zoom scrapers