Java sqlmap通过soap主体中的参数注入?

Java sqlmap通过soap主体中的参数注入?,java,soap,sql-injection,sqlmap,Java,Soap,Sql Injection,Sqlmap,肥皂的主体就像是吹: <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body&

肥皂的主体就像是吹:

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    <soap:Body>
        <actions xmlns="http://....com">
            <data>
                {"name":"test","age" : "10"}
            </data>
        </actions>
    </soap:Body>
</soap:Envelope>

{“姓名”:“测试”,“年龄”:“10”}
如何使用sqlmap通过名称或年龄等参数进行注入?

如果没有,我可以使用HttpRequest(在Java中)或类似的东西来完成sqlmap所做的事情吗?

首先,通过代理拦截HTTP请求,然后将*与值相加,最后可能是这样的

POST /uri HTTP/1.1
Host: example.com
Content-Length: 366
SOAPAction: http://
Content-Type: text/xml; charset=UTF-8
Accept: */*
DNT: 1
Accept-Encoding: gzip, deflate
Accept-Language: en-XA,en-US;q=0.8,en;q=0.6
Connection: close

<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
    <actions xmlns="http://....com">
        <data>
            {"name":"test*","age" : "10*"}
        </data>
    </actions>
</soap:Body>
POST/urihttp/1.1
主持人:example.com
内容长度:366
SOAPAction:http://
内容类型:text/xml;字符集=UTF-8
接受:*/*
DNT:1
接受编码:gzip,deflate
接受语言:en-XA,en-US;q=0.8,en;q=0.6
连接:关闭
{“姓名”:“测试*”,“年龄”:“10*”}

将整个HTTP请求保存到一个文本文件(在下面的示例中为test.txt),然后尝试sqlmap-r test.txt