You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

waap_wafexceptions.sh 446B

123456789101112131415
  1. #!/bin/bash
  2. # Prompt for URL prefix
  3. read -p "Enter the prefix: " prefix
  4. # Define the path
  5. PATH='search?q=apple'
  6. /usr/bin/curl -s -S "https://$prefix.gslab-juiceshop.com/$PATH" \
  7. -H 'user-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.193 Safari/537.36' \
  8. -H 'waf_exception: <iframe src="javascript:alert(`Perf Tool Test`)">' \
  9. --compressed \
  10. -D - \
  11. -o /dev/null
  12. echo " Finished"