Explorar el Código

Fixed URL Protection script

main
kusum hace 4 meses
padre
commit
b35f7371c6
Se han modificado 1 ficheros con 3 adiciones y 3 borrados
  1. 3
    3
      GSAutomation/waap-labs/waap_urlprotection.sh

+ 3
- 3
GSAutomation/waap-labs/waap_urlprotection.sh Ver fichero

@@ -6,6 +6,6 @@ read -p "Enter the prefix for the URL: " prefix
# Construct URLs with the user-provided prefix
url="https://${prefix}.gslab-juiceshop.com/rest/admin/application-configuration"

# Generating POST requests for rest/admin/application-configuration
echo "Generating GET requests for rest/admin/application-configuration"
siege -c150 -t10s "$url
# Generating GET requests for /rest/admin/application-configuration
echo "Generating GET requests for /rest/admin/application-configuration"
siege -c150 -t30s $url

Cargando…
Cancelar
Guardar