LinkedIn Employee Scraper
If you’re looking for a method to quickly gather employee names for a password spray, the script below will work from the browser’s console on a company’s LinkedIn People page. I’ve had to update the script a couple of times over the past year because they keep moving the DOM element that holds the employee name. I will attempt to create something more robust that can possibly handle that type of change later.
To use, login to LinkedIn and run from the page that displays the company’s employees: /company/COMPANYNAME/people
. Just enter the endpoint directly into the URL bar as they seem to keep moving, or I keep forgetting, how to get there via the UI. The script will automatically lazyload the page and then scrape the names of employees from the DOM with the results output in the browser console as shown in the screenshot below. The script will most likely be kept up to date on my GitHub rather than here.
