Security News
Research
Data Theft Repackaged: A Case Study in Malicious Wrapper Packages on npm
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
= Linkedin-Scraper
Linkedin Scraper is a gem for finding linkedin public profiles. You give it name and company of required profile, it finds linkedin profile for same, and its title, name, area, connection, etc.
= Installation
Install the gem from RubyGems:
gem install linkedin_scraper
This gem is tested on Ruby versions 1.8.7, 1.9.2 and 1.9.3.
= Usage
First Initialize an instance Linkedin class like this:
require 'linkedin_scraper'
linkedin = LinkedinScraper::linkedin.new
This sets the mechanize object for scraping. Now you can feed name and companies:
profile = linkedin.get_profile_data(name: some_name, company: some_company)
third option can be country: some_country (see list of supported countries below)
Then you can see the scraped data like this:
profile.full_name #the First name of the profile
profile.title #the linkedin job title
profile.location #the location of the prfile
profile.connection # number of connection of profile
profile.linkedin_url #url of the profile
Copyright (c) 2012 Bhushan Lodha, released under the MIT license.
FAQs
Unknown package
We found that linkedin_scraper demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Research
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Research
Security News
Attackers used a malicious npm package typosquatting a popular ESLint plugin to steal sensitive data, execute commands, and exploit developer systems.
Security News
The Ultralytics' PyPI Package was compromised four times in one weekend through GitHub Actions cache poisoning and failure to rotate previously compromised API tokens.