fix dockerfile installation and test spec

This commit is contained in:
kaitoozawa
2025-12-14 15:23:46 +10:00
parent 77f59d07d9
commit 3be084ade6
2 changed files with 8 additions and 3 deletions

View File

@@ -32,7 +32,7 @@ RSpec.describe 'BeEF Redirector' do
response = Curl::Easy.http_get("http://127.0.0.1:#{@port}/test/")
expect(response.response_code).to eql(302)
expect(response.body_str).to eql("302 found")
expect(response.header_str).to match(/Location: http:\/\/www.beefproject\.com/)
expect(response.header_str).to match(/location:\s*http:\/\/www\.beefproject\.com/i)
end
end