
Security News
Follow-up and Clarification on Recent Malicious Ruby Gems Campaign
A clarification on our recent research investigating 60 malicious Ruby gems.
Sending SMS via sms24x7 API. For more details see http://sms24x7.ru/api/
Add this line to your application's Gemfile:
gem 'sms24x7'
And then execute:
$ bundle
Or install it yourself as:
$ gem install sms24x7
In the begining, you need to register for sending SMS through sms24x7 gateway.
Before sending SMS, you need to configure SmsApi with login credentials:
SmsApi.setup do |config|
config.email = 'your@email.com'
config.password = 'your_password'
end
There are two ways for sending your SMS.
The first - it's sending a SMS to one recipient. To do this, use:
SmsApi.push_msg_nologin('recipient_phone', 'sms_text', params)
here recipient_phone
- is a phone number in format '7xxxyyyzzzz' and params
- additional params that you can see in documentation.
The second way - it's sending multiple SMS to multiple recipients.
SmsApi.login do
recipient_phones_str_arr.each do |recipient_phone|
SmsApi.push_msg(recipient_phone, 'sms_text', params)
end
end
here recipient_phones_str_arr
- it's array that consist phone numbers as strings in format that represented above.
sms24x7 ruby gem is licensed under the BSD License.
FAQs
Unknown package
We found that sms24x7 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
A clarification on our recent research investigating 60 malicious Ruby gems.
Security News
ESLint now supports parallel linting with a new --concurrency flag, delivering major speed gains and closing a 10-year-old feature request.
Research
/Security News
A malicious Go module posing as an SSH brute forcer exfiltrates stolen credentials to a Telegram bot controlled by a Russian-speaking threat actor.