예제 #1
0
 def __init__(self,
              remoteName,
              sessPort=445,
              extendedSecurity=True,
              nmbSession=None,
              negPacket=None):
     self.extendedSecurity = extendedSecurity
     SMB3.__init__(self,
                   remoteName,
                   remoteName,
                   sess_port=sessPort,
                   session=nmbSession,
                   negSessionResponse=SMB2Packet(negPacket))
예제 #2
0
 def __init__(self,
              remote_name,
              remote_host,
              my_name=None,
              host_type=nmb.TYPE_SERVER,
              sess_port=445,
              timeout=60,
              UDP=0,
              preferredDialect=None,
              session=None,
              negSessionResponse=None):
     SMB3.__init__(self, remote_name, remote_host, my_name, host_type,
                   sess_port, timeout, UDP, SMB2_DIALECT_311, session,
                   negSessionResponse)
예제 #3
0
 def __init__(self, remoteName, sessPort = 445, extendedSecurity = True, nmbSession = None, negPacket=None):
     self.extendedSecurity = extendedSecurity
     SMB3.__init__(self,remoteName, remoteName, sess_port = sessPort, session=nmbSession, negSessionResponse=SMB2Packet(negPacket))