> It also tries to open a UPnP port forward on your router, but fails on mine because the key names are jumbled: This should fail on any router as you should have UPnP disabled.
Uninstall the NightOwl app
41–50 of 236 posts
Re: Uninstall the NightOwl app
#42--edit--
I do not know how to format code here.
--edit--
Another attempt to format code here.
# Step 1 Save script below to your local drive. For example, `/Users/xxxx/Documents/Scripts/DarkMode/darkModeWatcher.sh`
#!/bin/zsh
# ref: https://unix.stackexchange.com/a/526097
# start time is 18:33 -> 18 * 60 * 60 + 33 * 60 = 66780
# end time is 07:33 -> 07 * 60 * 60 + 33 * 60 = 27180
# install gdate via `brew install gdate`
if [[ $(uname -m) == 'arm64' ]]; then
secsSinceMidnight=$(( $(/opt/homebrew/bin/gdate +%s) - $(/opt/homebrew/bin/gdate -d '00:00:00' +%s) ))
else
secsSinceMidnight=$(( $(/usr/local/bin/gdate +%s) - $(/usr/local/bin/gdate -d '00:00:00' +%s) ))
fi
if [[ $secsSinceMidnight -lt 27180 || $secsSinceMidnight -gt 66780 ]]; then
# turn on dark mode
osascript -e 'tell app "System Events" to tell appearance preferences to set dark mode to true'
else
# turn off dark mode
osascript -e 'tell app "System Events" to tell appearance preferences to set dark mode to false'
fi
# Step 2
run `crontab -e` and add script below # cron job for enabling macOS dark mode periodically
# darkModeWatcher script is executed 60s after reboot. After that, it is executed at 35 mins of each hour if the display is not asleep.
# replace xxxx with your username
@reboot sleep 60 && /bin/zsh /Users/xxxx/Documents/Scripts/DarkMode/darkModeWatcher.sh >> /Users/xxxx/Library/Logs/systemDarkModeWatcher.log 2>&1
35 */1 * * * if [[ -n "$(/usr/sbin/system_profiler SPDisplaysDataType | /usr/bin/grep 'Asleep')" ]]; then newDisplayStatus=0; else newDisplayStatus=1; fi && if [[ $newDisplayStatus == 1 ]]; then /bin/zsh /Users/xxxx/Documents/Scripts/DarkMode/darkModeWatcher.sh >> /Users/xxxx/Library/Logs/systemDarkModeWatcher.log 2>&1 ; fiRe: Uninstall the NightOwl app
#43This is a common use for residential proxies. Ticket touts buy use of the infected users to make requests to try beat restrictions on access from data-centre hosts or high-volume access from and other hosts, to increase their charge of getting valuable tickets for later resale.
A number of backdoored (by the creator, by someone cracking into their source repositories, or in this case by buy-out) free browser extensions, VPN apps, and such, turn the user's machines into a proxy like this.
Re: Uninstall the NightOwl app
#44Great piece.
Re: Uninstall the NightOwl app
#45I did a small Automator action that just switches dark mode on my computer, and I activate it with the cmd-alt-shift-P hotkey; it’s truly convenient and there’s no need for a third-party :)
Re: Uninstall the NightOwl app
#46Little Snitch would help detecting to which IPs and addresses app connects and allow to block those connections
Re: Uninstall the NightOwl app
#47I hate silent takeovers so much. Chrome developer extensions are another very popular thing for bad actors to buy out and replace with malware, and it sucks.
All these free apps have value but unfortunately it doesn't translate to any income for the developer so they find other ways.
Re: Uninstall the NightOwl app
#48Why do you need to call out to zsh for this command instead of just running it in the current shell?
Re: Uninstall the NightOwl app
#49Re: Uninstall the NightOwl app
#50Earlier quoted context omitted.
So, usually I associate super-shady things with hiding the fact that they're super-shady. I'm thankful, but also genuinely curious, why they put this explicitly in their TOS. It just kind of seems to be like the kind of person/org who would implement this shady stuff in the first place, would also actively hide that they're doing it. Is there a legal reason that protects NightOwl by explicitly putting it in the TOS?…
I’m no lawyer but my guess is that the bar is so low for what’s actually legal- and no one generally reads these EULA’s- that it’s easier just to have it in there.
You really don't want the government interfering with the implementation details and business models of software products. That's a really bad road to go down.
The problem is really a lack of inspiration for both the dev and user. In this case someone made a trivial tool and didn't know how else to monetize it than being a scumbag and exploiting social norms and good will. The user also decided to use something that's dumb and not worth risking making any agreement with any entity at all.
Situations like this are where free software excels. Things that are inconsequential in premise should stay that way in practice.