Fix connectivity issues

The connection needs to slowly send data to the remote end for
stability. Additionally, the `exit` command should be issued when
closing the connction so it is reset back to the logon prompt.
This commit is contained in:
Spencer McIntyre
2023-07-13 11:24:44 -04:00
committed by RageLtMan
parent cd70044e36
commit 396029a58e
4 changed files with 45 additions and 13 deletions
+1 -1
View File
@@ -222,7 +222,7 @@ class MetasploitModule < Msf::Post
it 'should read the binary data we just wrote' do
bin = read_file(datastore['BaseFileName'])
vprint_status "Read #{bin.length} bytes"
vprint_status "Read #{bin.length} bytes" if bin
bin == binary_data
end