drduh / macOS-Security-and-Privacy-Guide

Guide to securing and improving privacy on macOS

Home Page:https://drduh.github.io/macOS-Security-and-Privacy-Guide/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

read_launch_plists.py Throws an Error

kimg45 opened this issue · comments

Error is in line 87: iterator should return strings, not bytes (did you open the file in text mode?)

Tested in a VM, so it's the default experience if you open on the stock OS. Also I'm using the version of python that comes with the dev tools. I think a script like this ought to work OOTB.

I am not even sure the launchd stuff is useful anymore, as it was implemented long before SIP and other protections, features and startup methods existed. The guide no longer has references to any of the files either. The Services section probably needs a refresh and, as part of it, we can decide to fix or remove these files. What do you think?

Yeah if it was up to me I would just remove it.