To attack someone physically. i.e. to 'kick someone's head in'. Same use as 'bray', e.g. If you thought yasel' hard you'd say 'I'll knack ye!' or 'I'll bray ye!'
(ed: similar I suppose in some respects to 'knacker')