Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

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"