From 7f0fa6505062a4148869c161911fcf7b70a83455 Mon Sep 17 00:00:00 2001 From: Kuba Orlik Date: Fri, 15 Jul 2022 12:25:33 +0200 Subject: [PATCH] Shorter waiting time while tainting --- Docker/run-analysis.sh | 1 + Docker/utils.sh | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/Docker/run-analysis.sh b/Docker/run-analysis.sh index 49da1dc..2b7fd25 100755 --- a/Docker/run-analysis.sh +++ b/Docker/run-analysis.sh @@ -32,6 +32,7 @@ while IFS= read -r DOMAIN; do # these domains return a 404 anyways, no need to waste time on them: if is_http_error "$DOMAIN"; then echo "skipping $DOMAIN"; continue; fi load_website "$DOMAIN?hl=pl" "$DOMAIN" + sleep 4 # sometimes the consent popup needs a little time open_console grab "$DOMAIN before" (tr '\n' ' ' < click-accept-all.js) | xclip -sel clip diff --git a/Docker/utils.sh b/Docker/utils.sh index d914b14..d25d858 100644 --- a/Docker/utils.sh +++ b/Docker/utils.sh @@ -178,7 +178,6 @@ load_website(){ wait_for_website_to_load sleep 0.3 wait_for_website_to_load - sleep 7 # sometimes the consent modal needs a little time to show up } open_network_inspector(){