Gravar-mail: XSS attack detection based on machine learning