コード例 #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
ファイル: test_wkst.py プロジェクト: 0xc0da/impacket
    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