theonemule / simple-openvpn-server

A setup script and simple web UI for setting up an OpenVPN Server
MIT License
232 stars 115 forks source link

Tighten up some security and made version variable #19

Closed ultramookie closed 6 months ago

ultramookie commented 1 year ago

Removing a file should not need a recursive, removing that to reduce blast radius if things go wrong.

sed updated to be more specific for what is being replaced and avoid future issues if spacing changes.

Execution bit given to whole directory is too wide, should be specific to what is only necessary.