Tool to scrape LinkedIn
This tool assists in performing reconnaissance using the LinkedIn.com website/API for red team or social engineering engagements. It performs a company specific search to extract a detailed list of employees who work for the target company. Enter the name of the target company and the tool will help determine the LinkedIn company ID, which will be used to perform the search.
NOTE: The tool extracts the maximum results of any search (1,000 contacts) by sendings less than 20 requests.
Output is stored as an XLSX file, however it is intended to be used with Google Spreadsheets and includes a formated report with profile pictures, etc. After importing the XLSX into Google Spreadsheets there will be a “dataset” worksheet and a “report” worksheet.
How to install
sudo apt-get install python3-pip -y
sudo pip install -r requirements.txt
How to run
export LI_USERNAME={username}
export LI_PASSWORD={password}
python3 ScrapedIn.py
Dataset
- first name
- last name
- occupation
- location
- industry
- profile URL
- picture URL
Report
- Picture (displayed)
- Full Name, Occupation
- Link to Profile