BinaryDefense / artillery

The Artillery Project is an open-source blue team tool designed to protect Linux and Windows operating systems through multiple methods.
1.01k stars 196 forks source link

email_alerts setting not checked during start #96

Closed russhaun closed 4 years ago

russhaun commented 4 years ago

current release does not perform check for email alerts when loading. it just tries to send regardless. When run it fails with stmp related errors. When the honeypot code is called there are related functions that call this when run issue#87(email_alerts)

this does not hurt the operation. the default in config after install is "OFF". i will include check in mail function for this. also inform user it is not enabled

russhaun commented 4 years ago

with my changes this is what is produced now. tcp_server and udp_server both call mail() function when the server starts. it now warns you and tells you what to edit.

issue#96(check_enabled)

these changes are not specific to windows so should be good for all.

please check out the fixed branch

edit fixed branch is here

https://github.com/russhaun/artillery/tree/issue_96_fix