Chatgpt for cybersecurity: practical applications, challenges, and future directions