用法:
file_scan(file)
此函數允許您發送文件以使用 VirusTotal 進行掃描。在執行提交之前,最好檢索文件的最新報告。文件大小限製為 32MB,為了提交最大 200MB 的文件,必須使用
scan_big_file
函數例子:
>>> from clx.osi.virus_total import VirusTotalClient >>> client = VirusTotalClient(api_key='your-api-key') >>> client.file_scan('test.sh') {'status_code': 200, 'json_resp': {'scan_id': '0204e88255a0bd7807547e9186621f0478a6bb2c43e795fb5e6934e5cda0e1f6-1605914572', 'sha1': '70c0942965354dbb132c05458866b96709e37f44'...}
相關用法
- Python clx.osi.virus_total.VirusTotalClient.file_rescan用法及代碼示例
- Python clx.osi.virus_total.VirusTotalClient.file_report用法及代碼示例
- Python clx.osi.virus_total.VirusTotalClient.url_report用法及代碼示例
- Python clx.osi.virus_total.VirusTotalClient.ipaddress_report用法及代碼示例
- Python clx.osi.virus_total.VirusTotalClient.scan_big_file用法及代碼示例
- Python clx.osi.virus_total.VirusTotalClient.domain_report用法及代碼示例
- Python clx.osi.virus_total.VirusTotalClient.url_scan用法及代碼示例
- Python clx.osi.virus_total.VirusTotalClient.put_comment用法及代碼示例
- Python clx.osi.slashnext.SlashNextClient.host_reputation用法及代碼示例
- Python clx.osi.slashnext.SlashNextClient.api_quota用法及代碼示例
- Python clx.osi.farsight.FarsightLookupClient.query_rrset用法及代碼示例
- Python clx.osi.slashnext.SlashNextClient.url_scan用法及代碼示例
- Python clx.osi.whois.WhoIsLookupClient.whois用法及代碼示例
- Python clx.osi.slashnext.SlashNextClient.scan_report用法及代碼示例
- Python clx.osi.slashnext.SlashNextClient.host_report用法及代碼示例
- Python clx.osi.farsight.FarsightLookupClient.query_rdata_name用法及代碼示例
- Python clx.osi.slashnext.SlashNextClient.download_screenshot用法及代碼示例
- Python clx.osi.slashnext.SlashNextClient.url_scan_sync用法及代碼示例
- Python clx.osi.slashnext.SlashNextClient.download_html用法及代碼示例
- Python clx.osi.farsight.FarsightLookupClient.query_rdata_ip用法及代碼示例
注:本文由純淨天空篩選整理自rapids.ai大神的英文原創作品 clx.osi.virus_total.VirusTotalClient.file_scan。非經特殊聲明,原始代碼版權歸原作者所有,本譯文未經允許或授權,請勿轉載或複製。