Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
h1. ECHI Files Ruby Library
h2. Description
A library that allows one to take an ASCII or Binary file from an Avaya CMS External Call History Interface (ECHI) and convert it into a Ruby hash for further processing.
h2. Features
h2. Example
require 'echi_files'
#Provide a filename to process as an argument on the commandline
filename = File.expand_path(ARGV[0])
#Open the file
filehandle = open(filename, "rb")
#Instantiate an EchiFiles class to process your ASCII or BINARY files
echi_handler = EchiFiles.new
#Use this to process a binary file
file_type = 'BINARY'
format = 'EXTENDED'
#In some cases the extra_byte is needed
extra_byte = true
data = echi_handler.process_file(filehandle, file_type, format, extra_byte)
#Use this to process a binary file
file_type = 'ASCII'
format = 'EXTENDED'
extra_byte = true
#Use this to process an ASCII file
data = echi_handler.process_file(filehandle, file_type, format, extra_byte)
#If you need to strip in characters from the asaiuui field
#@data Is the Array of Hashes converted above
#@array_of_decimal_values Is an array of decimal ascii values to be stripped
data = echi_handler.strip_asaiuui(data, array_of_decimal_values)
</code>
</pre>
h2. Dependencies
- FasterCSV 1.4.0+
h2. Installation
sudo gem install jsgoecke-echi_files --source=http://gems.github.com/
FAQs
Unknown package
We found that jsgoecke-echi_files 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
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.