예제 #1
0
파일: test_wkst.py 프로젝트: zpaav/impacket
 def test_hNetrGetJoinInformation(self):
     dce, rpc_transport = self.connect()
     try:
         resp = wkst.hNetrGetJoinInformation(dce, '\x00')
         resp.dump()
     except Exception as e:
         if str(e).find('ERROR_INVALID_PARAMETER') < 0:
             raise
예제 #2
0
    def test_hNetrGetJoinInformation(self):
        dce, rpctransport = self.connect()

        try:
            resp = wkst.hNetrGetJoinInformation(dce, '\x00')
            resp.dump()
        except Exception, e:
            if str(e).find('ERROR_INVALID_PARAMETER') < 0:
                raise