Skip to content

Commit

Permalink
Remove MIME check
Browse files Browse the repository at this point in the history
  • Loading branch information
egru committed Oct 27, 2016
1 parent 2250ae5 commit ca58fce
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/main/java/burp/WSDLParser.java
Original file line number Diff line number Diff line change
Expand Up @@ -48,12 +48,6 @@ public int parseWSDL(IHttpRequestResponse requestResponse, IBurpExtenderCallback

IResponseInfo responseInfo = helpers.analyzeResponse(response);

if (!responseInfo.getStatedMimeType().contains("XML")){
JOptionPane.showMessageDialog(tab.getUiComponent().getParent(), "Not a WSDL", "Error", JOptionPane.ERROR_MESSAGE);
return -2;

}

IRequestInfo request = helpers.analyzeRequest(requestResponse);
headers = request.getHeaders();

Expand Down

0 comments on commit ca58fce

Please sign in to comment.