def test_hNetrFileGetInfo(self): dce, rpctransport = self.connect() resp = srvs.hNetrFileEnum(dce, NULL, NULL, 2) #resp.dump() resp0 = srvs.hNetrFileGetInfo(dce, resp['InfoStruct']['FileInfo']['Level2']['Buffer'][0]['fi2_id'], 2) #resp0.dump() resp = srvs.hNetrFileGetInfo(dce, resp['InfoStruct']['FileInfo']['Level2']['Buffer'][0]['fi2_id'], 3)
def test_hNetrFileGetInfo(self): dce, rpctransport = self.connect() resp = srvs.hNetrFileEnum(dce, NULL, NULL, 2) resp.dump() resp0 = srvs.hNetrFileGetInfo(dce, resp['InfoStruct']['FileInfo']['Level2']['Buffer'][0]['fi2_id'], 2) resp0.dump() resp = srvs.hNetrFileGetInfo(dce, resp['InfoStruct']['FileInfo']['Level2']['Buffer'][0]['fi2_id'], 3) resp.dump()