Skip to content

Commit

Permalink
Merge pull request PortSwigger#67 from PortSwigger/server-column-bambda
Browse files Browse the repository at this point in the history
Create ServerHeader.bambda
  • Loading branch information
PortSwiggerWiener authored Apr 12, 2024
2 parents 7a0efce + 6e9c8b7 commit 0ebfd28
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions CustomColumn/Proxy/HTTP/ServerHeader.bambda
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
/**
* Extracts the value of the Server header from the response
* @author agarri_fr
**/

return requestResponse.hasResponse() && requestResponse.response().hasHeader("Server")
? requestResponse.response().headerValue("Server")
: "";

0 comments on commit 0ebfd28

Please sign in to comment.