Method: Rex::Proto::SMB::SimpleClient::OpenFile#initialize

Defined in:
lib/rex/proto/smb/simpleclient/open_file.rb

#initialize(client, name, tree_id, file_id) ⇒ OpenFile

Returns a new instance of OpenFile.



10
11
12
13
14
15
16
# File 'lib/rex/proto/smb/simpleclient/open_file.rb', line 10

def initialize(client, name, tree_id, file_id)
  self.client = client
  self.name = name
  self.tree_id = tree_id
  self.file_id = file_id
  self.chunk_size = 48000
end