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.
= Polkomtel MultiInfo HTTPS API wrapped into Ruby library
This gem is Ruby interface to the Polkomtel's MultiInfo SMS gateway service, based on Luke Redpath's clickatel library To use this gem, you will need an access to Polkomtel's MultiInfo service. You need user, password, sercvice_id and certificate for ssl connection. Contact Polkomtel sales reps for info how to obtain acces to MultiInfo service.
== Basic Usage
You will need your Mutliinfo credentials and SSL certificate to use this library.
require 'rubygems' require 'multiinfo'
api = MultiInfo::API.new
api.send_message('48661351024', 'Hello') # sends sms 'Hello' to 48 661 351 024 and returns message id api.message_info('22') # gets info about message with id 22
== Conifguration options
Default path for config file and certificate files is $HOME/multiinfo. You should place following files in that directory: multiinfo.yml # config file multiinfo.crt # certificate multiinfo.pem # RSA key
In multiinfo.yml you should specify at least: login password service_id
If you want to use different names for certificate files speciify them with FULL PATH in config file under:
client_cert client_key
You will probably also need to add Multiinfo Root Certificate to your trusted certificates chain. To mark a certificate as trusted, specify it in your multiinfo.yml file (you can provide either a filename or a directory). You can also use 'default' to let the application use the default certificates path.
See example in config_example.yml
To load your custom config file use following code require 'rubygems' require 'multiinfo'
config = MultiInfo::API.load_auth_options(CONFIG_FILE_FULL_PATH) api = MultiInfo::API.new(config)
FAQs
Unknown package
We found that multiinfo demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 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.
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.