
Security News
Follow-up and Clarification on Recent Malicious Ruby Gems Campaign
A clarification on our recent research investigating 60 malicious Ruby gems.
This gem was created to be a one-stop-shop for all file transfer methods that anyone would need to use in their ruby application. The current methods I found available were cryptric, and the documentation available for these methods offered no help. After creating blog posts on the methods I needed to support (S3 && FTP, FTPS, SFTP & SCP), my buddies then recommended converting these classes into a single gem... and so I did.
Add this line to your application's Gemfile:
gem 'wormholio'
And then execute:
$ bundle install
Or install it yourself as:
$ gem install wormholio
hash = {
'host':'www.domain.com', # domain to connect to
'username':'steven', # username
'password':'Steve1', # user's password
'dir_path':'/home/', # directory path on server
'port':'21' # will default to 21 if not specified
}
options = {"debug"=>true} # If debug set to true, will return errors for testing
file = "#{Rails.root}/file.json" # Path/name of file to upload
# To upload
Wormholio::FTP.upload( hash, file, options )
local_path = "#{Rails.root}/" # Where to download file to
filename = "file.json" # Name of file
# To download
Wormholio::FTP.download( hash, local_path, filename, options )
hash = {
'host':'www.domain.com', # domain to connect to
'username':'steven', # username
'password':'Steve1', # user's password
'dir_path':'/home/', # directory path on server
'port':'21' # will default to 21 if not specified
}
options = {"debug"=>true} # If debug set to true, will return errors for testing
file = "#{Rails.root}/file.json" # Path/name of file to upload
# To upload
Wormholio::FTPS.upload( hash, file, options )
local_path = "#{Rails.root}/" # Where to download file to
filename = "file.json" # Name of file
# To download
Wormholio::FTPS.download( hash, local_path, filename, options )
hash = {
'host':'www.domain.com', # domain to connect to
'username':'steven', # username
'password':'Steve1', # user's password
'dir_path':'/home/', # directory path on server
'port':'21' # will default to 21 if not specified
}
options = {"debug"=>true} # If debug set to true, will return errors for testing
file = "#{Rails.root}/file.json" # Path/name of file to upload
# To upload
Wormholio::SFTP.upload( hash, file, options )
local_path = "#{Rails.root}/" # Where to download file to
filename = "file.json" # Name of file
# To download
Wormholio::SFTP.download( hash, local_path, filename, options )
hash = {
'host':'www.domain.com', # domain to connect to
'username':'steven', # username
'password':'Steve1', # user's password
'dir_path':'/home/', # directory path on server
'port':'21' # will default to 21 if not specified
}
options = {"debug"=>true} # If debug set to true, will return errors for testing
file = "#{Rails.root}/file.json" # Path/name of file to upload
# To upload
Wormholio::SCP.upload( hash, file, options )
local_path = "#{Rails.root}/" # Where to download file to
filename = "file.json" # Name of file
# To download
Wormholio::SCP.download( hash, local_path, filename, options )
hash = {
'bucket_name':'bucket-name', # domain to connect to
'access_key_id':'big-ole-access-key', # username
'secret_access_key':'big-ole-secret', # user's password
'dir_path':'folder/' # directory path on server
}
local_path = "#{Rails.root}/" # Path to file we want to upload
filename = "file.json" # Name of file to upload
# To upload
Wormholio::S3.upload( hash, local_path, filename )
local_path = "#{Rails.root}/" # Path to download file to
filename = "file.json" # Name we want download file to have
# To download
Wormholio::S3.download( hash, local_path, filename )
git checkout -b my-new-feature
)git commit -am 'Add some feature'
)git push origin my-new-feature
)FAQs
Unknown package
We found that wormholio 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.