From a82e5209bed91f13364efacdd252fcdb92968535 Mon Sep 17 00:00:00 2001 From: Jack Walker Date: Mon, 18 May 2020 14:42:33 +1000 Subject: [PATCH] Flipped localhost/127.0.0.1 in ATTACK/VICTIM_DOMAIN test constants. Supposed fix for testing issue. --- spec/support/constants.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/support/constants.rb b/spec/support/constants.rb index 9a14996ad..dd7bebe35 100644 --- a/spec/support/constants.rb +++ b/spec/support/constants.rb @@ -6,8 +6,8 @@ BEEF_TEST_DIR = "/tmp/beef-test/" # General constants -ATTACK_DOMAIN = "127.0.0.1" -VICTIM_DOMAIN = "localhost" +ATTACK_DOMAIN = "localhost" +VICTIM_DOMAIN = "127.0.0.1" ATTACK_URL = "http://" + ATTACK_DOMAIN + ":3000/ui/panel" VICTIM_URL = "http://" + VICTIM_DOMAIN + ":3000/demos/basic.html"