Hint for HELP

I’ve readup on the sourcecode and the timing, I think I am missing something stupid with both of the exploits, would anyone be able to pm and assist with getting this working 100%?