Token申请
加入纳米时代用户群1053168772 并联系群主,获取token。
API使用
请求格式
调用地址:https://cftq-cloud.nanoera.top/scan
格式:
POST /scan
Connection: keep-alive
Content-Length: [PE文件大小]
token: [你的token,token长度通常为32字符]
lsprotect: [off/normal/highsense]
bitprotect: [off/normal/highsense]
quickscan: [off/on]
[PE文件内容,不得在前后加入其他字符]参数解析:
lsprotect:设置LSProtect引擎的模式,off为关闭,normal为普通模式,highsense为高敏感模式
bitprotect:设置BITProtect引擎的模式,off为关闭,normal为普通格式,highsense为高敏感模式
quickscan:设置快速扫描模式:由于LSProtect引擎的扫描速度大于BITProtect引擎的扫描速度,因此开启快速扫描模式后,若LSProtect引擎扫描时已将目标文件判定为病毒,则直接返回查杀结果,而不会进行BITProtect引擎的检查,此时BITProtect引擎的返回结果将始终为安全。(注:除非调试原因,否则建议开启快速模式)
返回格式
{
"result": "malware"/"safe",
"LSProtect": [
"status": "off"/"normal"/"highsense",
"result": "malware"/"safe"
],
"BITProtect": [
"status": "off"/"normal"/"highsense",
"result": "malware"/"safe"
],
"Exceptions": [
(The exceptions during the server scanning loop)
]
}请求示例
print("Hello, world")