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:
committed by
RageLtMan
parent
cd70044e36
commit
396029a58e
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user