Skip to content

Instantly share code, notes, and snippets.

@lanmaster53
Last active July 25, 2024 18:15
Show Gist options
  • Save lanmaster53/e0fe8d1ac22eba9822de0f008e3ac2af to your computer and use it in GitHub Desktop.
Save lanmaster53/e0fe8d1ac22eba9822de0f008e3ac2af to your computer and use it in GitHub Desktop.
Collection of Burp Suite Pro custom column snippets.

Display the Server header from the response:

HttpResponse resp = requestResponse.response();
if (resp != null) {
    String val = resp.headerValue("Server");
    if (val != null) {
        return val;
    }
}
return "";

Display the GraphQL operation from the request:

HttpRequest req = requestResponse.request();
if (req != null) {
    String val = req.parameterValue("operationName", HttpParameterType.JSON);
    if (val != null) {
        return val.split("\\{|\\(")[0];
    }
}
return "";
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment