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 366B

1234567891011121314
  1. #!/bin/bash
  2. # Prompt for URL prefix
  3. read -p "Enter the prefix: " prefix
  4. # Define the path
  5. PATHS='search?q=apple'
  6. # Use siege to perform the request
  7. siege "https://${prefix}.gslab-juiceshop.com/$PATHS" \
  8. --header="waf_exception: <iframe src=\"javascript:alert('Perf Tool Test')\">" \
  9. --content-type="application/x-www-form-urlencoded" \
  10. --concurrent=1 \
  11. --time=10S