Open t0ber00t opened 3 years ago
Module.yaml.scanner.ScannerError: while scanning a simple key
in "scan_config.yaml", line 18, column 9
could not find expected ':'
in "scan_config.yaml", line 20, column 9
Module.yaml.scanner.ScannerError: while scanning a simple key in "scan_config.yaml", line 18, column 9 could not find expected ':' in "scan_config.yaml", line 20, column 9
原因很简单呀,scan_config.yaml 中配置出问题了,你key值没有打空格就会造成这样,打空格间隔是yaml的一个规则
Module.yaml.scanner.ScannerError: while scanning a simple key in "scan_config.yaml", line 18, column 9 could not find expected ':' in "scan_config.yaml", line 20, column 9
我也复现出这个情况了
原因就是没有打空格间隔
Module.yaml.scanner.ScannerError: while scanning a simple key in "scan_config.yaml", line 18, column 9 could not find expected ':' in "scan_config.yaml", line 20, column 9
原因很简单呀,scan_config.yaml 中配置出问题了,你key值没有打空格就会造成这样,打空格间隔是yaml的一个规则
感谢大佬,就是这个原因,但是新的问题也出现了。。。求指导
Module.yaml.scanner.ScannerError: while scanning a simple key in "scan_config.yaml", line 18, column 9 could not find expected ':' in "scan_config.yaml", line 20, column 9
我也复现出这个情况了
原因就是没有打空格间隔
感谢大佬,就是这个原因,之前的问题解决了,但是新的问题也出现了。。。求指导
Module.yaml.scanner.ScannerError: while scanning a simple key in "scan_config.yaml", line 18, column 9 could not find expected ':' in "scan_config.yaml", line 20, column 9
我也复现出这个情况了
原因就是没有打空格间隔
感谢大佬,就是这个原因,之前的问题解决了,但是新的问题也出现了。。。求指导
这个好像是因为fofa语法方面出的问题,是domain处的语法出了点问题吧,具体的我也不清楚,我复现了好几回就复现出一次你那种情况,但继续跑时有正常运行了
domain的语法不对吗?我也出现这个问题了啊 File "scan.py", line 72, in Fofa for host in search.get_data('%s'%(value),count)['results']: KeyError: 'results' Exception in thread Thread-2: Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/threading.py", line 932, in _bootstrap_inner self.run() File "scan.py", line 113, in run urllist = self.Fofa(count) File "scan.py", line 72, in Fofa for host in search.get_data('%s'%(value),count)['results']: KeyError: 'results' Exception in thread Thread-1: Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/threading.py", line 932, in _bootstrap_inner self.run() File "scan.py", line 113, in run urllist = self.Fofa(count) File "scan.py", line 72, in Fofa for host in search.get_data('%s'%(value),count)['results']: KeyError: 'results' 这个解决了么?