Example #1
0
 def __init__(self,
              remoteName,
              sessPort=445,
              extendedSecurity=True,
              nmbSession=None,
              negPacket=None):
     self.extendedSecurity = extendedSecurity
     SMB.__init__(self,
                  remoteName,
                  remoteName,
                  sess_port=sessPort,
                  session=nmbSession,
                  negPacket=negPacket)
Example #2
0
 def neg_session(self, negPacket=None):
     return SMB.neg_session(self,
                            extended_security=self.extendedSecurity,
                            negPacket=negPacket)
Example #3
0
	def __init__(self, remote_name, extended_security = True, sess_port = 445):
		SMB.__init__(self, remote_name, remote_name, sess_port = sess_port)
Example #4
0
	def __init__(self, remote_name, extended_security = True, sess_port = 445):
		SMB.__init__(self, remote_name, remote_name, sess_port = sess_port)
Example #5
0
 def neg_session(self, negPacket=None):
     return SMB.neg_session(self, extended_security=self.extendedSecurity, negPacket=negPacket)
Example #6
0
 def __init__(self, remoteName, sessPort = 445, extendedSecurity = True, nmbSession = None, negPacket=None):
     self.extendedSecurity = extendedSecurity
     SMB.__init__(self,remoteName, remoteName, sess_port = sessPort, session=nmbSession, negPacket=negPacket)