Note that I am nowhere near an AppleScript expert. It's definitely not a CLI tool for LittleSnitch, but it will do the job most of the time. Like with Fink, which triggers curl only a bit after you run the command, in which case you will need to have two ssh connections opened and guesstimate the appropriate time at which to run the script. Here's the code: tell application "System Events" tell process "KUC" tell window "Little Snitch" - The few lines below are not mandatory - It allows to set "Allow Any network connection" (default is "Allow Same port") click pop up button of group 1 delay 1 keystroke "a" keystroke return - End of the non mandatory section click button "Allow Until Quit" end tell end tellend tellSave the script, and then you can use something like this to allow the exception: $ curl | osascript ~/Documents/Allow_Snitch.scptThis method won't work for everything, though. So I came up with a little AppleScript UI script to fix this. Mac what is little snitch daemon install#Say I want to install something remotely using Fink I can't, because there's no way to tell LittleSnitch to let curl connect to the mirror. It's very useful to stop apps (such as trojan horses) from "calling home." The problem is I often log into home via ssh, and want to use stuff like curl, for which I do not want to define a specific rule and would rather have LittleSnitch ask me every time. For those who don't know, LittleSnitch is a great application that lets you block outgoing network connections.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |