查看: 1803|回复: 2
收起左侧

[展示&分享] OpenTIP 发布Python命令行版

[复制链接]
Jirehlov1234
发表于 2022-8-11 20:54:38 | 显示全部楼层 |阅读模式
阅读原文:https://securelist.com/opentip-command-line-edition/107109/
https://github.com/KasperskyLab/OpenTIP-scanner



直接用pip3安装即可

pip3 install opentip



opentip使用

usage: opentip [-h] [--no-upload] [--exclude EXCLUDE] [--log LOG] [--apikey APIKEY] [--quiet] path [path ...]

Check files and directories with OpenTIP.kaspersky.com, optionally upload and scan unknown files

positional arguments:
  path               File or directory location to scan

optional arguments:
  -h, --help         show this help message and exit
  --no-upload        DO NOT upload unknown files to scan with the Sandbox, default behaviour is to upload
  --exclude EXCLUDE  Do not scan or upload the files matching the pattern
  --log LOG          Write results to the log file
  --apikey APIKEY    OpenTIP API key, received from https://opentip.kaspersky.com/token
  --quiet            Do not log clean files



check_iocs使用

usage: check_iocs [-h] [--apikey APIKEY] [--out OUT] type value

Check IOCS (file hashes, IP addresses, domain names, URLs using the service OpenTIP.kaspersky.com

positional arguments:
  type               hash, ip, domain, url
  value              Value of the IOC (hash, ip, domain, url, filename with the iocs)

optional arguments:
  -h, --help         show this help message and exit
  --apikey APIKEY    OpenTIP API key, received from https://opentip.kaspersky.com/token
  --out OUT, -o OUT  Write output as JSON to this filename

评分

参与人数 1人气 +3 收起 理由
yfdyh000 + 3 感谢提供分享

查看全部评分

00006666
发表于 2022-8-11 20:56:08 | 显示全部楼层
没有apikey的话能不能用?
Jirehlov1234
 楼主| 发表于 2022-8-11 21:00:30 | 显示全部楼层
00006666 发表于 2022-8-11 12:56
没有apikey的话能不能用?

必须要。直接生成即可https://opentip.kaspersky.com/token

评分

参与人数 1人气 +3 收起 理由
00006666 + 3

查看全部评分

您需要登录后才可以回帖 登录 | 快速注册

本版积分规则

手机版|杀毒软件|软件论坛| 卡饭论坛

Copyright © KaFan  KaFan.cn All Rights Reserved.

Powered by Discuz! X3.4( 沪ICP备2020031077号-2 ) GMT+8, 2024-4-25 08:30 , Processed in 0.129468 second(s), 17 queries .

卡饭网所发布的一切软件、样本、工具、文章等仅限用于学习和研究,不得将上述内容用于商业或者其他非法用途,否则产生的一切后果自负,本站信息来自网络,版权争议问题与本站无关,您必须在下载后的24小时之内从您的电脑中彻底删除上述信息,如有问题请通过邮件与我们联系。

快速回复 客服 返回顶部 返回列表