FeeiCN / GSIL

GitHub Sensitive Information Leakage(GitHub敏感信息泄露监控)
https://feei.cn/gsil/
GNU General Public License v3.0
2.13k stars 486 forks source link

关于配置问题 #46

Closed shenjian216 closed 5 years ago

shenjian216 commented 5 years ago

你好,我想请问下我配置好了config.gsil.example文件,配置信息如下: [mail] host : smtp.exmail.qq.com port : 25 mails : 10***13@qq.com from : GSIL password : 上述qq邮箱的密码 to : feei@feei.cn cc : feei@feei.cn

[github] clone: false tokens : 我自己账号github上token

还是出现了如下错误: E:\python\python.exe E:/git/Git/gsil/gsil.py github tokens GSIL/config.gsil file configure failed. Error: No section: 'github' Traceback (most recent call last): File "E:\git\Git\gsil\gsil\config.py", line 42, in get value = config.get(level1, level2) File "E:\python\lib\configparser.py", line 780, in get d = self._unify_values(section, vars) File "E:\python\lib\configparser.py", line 1146, in _unify_values raise NoSectionError(section) from None configparser.NoSectionError: No section: 'github' 2018-12-24 16:21:00,855 [GSIL] [CRITICAL] github -> tokens sections error Traceback (most recent call last): File "E:\git\Git\gsil\gsil\config.py", line 53, in if ',' in tokens: TypeError: argument of type 'NoneType' is not iterable 我想请问下是哪里出了问题,谢谢了。

FeeiCN commented 5 years ago

tokens配置有问题,注意分号要半角