I gotta wonder: if this was really a way someone was trying to steal an election...why would they bother?
Once you have thoroughly owned the voting machine system and can set weights why not, I don't know, just ignore the counted ballots entirely and report the totals as whatever you want?