-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathoptions_bleed.sh
executable file
·31 lines (30 loc) · 1.43 KB
/
options_bleed.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#!/bin/bash
url=$1
curl -sI -X OPTIONS $url | grep "Allow:" | tee && \
curl -sI -X MKCOL $url | grep "Allow:" | tee && \
curl -sI -X CHECKOUT $url | grep "Allow:" | tee && \
curl -sI -X MOVE $url | grep "Allow:" | tee && \
curl -sI -X PUT $url | grep "Allow:" | tee && \
curl -sI -X UNCHECKOUT $url | grep "Allow:" | tee && \
curl -sI -X COPY $url | grep "Allow:" | tee && \
curl -sI -X REPORT $url | grep "Allow:" | tee && \
curl -sI -X GET $url | grep "Allow:" | tee && \
curl -sI -X LABEL $url | grep "Allow:" | tee && \
curl -sI -X PROPFIND $url | grep "Allow:" | tee && \
curl -sI -X UPDATE $url | grep "Allow:" | tee && \
curl -sI -X MKACTIVITY $url | grep "Allow:" | tee && \
curl -sI -X POST $url | grep "Allow:" | tee && \
curl -sI -X MKWORKSPACE $url | grep "Allow:" | tee && \
curl -sI -X LOCK $url | grep "Allow:" | tee && \
curl -sI -X CONNECT $url | grep "Allow:" | tee && \
curl -sI -X UNLOCK $url | grep "Allow:" | tee && \
curl -sI -X TRACE $url | grep "Allow:" | tee && \
curl -sI -X PATCH $url | grep "Allow:" | tee && \
curl -sI -X MERGE $url | grep "Allow:" | tee && \
curl -sI -X PROPPATCH $url | grep "Allow:" | tee && \
curl -sI -X BASELINE-CONTROL $url | grep "Allow:" | tee && \
curl -sI -X HEAD $url | grep "Allow:" | tee && \
curl -sI -X DELETE $url | grep "Allow:" | tee && \
curl -sI -X VERSION-CONTROL $url | grep "Allow:" | tee && \
curl -sI -X DDDD $url | grep "Allow:" | tee && \
curl -sI -X CHECKIN $url | grep "Allow:" | tee