Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
@saber2pr/baidu-chart-api
Advanced tools
百度指数数据解析
送给 b 站的小伙伴 qwq
确保电脑安装 node.js
打开 cmd(或终端),执行以下命令安装 app
windows 下执行
npm install @saber2pr/baidu-chart-api -g
mac 或 linux 下执行(加 sudo)
sudo npm install @saber2pr/baidu-chart-api -g
命令行执行
baiduChart
命令行输入 baiduChart 回车,然后根据提示就可以了
npm i @saber2pr/baidu-chart-api
import { BaiduChart } from '@saber2pr/baidu-chart-api'
const cookie = '你的百度帐号cookie'
new BaiduChart(cookie).search('关键字')
cookie 需要抓包获得。(包含以BAIDUID
(也可能是 BIDUPSID)开头的值就可以了, 示例>>)
如果使用命令行工具,cookie 会缓存在命令执行的目录下,不需要再次输入!
自动生成 excel csv。(0.0.3 版本及以上支持, 版本号查询请执行 baiduChart -v
)
0.0.3 及以下版本在 windows 下会报错,最新版已解决。
本项目只为学习所用,请勿用于商业用途。
使用本软件前,请先阅读
如未遵守以上条款造成法律责任,本人概不负责!>_<
npm install
npm start
npm test
Author: saber2pr
you should write ts in /src
you should make test in /src/test
export your core in /src/index.ts!
FAQs
> 百度指数数据解析
The npm package @saber2pr/baidu-chart-api receives a total of 8 weekly downloads. As such, @saber2pr/baidu-chart-api popularity was classified as not popular.
We found that @saber2pr/baidu-chart-api 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
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.