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.
You can use mina now to deploy static websites to FTP servers.
Add this line to your application's Gemfile:
gem 'mina-ftp'
And then execute:
$ bundle
Or install it yourself as:
$ gem install mina-ftp
Use mina to generate the config file:
$ bundle exec mina init
Load the FTP tasks:
require 'mina/ftp'
Add some settings to the config/deploy.rb
or to Minafile
file.
set :ftp_path, 'public_www'
set :ftp_host, 'ftp.domain.com'
set :ftp_username, 'user@domain.com'
set :ftp_password, 'secret'
set :ftp_from_path, 'public'
set :ftp_options, {:passive => false}
Update deploy
task to invoke ftp:deploy
task:
task :deploy do
invoke :'ftp:deploy'
end
Deploy it!
$ bundle exec mina deploy
Use --verbose
flag if you want to see FTP client calls.
To clear the remote path, use the ftp:empty
task:
$ bundle exec mina ftp:empty
Thats it.
Write some tests.
git checkout -b my-new-feature
)git commit -am 'Add some feature'
)git push origin my-new-feature
)This gem uses ftp_sync gem.
Huge thanks to mina developers for the awesome tool.
FAQs
Unknown package
We found that mina-ftp 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.