File tree Expand file tree Collapse file tree
dongtai_agent_python/tests Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -104,7 +104,8 @@ api_get "demo/xss_template" "content=alert"
104104api_get " demo/xss_template_string" " content=alert"
105105
106106headline " xxe"
107- api_post " demo/xxe_login" ' <?xml version="1.0" encoding="utf-8"?><!DOCTYPE Anything [<!ENTITY xxe SYSTEM "file:///etc/passwd">]><user><username>&xxe;</username><password>yzx</password></user>'
107+ curl_with_code -H " Content-Type: text/plain" " ${HOST} /api/django/demo/xxe_login?_r=${RUN_ID} " -X POST --data-raw ' <?xml version="1.0" encoding="utf-8"?><!DOCTYPE Anything [<!ENTITY xxe SYSTEM "file:///etc/passwd">]><user><username>&xxe;</username><password>yzx</password></user>'
108+ curl_with_code -H " Content-Type: text/plain" " ${HOST} /api/flask/demo/xxe_login?_r=${RUN_ID} " -X POST --data-raw ' <?xml version="1.0" encoding="utf-8"?><!DOCTYPE Anything [<!ENTITY xxe SYSTEM "file:///etc/passwd">]><user><username>&xxe;</username><password>yzx</password></user>'
108109
109110headline " ssrf"
110111api_get " demo/urllib_ssrf" " url=https://www.huoxian.cn/"
You can’t perform that action at this time.
0 commit comments