As a Cybersecurity Blade, ChatGPT can Cut both Ways