> submit an INSERT into the database with you as the winning number at a predetermined date/time in the past
If you have this capability then why not just insert all number combinations into the db well before draw time?
Makes me wonder how money flows from lottery terminals back to the lottery itself. I imagine there's some rigorous bookkeeping involved.