lion-gu / ioc-explorer Goto Github PK
View Code? Open in Web Editor NEWExplore Indicators of Compromise Automatically
License: MIT License
Explore Indicators of Compromise Automatically
License: MIT License
於 config.ini 裡輸入正確的 VirusTotal API key 之後,程式輸出下列的錯誤訊息
Traceback (most recent call last):
File "C:\Users\yutta\eclipse-workspace\ioc-explorer\explorer.py", line 74, in main
ioc_list = build_ioc_relation(root)
^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\yutta\eclipse-workspace\ioc-explorer\explorer.py", line 52, in build_ioc_relation
result_list = relation(ioc)
^^^^^^^^^^^^^
File "C:\Users\yutta\eclipse-workspace\ioc-explorer\relationship.py", line 342, in qax_domain_to_ip
if r.status_code == 200 and len(r.json()['data']) > 0:
^^^^^^^^
File "C:\Users\yutta.conda\envs\ioc-explorer\Lib\site-packages\requests\models.py", line 897, in json
return complexjson.loads(self.text, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\yutta.conda\envs\ioc-explorer\Lib\json_init_.py", line 346, in loads
return _default_decoder.decode(s)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\yutta.conda\envs\ioc-explorer\Lib\json\decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\yutta.conda\envs\ioc-explorer\Lib\json\decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
比對 request 的傳回值,並用r.encoding = r.apparent_encoding
修正編碼後,發現下列正確的傳回值貌似不是正確的 API 端口傳回值,可能 'http://fdp.example.cn/flint/rrset/xnz.freetzi.com/' 這個 API 端口已失效,需要更新~~
'\r\n\r\n\r\n<title>我的私人小站</title>\r\n\r\n\r\n\r\n<script type="text/javascript" src="/index/ajax.js"></script>\r\n<script type="text/javascript" src="/index/login.js"></script>\r\n\r\n\r\n\r\n
\r\n
域名联系Email:usainvest # tom.com 请将#替换为@ ( # Replace with @ )
\r\n\r\n注意:密码输错超过10次请隔日再试!
\r\n本站经纪人微信二维码\r\n
Copyright © 1999. All rights reserved. 版权所有:《我的私人小站》
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.