使用POC:https://github.com/projectdiscovery/nuclei-templates/blob/master/exposures/configs/git-config.yaml
版本:2.0.1
报错信息:
Traceback (most recent call last):
File "/home/ubuntu/.local/lib/python3.8/site-packages/pocsuite3/lib/yaml/nuclei/protocols/common/expressions/init.py", line 842, in evaluate
result = safe_eval(potential_match, variables)
File "/home/ubuntu/.local/lib/python3.8/site-packages/pocsuite3/lib/yaml/nuclei/protocols/common/expressions/safe_eval.py", line 216, in safe_eval
raise Exception(f"Invalid expression [{expression}], only a very simple subset of Python is allowed.")
Exception: Invalid expression [!contains(tolower(body), '<html')], only a very simple subset of Python is allowed.
使用POC:https://github.com/projectdiscovery/nuclei-templates/blob/master/exposures/configs/git-config.yaml 版本:2.0.1 报错信息: Traceback (most recent call last): File "/home/ubuntu/.local/lib/python3.8/site-packages/pocsuite3/lib/yaml/nuclei/protocols/common/expressions/init.py", line 842, in evaluate result = safe_eval(potential_match, variables) File "/home/ubuntu/.local/lib/python3.8/site-packages/pocsuite3/lib/yaml/nuclei/protocols/common/expressions/safe_eval.py", line 216, in safe_eval raise Exception(f"Invalid expression [{expression}], only a very simple subset of Python is allowed.") Exception: Invalid expression [!contains(tolower(body), '<html')], only a very simple subset of Python is allowed.