Skip to content

Commit

Permalink
Merge pull request PortSwigger#80 from GangGreenTemperTatum/bambda/fi…
Browse files Browse the repository at this point in the history
…lter-pwnfox-ads

feat: bambda for pwnfox housekeeping
  • Loading branch information
ps-porpoise authored Oct 28, 2024
2 parents 37d92af + 2749267 commit e1154e5
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Filter/Proxy/HTTP/HighlightPwnFox.bambda
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
/**
* Filter requests in scope and containing the "X-Pwnfox-Color" header.
*
* @author GangGreenTemperTatum (https://github.com/GangGreenTemperTatum)
**/

var request = requestResponse.request();
return request.isInScope() && request.hasHeader("X-Pwnfox-Color");

0 comments on commit e1154e5

Please sign in to comment.