Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

waap_urlprotection.sh 473B

1234567891011
  1. #!/bin/bash
  2. # Prompt the user for the value of the prefix
  3. read -p "Enter the prefix for the URL: " prefix
  4. # Construct URLs with the user-provided prefix
  5. url="https://${prefix}.gslab-juiceshop.com/api/Feedbacks/"
  6. # Generating POST requests for /api/Feedbacks/
  7. echo "Generating POST requests for /api/Feedbacks/"
  8. siege -c150 -t10s "$url POST {\"captchaId\": 81, \"captcha\": \"9\", \"comment\": \"i like it! (anonymous)\", \"rating\": 5}" --content-type "application/json"