Trump waged an attack on media outlets for reporting negatively about him, calling CNN and MSNBC "corrupt" and "illegal".