Example #1
0
 def test_notify_config(self):
     dce, rpctransport, scHandle  = self.connect()
     lpMachineName = 'DUMMY\x00'
     
     try:
         resp = scmr.hRNotifyBootConfigStatus(dce, lpMachineName, 0x0)
         resp.dump()
     except scmr.DCERPCSessionError, e:
        if str(e).find('ERROR_BOOT_ALREADY_ACCEPTED') <= 0:
            raise
Example #2
0
    def test_notify_config(self):
        dce, rpctransport, scHandle = self.connect()
        lpMachineName = 'DUMMY\x00'

        try:
            resp = scmr.hRNotifyBootConfigStatus(dce, lpMachineName, 0x0)
            #resp.dump()
        except scmr.DCERPCSessionError, e:
            if str(e).find('ERROR_BOOT_ALREADY_ACCEPTED') <= 0:
                raise
Example #3
0
    def test_notify_config(self):
        dce, rpc_transport = self.connect()
        scHandle = self.get_service_handle(dce)
        lpMachineName = 'DUMMY\x00'

        try:
            resp = scmr.hRNotifyBootConfigStatus(dce, lpMachineName, 0x0)
            resp.dump()
        except scmr.DCERPCSessionError as e:
            if str(e).find('ERROR_BOOT_ALREADY_ACCEPTED') <= 0:
                raise

        scmr.hRCloseServiceHandle(dce, scHandle)