diff --git a/burp/BurpExtender.java b/burp/BurpExtender.java index 754880c..ec1f947 100644 --- a/burp/BurpExtender.java +++ b/burp/BurpExtender.java @@ -161,7 +161,7 @@ public boolean isEnabled(byte[] content, boolean isRequest) { return requestInfo.getContentType() == IRequestInfo.CONTENT_TYPE_JSON; } else { responseInfo = helpers.analyzeResponse(content); - return responseInfo.getInferredMimeType().equals("JSON"); + return responseInfo.getInferredMimeType().equals("JSON") || responseInfo.getStatedMimeType().equals("JSON"); } } @@ -231,4 +231,4 @@ public byte[] getSelectedData() { return txtInput.getSelectedText(); } } -} \ No newline at end of file +}