Changed port numbers for specs.

Sometimes BeEF is a little too slow at
shutting down before next spec begins,
causing port conflicts.
This commit is contained in:
Ben Passmore
2019-08-18 13:42:35 +10:00
parent 5e18495b33
commit d8885ef51e
2 changed files with 2 additions and 2 deletions

View File

@@ -1,7 +1,7 @@
RSpec.describe 'BeEF Dynamic Reconsturction' do
before(:all) do
@port = 2000
@port = 2001
config = {}
config[:BindAddress] = '127.0.0.1'
config[:Port] = @port.to_s

View File

@@ -1,7 +1,7 @@
RSpec.describe 'BeEF Redirector' do
before(:all) do
@port = 2001
@port = 2002
config = {}
config[:BindAddress] = '127.0.0.1'
config[:Port] = @port.to_s