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.
staugaard-ruby-serialport
Advanced tools
= Ruby/SerialPort
== Description
Ruby/SerialPort is a Ruby library that provides a class for using RS-232 serial ports. This class also contains low-level functions to check and set the current state of the signals on the line.
It support POSIX (Linux, *BSD, Solaris, AIX, Mac OS X), Cygwin and native Windows. The native Windows version of this library supports Microsoft's Visual C++ and Borland's C++ compilers.
== Installation
$ gem install ruby-serialport
Any files and older versions can be found at http://rubyforge.org/projects/ruby-serialport/
== Examples
reuire 'rubygems' require 'serialport' sp = SerialPort.new "/dev/my-modem", 9600 sp.write "AT\r\n" puts sp.read # hopefully "OK" ;-)
A functional example can be found in examples/miniterm.rb -- Ruby's copy of miniterm.c
For a compeate API reference see the RDoc of SerialPort.
== License and Copyright
Copyright (C) 2008 Jonas Bähr jonas.baehr@fs.ei.tum.de (C) 2008 Daniel E. Shipton daniel.shipton.oss@gmail.com (C) 2003 Alan Stern stern@rowland.harvard.edu (C) 2002 Guillaume Pierronnet moumar@netcourrier.com
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
FAQs
Unknown package
We found that staugaard-ruby-serialport demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 open source maintainers 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.