From 1322cb0d3fac897fe7d11a344479578fd0452fb5 Mon Sep 17 00:00:00 2001 From: jvazquez-r7 Date: Tue, 3 Mar 2015 12:46:25 -0600 Subject: [PATCH] Clean find_first2 specs --- .../smb/server/share/command/trans2/find_first2_spec.rb | 8 -------- 1 file changed, 8 deletions(-) diff --git a/spec/lib/msf/core/exploit/smb/server/share/command/trans2/find_first2_spec.rb b/spec/lib/msf/core/exploit/smb/server/share/command/trans2/find_first2_spec.rb index a3446de77b..a649c76774 100644 --- a/spec/lib/msf/core/exploit/smb/server/share/command/trans2/find_first2_spec.rb +++ b/spec/lib/msf/core/exploit/smb/server/share/command/trans2/find_first2_spec.rb @@ -18,20 +18,12 @@ describe Msf::Exploit::Remote::SMB::Server::Share do let(:client_string) { '' } let(:client) { StringIO.new(client_string) } - let(:valid_find_file_names_info_request) do - "" - end - let(:valid_find_file_both_directory_info_params) do "\x16\x00\x56\x05\x07\x00\x04\x01\x00\x00\x00\x00\x5c\x00\x74\x00" + "\x65\x00\x73\x00\x74\x00\x2e\x00\x65\x00\x78\x00\x65\x00\x00\x00" end let(:find_file_both_directory_info_res_length) { 179 } - let(:valid_find_file_full_directory_info_request) do - "" - end - before(:each) do mod.instance_variable_set('@state', { client => {