Clean find_first2 specs
parent
8328c5c5e9
commit
1322cb0d3f
|
@ -18,20 +18,12 @@ describe Msf::Exploit::Remote::SMB::Server::Share do
|
||||||
let(:client_string) { '' }
|
let(:client_string) { '' }
|
||||||
let(:client) { StringIO.new(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
|
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" +
|
"\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"
|
"\x65\x00\x73\x00\x74\x00\x2e\x00\x65\x00\x78\x00\x65\x00\x00\x00"
|
||||||
end
|
end
|
||||||
let(:find_file_both_directory_info_res_length) { 179 }
|
let(:find_file_both_directory_info_res_length) { 179 }
|
||||||
|
|
||||||
let(:valid_find_file_full_directory_info_request) do
|
|
||||||
""
|
|
||||||
end
|
|
||||||
|
|
||||||
before(:each) do
|
before(:each) do
|
||||||
mod.instance_variable_set('@state', {
|
mod.instance_variable_set('@state', {
|
||||||
client => {
|
client => {
|
||||||
|
|
Loading…
Reference in New Issue