rewrite uptime check and sg600 attack timestamps