A Resilient Data-Driven Controller Against DoS Attacks