Skip to content

Commit

Permalink
2.11.24 Update web services
Browse files Browse the repository at this point in the history
  • Loading branch information
webpwnized committed Oct 29, 2024
1 parent fd0827f commit da6b0c8
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 24 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/scan-application-with-stackhawk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ jobs:
uses: github/codeql-action/upload-sarif@main
with:
# Path to SARIF file relative to the root of the repository
sarif_file: stackhawk.sarif
sarif_file: mutillidae/stackhawk.sarif
# Optional category for the results
# Used to differentiate multiple results for one commit
category: StackHawk
46 changes: 23 additions & 23 deletions src/webservices/soap/docs/ws-test-connectivity.html
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@ <h2>Request Structure</h2>
Accept: */*
Content-Type: text/xml; charset=utf-8
SOAPAction: "urn:testConnectivity"
Content-Length: 180
Connection: keep-alive
Content-Length: 185
Connection: close

&lt;soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"&gt;
&lt;soapenv:Header/&gt;
Expand All @@ -74,6 +74,27 @@ <h2>Example Using <code>curl</code> (Command Line)</h2>
&lt;/soapenv:Body&gt;
&lt;/soapenv:Envelope&gt;'</code></pre>

<h2>How to Use in Burp Repeater</h2>
<ol>
<li>Open Burp Suite and navigate to the Repeater tab.</li>
<li>Copy the following request and paste it into the Repeater window:</li>
</ol>

<pre><code>POST /webservices/soap/ws-test-connectivity.php HTTP/1.1
Host: mutillidae.localhost
Content-Type: text/xml; charset=utf-8
SOAPAction: "urn:testConnectivity"
Content-Length: 147

&lt;soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"&gt;
&lt;soapenv:Header/&gt;
&lt;soapenv:Body&gt;
&lt;testConnectivity/&gt;
&lt;/soapenv:Body&gt;
&lt;/soapenv:Envelope&gt;</code></pre>

<p>Click <strong>Send</strong> to test the connectivity. If the service is working, the server will respond with a status message.</p>

<h2>Expected Response</h2>
<p>If the request is successful, the server will respond with the following SOAP message:</p>
<pre><code>&lt;?xml version="1.0"?&gt;
Expand All @@ -98,27 +119,6 @@ <h2>Troubleshooting</h2>
</ul>
</div>

<h2>How to Use in Burp Repeater</h2>
<ol>
<li>Open Burp Suite and navigate to the Repeater tab.</li>
<li>Copy the following request and paste it into the Repeater window:</li>
</ol>

<pre><code>POST /webservices/soap/ws-test-connectivity.php HTTP/1.1
Host: mutillidae.localhost
Content-Type: text/xml; charset=utf-8
SOAPAction: "urn:testConnectivity"
Content-Length: 147

&lt;soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"&gt;
&lt;soapenv:Header/&gt;
&lt;soapenv:Body&gt;
&lt;testConnectivity/&gt;
&lt;/soapenv:Body&gt;
&lt;/soapenv:Envelope&gt;</code></pre>

<p>Click <strong>Send</strong> to test the connectivity. If the service is working, the server will respond with a status message.</p>

<h2>Learn More</h2>
<p>Try sending multiple requests and observe how the timestamp changes in each response.</p>
</body>
Expand Down

0 comments on commit da6b0c8

Please sign in to comment.