Best way to create rule for specific python script? #654
Replies: 3 comments 1 reply
-
That would not work. Appending ; to the end of a command is treated as a different command, so if the 2nd command opens a connection you'd be prompted to allow/deny it. If you want to match exactly If you have a real example, post it so I can take a look at it :) |
Beta Was this translation helpful? Give feedback.
-
Yeah basically I'd like to allow any argument to the script. |
Beta Was this translation helpful? Give feedback.
-
Thanks, that should be useful for multiple programs. |
Beta Was this translation helpful? Give feedback.
-
It seems like creating a regex that matches
python3 /path/to/script.py
and allows whatever after that string would be insecure, as you could just append; some other script
on the end, surely? Is there some non-regex way to do this? (some functionality that "understands" the command-line syntax?).Beta Was this translation helpful? Give feedback.
All reactions