
Security News
Follow-up and Clarification on Recent Malicious Ruby Gems Campaign
A clarification on our recent research investigating 60 malicious Ruby gems.
max_amount
Добавьте
gem 'max_amount'
И сделайте
bundle
Или сделайте
gem install max_amount
require 'max_amount'
user_string = '24b6be4d91faa7d3469b9a0cc17d1d5267d21c5f8653ba4f70e3ef007'
user_string = nil if user_string.nil?
$stdout.print "\n\n== Результат: ==\n\n"
puts MaxAmount.result(user_string: user_string)
$ ruby name_programm.rb --h
Результат:
Чтение из входящего потока текстовых данных:
--h Справка
--n Nmax n самых больших целых чисел (n > 0)
--l length длина строки
--m choice тестовая строка (m=1) / случайно сгенерированная строка (m=2) / пользовательская строка (m=3)
$ ruby name_programm.rb --n 10 --l 300 --m 3
== Результат: ==
8653
5267
3469
91
70
24
21
17
9
7
Шлите ваши пулреквесты в https://github.com/ProfessorNemo/max_amount.
FAQs
Unknown package
We found that max_amount 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.