SimulPiscator / AirSane

Publish SANE scanners to MacOS, Android, and Windows via Apple AirScan.
GNU General Public License v3.0
251 stars 26 forks source link

Add a no-advice parameter in order to hide version #67

Closed bastien-roucaries closed 3 years ago

bastien-roucaries commented 3 years ago

According to good security pratice using a hardening flag version should be hidded.

https://github.com/SimulPiscator/AirSane/blob/335e832047d718fd119f19b8078904ac93eba08b/server/mainpage.cpp#L62

bastien-roucaries commented 3 years ago

(may be they are other part where the version is outputed)

SimulPiscator commented 3 years ago

Displaying the version on the server's main page is now optional, but enabled by default. The version is written to stderr at startup if logging is enabled, but that should be ok IMHO.