Skip to content

Commit 96c0f18

Browse files
committed
Fix examples descriptions
1 parent 7f7b17c commit 96c0f18

File tree

1 file changed

+6
-6
lines changed
  • spec/lib/msf/core/exploit/smb/server/share/information_level

1 file changed

+6
-6
lines changed

spec/lib/msf/core/exploit/smb/server/share/information_level/find_spec.rb

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@
161161
expect(mod.smb_cmd_find_file_both_directory_info(client, file_path)).to eq(existent_file_file_both_dir_res_length)
162162
end
163163

164-
it "sends a TRANSACTION2 response with SMB_STATUS_NO_SUCH_FILE error to the client" do
164+
it "sends a TRANSACTION2 response with the found FileName in SMB Data" do
165165
mod.smb_cmd_find_file_both_directory_info(client, file_path)
166166
client.seek(0)
167167
res = client.read
@@ -184,7 +184,7 @@
184184
expect(mod.smb_cmd_find_file_both_directory_info(client, folder_path)).to eq(existent_folder_file_both_dir_res_length)
185185
end
186186

187-
it "sends a TRANSACTION2 response with SMB_STATUS_NO_SUCH_FILE error to the client" do
187+
it "sends a TRANSACTION2 response with the found FileName in SMB Data" do
188188
mod.smb_cmd_find_file_both_directory_info(client, folder_path)
189189
client.seek(0)
190190
res = client.read
@@ -226,7 +226,7 @@
226226
expect(mod.smb_cmd_find_file_names_info(client, file_path)).to eq(existent_file_file_names_res_length)
227227
end
228228

229-
it "sends a TRANSACTION2 response with SMB_STATUS_NO_SUCH_FILE error to the client" do
229+
it "sends a TRANSACTION2 response with the found FileName in SMB Data" do
230230
mod.smb_cmd_find_file_names_info(client, file_path)
231231
client.seek(0)
232232
res = client.read
@@ -249,7 +249,7 @@
249249
expect(mod.smb_cmd_find_file_names_info(client, folder_path)).to eq(existent_folder_file_names_res_length)
250250
end
251251

252-
it "sends a TRANSACTION2 response with SMB_STATUS_NO_SUCH_FILE error to the client" do
252+
it "sends a TRANSACTION2 response with the found FileName in SMB Data" do
253253
mod.smb_cmd_find_file_names_info(client, folder_path)
254254
client.seek(0)
255255
res = client.read
@@ -291,7 +291,7 @@
291291
expect(mod.smb_cmd_find_file_full_directory_info(client, file_path)).to eq(existent_file_file_full_res_length)
292292
end
293293

294-
it "sends a TRANSACTION2 response with SMB_STATUS_NO_SUCH_FILE error to the client" do
294+
it "sends a TRANSACTION2 response with the found FileName in SMB Data" do
295295
mod.smb_cmd_find_file_full_directory_info(client, file_path)
296296
client.seek(0)
297297
res = client.read
@@ -314,7 +314,7 @@
314314
expect(mod.smb_cmd_find_file_full_directory_info(client, folder_path)).to eq(existent_folder_file_full_res_length)
315315
end
316316

317-
it "sends a TRANSACTION2 response with SMB_STATUS_NO_SUCH_FILE error to the client" do
317+
it "sends a TRANSACTION2 response with the found FileName in SMB Data" do
318318
mod.smb_cmd_find_file_full_directory_info(client, folder_path)
319319
client.seek(0)
320320
res = client.read

0 commit comments

Comments
 (0)