Fix examples descriptions

bug/bundler_fix
jvazquez-r7 2015-03-03 14:48:18 -06:00
parent 7f7b17c04e
commit 96c0f1847b
1 changed files with 6 additions and 6 deletions

View File

@ -161,7 +161,7 @@ describe Msf::Exploit::Remote::SMB::Server::Share do
expect(mod.smb_cmd_find_file_both_directory_info(client, file_path)).to eq(existent_file_file_both_dir_res_length) expect(mod.smb_cmd_find_file_both_directory_info(client, file_path)).to eq(existent_file_file_both_dir_res_length)
end end
it "sends a TRANSACTION2 response with SMB_STATUS_NO_SUCH_FILE error to the client" do it "sends a TRANSACTION2 response with the found FileName in SMB Data" do
mod.smb_cmd_find_file_both_directory_info(client, file_path) mod.smb_cmd_find_file_both_directory_info(client, file_path)
client.seek(0) client.seek(0)
res = client.read res = client.read
@ -184,7 +184,7 @@ describe Msf::Exploit::Remote::SMB::Server::Share do
expect(mod.smb_cmd_find_file_both_directory_info(client, folder_path)).to eq(existent_folder_file_both_dir_res_length) expect(mod.smb_cmd_find_file_both_directory_info(client, folder_path)).to eq(existent_folder_file_both_dir_res_length)
end end
it "sends a TRANSACTION2 response with SMB_STATUS_NO_SUCH_FILE error to the client" do it "sends a TRANSACTION2 response with the found FileName in SMB Data" do
mod.smb_cmd_find_file_both_directory_info(client, folder_path) mod.smb_cmd_find_file_both_directory_info(client, folder_path)
client.seek(0) client.seek(0)
res = client.read res = client.read
@ -226,7 +226,7 @@ describe Msf::Exploit::Remote::SMB::Server::Share do
expect(mod.smb_cmd_find_file_names_info(client, file_path)).to eq(existent_file_file_names_res_length) expect(mod.smb_cmd_find_file_names_info(client, file_path)).to eq(existent_file_file_names_res_length)
end end
it "sends a TRANSACTION2 response with SMB_STATUS_NO_SUCH_FILE error to the client" do it "sends a TRANSACTION2 response with the found FileName in SMB Data" do
mod.smb_cmd_find_file_names_info(client, file_path) mod.smb_cmd_find_file_names_info(client, file_path)
client.seek(0) client.seek(0)
res = client.read res = client.read
@ -249,7 +249,7 @@ describe Msf::Exploit::Remote::SMB::Server::Share do
expect(mod.smb_cmd_find_file_names_info(client, folder_path)).to eq(existent_folder_file_names_res_length) expect(mod.smb_cmd_find_file_names_info(client, folder_path)).to eq(existent_folder_file_names_res_length)
end end
it "sends a TRANSACTION2 response with SMB_STATUS_NO_SUCH_FILE error to the client" do it "sends a TRANSACTION2 response with the found FileName in SMB Data" do
mod.smb_cmd_find_file_names_info(client, folder_path) mod.smb_cmd_find_file_names_info(client, folder_path)
client.seek(0) client.seek(0)
res = client.read res = client.read
@ -291,7 +291,7 @@ describe Msf::Exploit::Remote::SMB::Server::Share do
expect(mod.smb_cmd_find_file_full_directory_info(client, file_path)).to eq(existent_file_file_full_res_length) expect(mod.smb_cmd_find_file_full_directory_info(client, file_path)).to eq(existent_file_file_full_res_length)
end end
it "sends a TRANSACTION2 response with SMB_STATUS_NO_SUCH_FILE error to the client" do it "sends a TRANSACTION2 response with the found FileName in SMB Data" do
mod.smb_cmd_find_file_full_directory_info(client, file_path) mod.smb_cmd_find_file_full_directory_info(client, file_path)
client.seek(0) client.seek(0)
res = client.read res = client.read
@ -314,7 +314,7 @@ describe Msf::Exploit::Remote::SMB::Server::Share do
expect(mod.smb_cmd_find_file_full_directory_info(client, folder_path)).to eq(existent_folder_file_full_res_length) expect(mod.smb_cmd_find_file_full_directory_info(client, folder_path)).to eq(existent_folder_file_full_res_length)
end end
it "sends a TRANSACTION2 response with SMB_STATUS_NO_SUCH_FILE error to the client" do it "sends a TRANSACTION2 response with the found FileName in SMB Data" do
mod.smb_cmd_find_file_full_directory_info(client, folder_path) mod.smb_cmd_find_file_full_directory_info(client, folder_path)
client.seek(0) client.seek(0)
res = client.read res = client.read