Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
-- This file is part of Xdo. Copyright © 2009, 2010 Marvin Gülker Initia in potestate nostra sunt, de eventu fortuna iudicat. ++ =XDo XDo is a library to simulate keyboard and mouse input and manipulating windows on the X server. It's wrapped around the command-line tools xdotool[http://www.semicomplete.com/projects/xdotool/], xsel[http://linux.die.net/man/1/xsel], xwininfo[http://linux.die.net/man/1/xwininfo], eject[http://linux.die.net/man/1/eject] and xkill[http://linux.die.net/man/1/xkill], so you will need to have them installed if you want to use Xdo (even if xwininfo, eject and xkill are usually already installed). If not, try to install them via your favourite packaging manager. After they're installed, install XDo via RubyGems: sudo gem install xdo ==Usage #Require some of XDo's files require "xdo/keyboard" require "xdo/mouse" require "xdo/xwindow" #Move the cursor XDo::Mouse.move(100, 100) #Simulate text (with special escape sequences!) XDo::Keyboard.simulate("This is{TAB}text.") #Some sequences can be shortened: XDo::Keyboard.simulate("This ist\ttext.") #And this will move a window containing the string "gedit", #unless it's maximized. win = XDo::XWindow.from_title(/gedit/) win.move(200, 200) ==Files You can require the following files in your projects:
FAQs
Unknown package
We found that xdo 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.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.