diff --git a/src/main/java/net/portswigger/burp/extensions/TLSContextMenuItemsProvider.java b/src/main/java/net/portswigger/burp/extensions/TLSContextMenuItemsProvider.java index 5158b59..f07b214 100644 --- a/src/main/java/net/portswigger/burp/extensions/TLSContextMenuItemsProvider.java +++ b/src/main/java/net/portswigger/burp/extensions/TLSContextMenuItemsProvider.java @@ -47,7 +47,7 @@ public List provideMenuItems(ContextMenuEvent contextMenuEvent) { if(requestResponses.isEmpty()) return null; - HttpRequestResponse requestResponse = requestResponses.getFirst(); + HttpRequestResponse requestResponse = requestResponses.get(0); String userAgent = requestResponse.request().header("User-Agent").value(); if (userAgent == null || userAgent.isBlank()) { Arrays.stream(Browsers.values()).forEach(