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.
com.github.regis-leray:fs2-ftp_2.11
Advanced tools
fs2 ftp client built on top of Cats Effect, Fs2 and the sftp java client sshj and ftp/ftps client commons-net
//support scala 2.11 / 2.12 / 2.13
libraryDependencies += "com.github.regis-leray" %% "fs2-ftp" % "0.4.0"
import ray.fs2.ftp.FtpClient._
import ray.fs2.ftp.FtpSettings._
// FTP
val settings = UnsecureFtpSettings("127.0.0.1", 21, FtpCredentials("foo", "bar"))
// FTPS
val settings = UnsecureFtpSettings.secure("127.0.0.1", 21, FtpCredentials("foo", "bar"))
connect(settings).use{
_.ls("/").compile.toList
}
import ray.fs2.ftp.FtpClient._
import ray.fs2.ftp.FtpSettings._
val settings = SecureFtpSettings("127.0.0.1", 22, FtpCredentials("foo", "bar"))
connect(settings).use(
_.ls("/").compile.toList
)
The underlying client is expose and run any available command in a blocking and safe manner
import ray.fs2.ftp.FtpClient._
import ray.fs2.ftp.FtpSettings._
val settings = SecureFtpSettings("127.0.0.1", 22, FtpCredentials("foo", "bar"))
connect(settings).use(
_.execute(_.version())
)
# generate key
$ gpg --gen-key
# list the keys
$ gpg --list-keys
/home/foo/.gnupg/pubring.gpg
------------------------------
pub rsa4096 2018-08-22 [SC]
1234517530FB96F147C6A146A326F592D39AAAAA
uid [ultimate] your name <you@example.com>
sub rsa4096 2018-08-22 [E]
#send key to server
$> gpg --keyserver hkp://ipv4.pool.sks-keyservers.net --send-keys $LONG_ID
# copy public key to clipboard
$> gpg --armor --export $LONG_ID | pbcopy
$> submit key by copy/paste key to http://keyserver.ubuntu.com:11371/
## declare in travis (settings) PGP_SECRET
gpg --armor --export-secret-keys $LONG_ID | base64 -w0 | pbcopy
## declare in travis (settings) PGP_PASSPHRASE
The randomly generated password you used to create a fresh gpg key
more information here => https://github.com/olafurpg/sbt-ci-release
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this project except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
FAQs
fs2-ftp
We found that com.github.regis-leray:fs2-ftp_2.11 demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 0 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
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.