

@flow.StateHandler(next_state='ListDeviceDirectories')
def Start(self, unused_response):
    'Query the client for available Volume Shadow Copies using a WMI query.'
    self.state.Register('shadows', [])
    self.state.Register('raw_device', None)
    self.CallClient('WmiQuery', query='SELECT * FROM Win32_ShadowCopy', next_state='ListDeviceDirectories')

dataset/ETHPy150Open google/grr/grr/lib/flows/general/windows_vsc.py ListVolumeShadowCopies.Start/original