(byte[] response)
| 135 | } |
| 136 | |
| 137 | public static byte[] getHttpResponseBody(byte[] response) { |
| 138 | int bodyOffset = -1; |
| 139 | IResponseInfo analyzeResponse = BurpExtender.getHelpers().analyzeResponse(response); |
| 140 | bodyOffset = analyzeResponse.getBodyOffset(); |
| 141 | return Arrays.copyOfRange(response, bodyOffset, response.length); |
| 142 | } |
| 143 | |
| 144 | @SuppressWarnings("unchecked") |
| 145 | public static <E> E randomChoice(Collection<? extends E> input) { |
no test coverage detected