Skip to content

Commit

Permalink
Create Check_OPTIONS.bcheck
Browse files Browse the repository at this point in the history
  • Loading branch information
ceramicskate0 authored May 1, 2024
1 parent 56460a4 commit ebf2096
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions other/recon/Check_OPTIONS.bcheck
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
metadata:
language: v1-beta
name: "HTTP Methods Available (passive)"
description: "Send HTTP OPTIONS method to site to check what methods are avialable via the response"
author: "Ceramicskate0"
tags: "passive"

given request then
send request called check:
method: "OPTIONS"

if {check.response.headers} matches "[Aa]llow:[^\n]+" then
report issue:
severity: info
confidence: tentative
detail: `Check the 'Allow:' Header value(s)\n\n{check.response.headers}`
remediation: "N/A"
end if

0 comments on commit ebf2096

Please sign in to comment.