e911·11 ปีที่แล้ว·discussI think you can already do this without escaping strings? execve("/bin/bash", "-c", "command $1 $2", "-", "parameter1", "parameter2");
e911·13 ปีที่แล้ว·discussIs there any way to protect backups from being deleted? ServerA shouldn't be allowed to destroy ServerB's backups. And preferably it shouldn't be allowed to destroy it's own backups (bad backup script or evil attacker trying to delete eevrything).