Changed the rspec
parent
48b06a2cd9
commit
fb051edc2e
|
@ -142,16 +142,6 @@ describe Msf::Exploit::Remote::BrowserExploitServer do
|
|||
end
|
||||
end
|
||||
|
||||
|
||||
describe '#get_detection_html' do
|
||||
it "returns the detection code that the client will get" do
|
||||
expected_user_agent = 'Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.1; Trident/6.0)'
|
||||
html = server.get_detection_html(expected_user_agent)
|
||||
expect(html).not_to eq('')
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
describe '#on_request_exploit' do
|
||||
it "raises a NoMethodError if called" do
|
||||
fake_cli = nil
|
||||
|
@ -429,4 +419,3 @@ describe Msf::Exploit::Remote::BrowserExploitServer do
|
|||
end
|
||||
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue