update-geoipdb fix will hopefully solve some failing tests

This commit is contained in:
Jack Walker
2020-04-22 12:38:13 +10:00
parent 764e54fda5
commit 02fa3af41f
5 changed files with 5 additions and 5 deletions

View File

@@ -94,7 +94,7 @@ RSpec.describe 'AutoRunEngine test' do
@victim = @driver.navigate.to "#{VICTIM_URL}" @victim = @driver.navigate.to "#{VICTIM_URL}"
# Give time for browser hook to occur # Give time for browser hook to occur
sleep 4 sleep 2.5
# Identify Session ID of victim generated above # Identify Session ID of victim generated above
@hooks = RestClient.get "#{RESTAPI_HOOKS}?token=#{@token}" @hooks = RestClient.get "#{RESTAPI_HOOKS}?token=#{@token}"

View File

@@ -87,7 +87,7 @@ RSpec.describe 'Browser details handler' do
@victim = @driver.navigate.to "#{VICTIM_URL}" @victim = @driver.navigate.to "#{VICTIM_URL}"
# Give time for browser hook to occur # Give time for browser hook to occur
sleep 4 sleep 2.5
# Identify Session ID of victim generated above # Identify Session ID of victim generated above
@hooks = RestClient.get "#{RESTAPI_HOOKS}?token=#{@token}" @hooks = RestClient.get "#{RESTAPI_HOOKS}?token=#{@token}"

View File

@@ -69,7 +69,7 @@ RSpec.describe 'BeEF Extension Requester' do
victim = @driver.navigate.to "#{VICTIM_URL}" victim = @driver.navigate.to "#{VICTIM_URL}"
# Give time for browser hook to occur # Give time for browser hook to occur
sleep 4 sleep 2.5
response = RestClient.get "#{RESTAPI_HOOKS}", {:params => {:token => @token}} response = RestClient.get "#{RESTAPI_HOOKS}", {:params => {:token => @token}}
puts "hooks response: #{response}" puts "hooks response: #{response}"

View File

@@ -69,7 +69,7 @@ RSpec.describe 'BeEF WebSockets enabled' do
victim = @driver.navigate.to "#{VICTIM_URL}" victim = @driver.navigate.to "#{VICTIM_URL}"
# Give time for browser hook to occur # Give time for browser hook to occur
sleep 4 sleep 2.5
#Uses the response and hooked browser details to get the response #Uses the response and hooked browser details to get the response
response = RestClient.get "#{RESTAPI_HOOKS}", {:params => {:token => @token}} response = RestClient.get "#{RESTAPI_HOOKS}", {:params => {:token => @token}}

View File

@@ -95,7 +95,7 @@ RSpec.describe 'BeEF Debug Command Modules:' do
@victim = @driver.navigate.to "#{VICTIM_URL}" @victim = @driver.navigate.to "#{VICTIM_URL}"
# Give time for browser hook to occur # Give time for browser hook to occur
sleep 4 sleep 2.5
# Identify Session ID of victim generated above # Identify Session ID of victim generated above
@hooks = RestClient.get "#{RESTAPI_HOOKS}?token=#{@token}" @hooks = RestClient.get "#{RESTAPI_HOOKS}?token=#{@token}"