예제 #1
0
 def test_hNetrDfsGetVersion(self):
     dce, rpctransport = self.connect()
     try:
         resp = srvs.hNetrDfsGetVersion(dce)
         resp.dump()
     except Exception, e:
         if e.get_error_code() != 0x2:
             raise
예제 #2
0
 def test_hNetrDfsGetVersion(self):
     dce, rpctransport = self.connect()
     try:
         resp = srvs.hNetrDfsGetVersion(dce)
         resp.dump()
     except Exception, e:
         if e.get_error_code() != 0x2:
             raise
예제 #3
0
파일: test_srvs.py 프로젝트: zpaav/impacket
 def test_hNetrDfsGetVersion(self):
     dce, rpc_transport = self.connect()
     try:
         resp = srvs.hNetrDfsGetVersion(dce)
         resp.dump()
     except srvs.DCERPCSessionError as e:
         if e.get_error_code() != 0x2:
             raise