
Research
Malicious npm Packages Impersonate Flashbots SDKs, Targeting Ethereum Wallet Credentials
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
1.0.0
上传的静态资源到cdn服务器的插件包
ftp-post
使用 npm
是进行管理
npm i ftp-post
npm
,可通过以下方式进行 安装。npm install -g cnpm --registry=https://registry.npm.taobao.org
var ftpPost = require('ftp-post');
ftpPost({
sourth: '/Users/winber/Desktop/calcu',
config : {
host: '主机名称',
user: '用户名',
password: '密码'
}
})
var ftpPost = require('ftp-post');
ftpPost({
sourth: '/Users/winber/Desktop/calcu',
config : {
host: '主机名称',
user: '用户名',
password: '密码'
},
originPrefix: 'static'
})
var ftpPost = require('ftp-post');
// 分开上传
ftpPost({
sourth: '/Users/winber/Desktop/calcu',
config : {
config1: {
ftpConfig: {
host: '主机名称',
user: '用户名',
password: '密码'
},
suffix: '.js|.css'
},
config2: {
ftpConfig: {
host: '主机名称',
user: '用户名',
password: '密码'
},
suffix: '.png|.jpg'
}
},
divide: true
})
var ftpPost = require('ftp-post');
// 分开上传
ftpPost({
sourth: '/Users/winber/Desktop/calcu',
config : {
config1: {
ftpConfig: {
host: '主机名称',
user: '用户名',
password: '密码'
},
suffix: '.js|.css'
},
config2: {
ftpConfig: {
host: '主机名称',
user: '用户名',
password: '密码'
},
suffix: '.png|.jpg'
}
},
divide: true,
originPrefix: 'static'
})
params | Type | Default | Description |
---|---|---|---|
sourth | String | undefined | 所要上传的文件夹的绝对路径 不能为空 |
config | Object | undefined | cdn服务器相关的参数 不能为空 |
divide | Boolean | false | 是否按照文件类型上传到不同的cdn服务器 |
originPrefix | String | '' | 远程目录的前缀 |
FAQs
post file to ftp
The npm package ftp-post receives a total of 0 weekly downloads. As such, ftp-post popularity was classified as not popular.
We found that ftp-post 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
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.