update-geoipdb fix will hopefully solve some failing tests
This commit is contained in:
@@ -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}"
|
||||||
|
|||||||
@@ -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}"
|
||||||
|
|||||||
@@ -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}"
|
||||||
|
|||||||
@@ -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}}
|
||||||
|
|||||||
@@ -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}"
|
||||||
|
|||||||
Reference in New Issue
Block a user