objective-see / DoNotDisturb

Detect Evil Maid Attacks
GNU General Public License v3.0
294 stars 42 forks source link

Binary execution feature does not work #23

Open danthegoodman1 opened 4 years ago

danthegoodman1 commented 4 years ago

No matter was is in there, it does nothing. These are some system logs:

Apr 30 16:35:05 dansserhascreen Do Not Disturb[190]: Do Not Disturb (pid: 190) ERROR: failed to execute /Users/dangoodman/lidOpenPics/script.sh
Apr 30 16:36:35 dansserhascreen Do Not Disturb[190]: Do Not Disturb (pid: 190) ERROR: failed to execute /Users/dangoodman/lidOpenPics/script.sh
Apr 30 16:43:30 dansserhascreen Do Not Disturb[190]: Do Not Disturb (pid: 190) ERROR: failed to execute /Users/dangoodman/lidOpenPics/script.sh
Apr 30 16:43:41 dansserhascreen Do Not Disturb[190]: Do Not Disturb (pid: 190) ERROR: failed to execute /Users/dangoodman/lidOpenPics/script.sh
Apr 30 16:44:08 dansserhascreen Do Not Disturb[190]: Do Not Disturb (pid: 190) ERROR: failed to execute bash /Users/dangoodman/lidOpenPics/script.sh
Apr 30 16:44:26 dansserhascreen Do Not Disturb[190]: Do Not Disturb (pid: 190) ERROR: failed to execute bash /Users/dangoodman/lidOpenPics/script.sh
Apr 30 16:45:04 dansserhascreen Do Not Disturb[190]: Do Not Disturb (pid: 190) ERROR: failed to execute bash /Users/dangoodman/lidOpenPics/script.sh
Apr 30 16:45:39 dansserhascreen Do Not Disturb[190]: Do Not Disturb (pid: 190) ERROR: failed to execute /Users/dangoodman/lidOpenPics/script.sh
JayBrown commented 4 years ago

Same here (Mojave 10.14.6):

May 2 08:14:52 <HOSTNAME> Do Not Disturb[122]: Do Not Disturb (pid: 122) ERROR: failed to execute ~/.local/bin/dnd.sh

Notification via push to iOS app works fine, but the script fails.

agtpirrone commented 3 years ago

I think someone will have to take over this project and fix some other things as well. I found that my installation of DND reset its settings after a while.. ignoring Touch ID, and forgetting the command I tell it to run.

agtpirrone commented 1 year ago

Sadly this great piece of software has Been left to die. Im pretty sure that it has to do with some new kind of permission that recent macOS iterations have implemented, the app runs fine, but its settings get reseted every once in a while, and it defeats the purpose of letting us know when someone is at our device.

I just lack the knowledge to help with this project I wish I coul, but all I can do is point out that there is an issue.