关于对 tenserflow 二进制进行 pwn 的 CVE(工作)合集
对于 CVE2022_23591(仍在进行中,我需要弄清楚如何将 JSON 转回 Protobuf,然后执行
with tf.io.gfile.GFile('test.pb', 'rb') as f: graph_def = tf.compat.v1.GraphDef() print("aiciaaaaaaaaaaaaaa") print(graph_def) graph_def.ParseFromString(f.read()) #tf.saved_model.load('/tmp/saved_model')
)