Skip to main content

177 docs tagged with "macos"

View all tags

Clear "Accessibility" permissions

This script resets permissions for accessibility features. It revokes application access to accessibility services, preventing misuse and ensuring these features are used only with user consent.

Clear "All" permissions

This script resets all permissions for applications. It revokes all previously granted permissions, enhancing privacy and security by ensuring no application has unauthorized access to system services or user data.

Clear "App Modification" permissions

This script resets permissions for modifying other apps. It prevents applications from updating or deleting other apps, maintaining system integrity and user control.

Clear "Apple Events" permissions

This script resets permissions for Apple Events. It revokes permissions for applications to send restricted Apple Events to other processes, enhancing privacy and security.

Clear "Application Data" permissions

This script resets permissions for accessing application data. It revokes application access to specific application data, enhancing privacy and data security.

Clear "Calendar" permissions

This script resets permissions for accessing the calendar information managed by the Calendar app. It ensures that applications cannot access calendar data without user consent, protecting personal and sensitive calendar information.

Clear "Camera" permissions

This script resets permissions for camera access. It ensures no application can access the system camera without explicit user permission, protecting against unauthorized surveillance and data breaches.

Clear "Contacts" permissions

This script resets permissions for accessing contacts. The contact information managed by the Contacts app. It ensures that applications cannot access the user's contact list without explicit permission, maintaining the confidentiality of personal contacts.

Clear "Desktop Folder" permissions

This script resets permissions for accessing the Desktop folder. It revokes application access to files on the desktop, protecting personal and work-related documents from unauthorized access.

Clear "Documents Folder" permissions

This script resets permissions for accessing the Documents folder. It prevents applications from accessing files in this folder without user consent, safeguarding important and private documents.

Clear "Downloads Folder" permissions

This script resets permissions for accessing the Downloads folder. It ensures that applications cannot access downloaded files without user authorization, protecting downloaded content from misuse.

Clear "File Provider Presence" permissions

This script resets permissions for File Provider Presence. It revokes the ability of File Provider applications to know when the user is accessing their managed files, enhancing user privacy.

Clear "Full Disk Access" permissions

This script resets permissions for full disk access. Full disk access allows the application access to all protected files, including system administration files. It revokes broad file access from applications, significantly reducing the risk of data exposure and enhancing overall system security.

Clear "Listen Events" permissions

This script resets "ListenEvent" permissions. It revokes application access to listen to system events, preventing unauthorized monitoring of user interactions with the system.

Clear "Media Library" permissions

This script resets permissions for accessing the Media Library. It ensures that applications cannot access Apple Music, music and video activity, and the media library without user consent.

Clear "Microphone" permissions

This script resets permissions for microphone access. It revokes all granted access to the microphone, protecting against eavesdropping and unauthorized audio recording by applications.

Clear "Network Volumes" permissions

This script resets permissions for accessing files on network volumes. It ensures applications cannot access network files without user authorization.

Clear "Photos" permissions

This script resets permissions for accessing the pictures managed by the Photos app. It revokes all permissions granted to applications, safeguarding personal photos and media from unauthorized access.

Clear "Post Event" permissions

This script resets permissions for sending "PostEvent". It prevents applications from using CoreGraphics APIs to send system events, safeguarding against potential misuse.

Clear "Reminders" permissions

This script resets permissions for accessing reminders information managed by the Reminders app. It ensures applications cannot access or modify reminders data without explicit user permission, maintaining the privacy of personal reminders.

Clear "Screen Capture" permissions

This script resets permissions for screen capture. It ensures applications cannot capture screen content without user authorization, protecting sensitive information displayed on the screen.

Clear "Speech Recognition" permissions

This script resets permissions for using Speech Recognition. It revokes application access to the speech recognition facility and sending speech data to Apple, protecting user privacy.

Clear Adobe cache

This script configures macOS using Bash (Shell script). It runs "sudo rm -rfv ~/Library/Application\\...".

Clear all system logs

This script deletes the main system logs from your computer. Deleting these logs enhances your privacy by eliminating records of your system usage. These logs are used in forensic analysis to study your behavior, posing a privacy risk. This action also frees up disk space by removing files that can grow significantly over time. These logs are essential for monitoring system events and identifying unauthorized access incidents. The system periodically recycles these logs; therefore, their deletio...

Clear app installation logs

This script deletes logs that record the history of installed applications and updates. The logs are stored at "/private/var/db/receipts" and "/Library/Receipts/InstallHistory.plist". You can also access them via "/var/db/receipts", since "/var" links to "/private/var". The logs contain details such as the name of the installed package, its version, and the installation date. These logs are used in forensic analysis to study your behavior, posing a privacy risk. Attackers can exploit this data t...

Clear Apple System Logs (ASL)

This script deletes Apple System Log (ASL) files, enhancing your privacy and security. ASL files contain system information such as firewall activity, login details, application errors, and network data. The logs are located in the "/private/var/log/asl/" directory. You can also access them via "/var/log/asl/, since "/var" links to "/private/var". These files are in a binary format and have an ".asl" extension. They can be viewed using the "syslog` command. Originally, the ASL framework was inte...

Clear application privacy permissions

This category provides scripts to reset privacy permissions for a variety of applications on your device, helping you to re-establish control over your personal data. Each script targets a specific permission type – such as camera, microphone, contacts, or accessibility services – enabling you to revoke permissions that have previously been granted to applications. By resetting these permissions, you not only enhance your privacy but also improve your device's security. After running these scrip...

Clear bash history

This script configures macOS using Bash (Shell script). It runs "rm -f ~/.bash_history".

Clear browser history

This category configures macOS using 24 scripts. These scripts are organized in 4 categories. The category includes 3 subcategories that include more scripts and categories.

Clear Chrome cache

This script configures macOS using Bash (Shell script). It runs "sudo rm -rfv ~/Library/Application\\...".

Clear Chrome history

This category configures macOS using 2 scripts. The category includes 2 subscripts.

Clear Composer cache

This script configures macOS using Bash (Shell script). It runs "if type "composer" &> /dev/null; then ...".

Clear CUPS printer job cache

This script configures macOS using Bash (Shell script). It runs "sudo rm -rfv /var/spool/cups/c0* sudo rm -rfv...".

Clear diagnostic log details

This script removes extra logging details for diagnostic logs. This data provides additional details to existing system logs. This information includes detailed data on events such as crashes and system errors. The data is then mapped to their respective logs. The logs are stored in the "/private/var/db/uuidtext" directory. You can also access them via "/var/db/uuidtext/", since "/var" links to "/private/var". These logs are used in forensic analysis to study your behavior, posing a privacy risk...

Clear diagnostic logs

This script removes diagnostic logs. These logs document system and application activities. The data is stored in a compressed format called "tracev3". They include detailed data about processes, libraries, and events. The logs are stored in the "/private/var/db/diagnostics" directory. You can also access them via "/var/db/diagnostics/", since "/var" links to "/private/var". These logs are used in forensic analysis to study your behavior, posing a privacy risk. Unauthorized access to these logs ...

Clear DNS cache

This script configures macOS using Bash (Shell script). It runs "sudo dscacheutil -flushcache sudo killall -HUP...".

Clear Dropbox cache

This script configures macOS using Bash (Shell script). It runs "if [ -d "~/Dropbox/.dropbox.cache" ]; then ...".

Clear Firefox cache

This script configures macOS using Bash (Shell script). It runs "sudo rm -rf ~/Library/Caches/Mozilla/ rm -fv...".

Clear Firefox cookies

This script configures macOS using Bash (Shell script). It runs "rm -fv ~/Library/Application\\...".

Clear Firefox passwords

This script configures macOS using Bash (Shell script). It runs "rm -fv ~/Library/Application\\...".

Clear Gradle cache

This script configures macOS using Bash (Shell script). It runs "if [ -d "~/.gradle/caches" ]; then rm -rfv...".

Clear Homebrew cache

This script configures macOS using Bash (Shell script). It runs "if type "brew" &>/dev/null; then brew...".

Clear installation logs

This script deletes installation logs. These logs document software installations and updates, including dates and details. This data is valuable for troubleshooting and auditing. The logs are stored at "/private/var/log/install.log" on Mac OS X 10.3 and later. You can also access them via "/var/log/install.log", since "/var" links to "/private/var". Deleting these logs removes detailed records of installed software, enhancing your privacy and security. These logs are used in forensic analysis t...

Clear iOS Device Backups

This script configures macOS using Bash (Shell script). It runs "rm -rfv ~/Library/Application\\...".

Clear iOS photo cache

This script configures macOS using Bash (Shell script). It runs "rm -rf ~/Pictures/iPhoto\\ Library/iPod\\ Photo\\ Cache/*".

Clear iOS simulators

This script configures macOS using Bash (Shell script). It runs "if type "xcrun" &>/dev/null; then ...".

Clear iOS usage data

This category configures macOS using 5 scripts. The category includes 5 subscripts.

Clear Mail app logs

This script deletes the log files of the Mail app. The logs are stored at "$HOME/Library/Containers/com.apple.mail/Data/Library/Logs/Mail". These logs may contain details of every connection made by the Mail app. These logs can grow significantly in size, particularly when connection activity logging is enabled. This growth can reduce system performance and Mail app responsiveness. Deleting these logs protects the privacy of your email interactions by removing records of connection details. Addi...

Clear NPM cache

This script configures macOS using Bash (Shell script). It runs "if type "npm" &> /dev/null; then npm cache...".

Clear privacy.sexy activity logs

This script removes log files generated by the privacy.sexy desktop application. Different from the web version, the desktop application records logs for troubleshooting. Additionally, these logs offer auditing and transparency for security. Deleting these logs can help maintain your privacy by ensuring there are no records of the application's activities on your system.

Clear privacy.sexy data

This category offers scripts to remove data left by the privacy.sexy desktop application, helping you ensure your privacy by eliminating all traces of use. The web application version of privacy.sexy does not create or store user data on your device, so this category is applicable to desktop application users only. These scripts are designed for anyone wanting to ensure their script activities leave no trace on their systems.

Clear privacy.sexy script history

This script removes script files generated by the privacy.sexy desktop application. The desktop version executes scripts directly on your device, saving a script file for execution, troubleshooting, and security. By running this script, you remove the executed script files, enhancing your privacy by ensuring that there is no residual data that could reveal your usage patterns or preferences.

Clear Pyenv-Virtualenv cache

This script configures macOS using Bash (Shell script). It runs "if [ "$PYENVVIRTUALENVCACHE_PATH" ]; then ...".

Clear Safari caches

This category configures macOS using 3 scripts. The category includes 3 subscripts.

Clear Safari cookies

This script configures macOS using Bash (Shell script). It runs "rm -f ~/Library/Cookies/Cookies.binarycookies...".

Clear Safari history

This category configures macOS using 13 scripts. These scripts are organized in 1 categories. The category includes 10 subscripts and 1 subcategories that include more scripts and categories.

Clear Safari history copy

This script configures macOS using Bash (Shell script). It runs "rm -rfv ~/Library/Caches/Metadata/Safari/History".

Clear system and app logs

This category includes scripts that delete various operating system logs. These logs document system operations, user activities, application behavior, and errors. While essential for debugging and monitoring, these logs contain sensitive information and pose privacy risks. Deleting these logs: Reduces unauthorized access risks to personal data and system configurations. • Optimizes system performance by freeing up disk space.

Clear system application logs

This script clears the system application logs. The logs are stored at "/Library/Logs/". They include various logs and diagnostic reports. These logs are used for system-wide event logging. Third-party applications usually can't access these logs due to restricted permissions. However, some system-wide apps (like Microsoft Defender for Endpoint) store logs in this directory. These logs contain troubleshooting details and may include personal data. These logs are used in forensic analysis to stud...

Clear system cache

This script configures macOS using Bash (Shell script). It runs "sudo rm -rfv /Library/Caches/* &>/dev/null...".

Clear system maintenance logs

This script deletes system maintenance logs, enhancing user privacy by removing traces of system activity. Derived from Mac OS X's UNIX heritage, these logs are produced by scheduled scripts that clean system logs, manage temporary files, and handle tasks such as log file rotation and system statistics reporting. The logs are stored at "/private/var/log/daily.out", "/private/var/log/weekly.out", and "/private/var/log/monthly.out". You can also access them via `/var/log/{daily|weekly|monthly}.out...

Clear third-party application data

This category configures macOS using 13 scripts. These scripts are organized in 1 categories. The category includes 11 subscripts and 1 subcategories that include more scripts and categories.

Clear unified system and app logs

This category contains scripts for clearing unified logs on macOS. This system is referred to as the unified logging system, macOS Unified Logs, or Apple Unified Logging and Activity Tracing. It was introduced with macOS Sierra, version 10.12. This system centralizes all logs, providing a comprehensive and detailed record of both system and application activities. These logs are stored on both disk and in memory. They are used for debugging and offer insights into app behavior and system e...

Clear unused Docker data

This script frees up disk space, but also improves user privacy by: 1. Removal of stopped containers: Containers often run applications or services that might process sensitive or personal data. Even if a container is stopped, its filesystem remains intact, and potentially sensitive data inside it can be accessed. By removing stopped containers, we eliminate this potential privacy risk. 2. Deletion of unused images: Images can sometimes contain sensitive information, especially if they w...

Clear user activity audit logs (login, logout, authentication, etc.)

This script deletes audit logs from your system, enhancing your privacy by erasing records of your activities. Audit logs document activities like file access, creation, and user authentication. These logs are used in forensic analysis to study your behavior, posing a privacy risk. The logs use the OpenBSM audit framework. The framework was initially developed by SUN Microsystems and now maintained under the BSD license by the Trusted BSD Project. The logs are stored at "/private/var/audit". You...

Clear user application logs

This script deletes user application logs from your system. The logs are stored at "$HOME/Library/Logs". This directory contains logs specific to different applications. These logs are referred as application logs, user logs or user application logs. They detail software behavior and interactions. The deletion of these logs is considered safe. These logs are used in forensic analysis to study your behavior, posing a privacy risk. Removing them enhances privacy by eradicating records that c...

Clear Yarn cache

This script configures macOS using Bash (Shell script). It runs "if type "yarn" &> /dev/null; then echo...".

Clear zsh history

This script configures macOS using Bash (Shell script). It runs "rm -f ~/.zsh_history".

Configure macOS Application Firewall

This category configures macOS using 5 scripts. These scripts are organized in 1 categories. The category includes 3 subscripts and 1 subcategories that include more scripts and categories.

Configure OS

This category configures macOS using 16 scripts. These scripts are organized in 4 categories. The category includes 7 subscripts and 2 subcategories that include more scripts and categories.

Configure Parallels Desktop

Parallels Desktop for Mac is software providing hardware virtualization for macOS. When you use it, it collects and shares your personal data to third parties. Personal data include IP address of your device, your broad geographical location (country, state (if applicable), and city) and used product. It includes third-party advertisements and automatic check for updates by default. Both of these behaviors communicate with online services that reveal personal data about you.

Configure programs

This category configures macOS using 9 scripts. These scripts are organized in 2 categories. The category includes 6 subscripts and 1 subcategories that include more scripts and categories.

Configure Siri

This category configures macOS using 7 scripts. These scripts are organized in 2 categories. The category includes 1 subscripts and 2 subcategories that include more scripts and categories.

Disable "Ask Siri"

This script configures macOS using Bash (Shell script).It can be restored. It runs "defaults write com.apple.assistant.support...".

Disable "Do you want to enable Siri?" pop-up

This script stops the "Enable Siri" pop-up from appearing the first time a user logs into macOS. Introduced in macOS version 10.12, this pop-up asks, "Do you want to enable Siri?" which could lead to Siri being enabled unintentionally. This script configures the "com.apple.SetupAssistant!DidSeeSiriSetup" setting to suppress this pop-up. This command tells the system that the Siri setup is complete, preventing the pop-up in future sessions and enhancing privacy by avoiding unintended Siri activat...

Disable AirDrop file sharing

This script configures macOS using Bash (Shell script).It can be restored. It runs "defaults write com.apple.NetworkBrowser...".

Disable automatic app updates from the App Store

This script disables automatic app updates from the App Store. It prevents automatic installation of application updates as soon as they become available from Apple. Thus, applications are updated only when you choose to do so. Disabling automatic updates prevents unexpected app behavior or settings changes. It helps you to maintain your current app configurations and privacy settings. It also protects against potential zero-day vulnerabilities in your apps. This gives you the ability to choose ...

Disable automatic checks for Parallels Desktop updates

Automatic checks are weekly by default, and this script disables the checks completely. Frequency to check for updates can be configured using "Application preferences.Check for updates" property. Check: "defaults read 'com.parallels.Parallels Desktop' 'Application preferences.Check for updates'" • Values: 0 - Never, 1 - Once a day, 2 - Once a week (default), 3 - Once a month

Disable automatic downloads for Parallels Desktop updates

Automatic downloads are enabled by default, and this script disables automatic downloads. Automatic downloads are configured using the "Application preferences.Download updates automatically" property. Check: "defaults read 'com.parallels.Parallels Desktop' 'Application preferences.Download updates automatically'" • Values: 0 - Disabled, 1 - Enabled (default)

Disable automatic installation for system data files and security updates

This script stops automatic installations of critical updates, including security and system data file updates. It improves privacy by providing: Users can review updates before installation to ensure they meet privacy standards and do not introduce unwanted telemetry or changes. Reduces how often it connects to update servers, potentially protection user information. Control Over Update Timing: • Reduced External Communications: The script configures the `/Library/Preferences/com.apple....

Disable automatic installation of macOS updates

This script stops macOS from automatically installing updates. This script improves privacy by reducing unwanted data collection and ensuring updates don't change settings or data without your approval. The Center for Internet Security (CIS) advises against automatic updates in scenarios where changes require thorough testing and approval processes to avoid operational disruptions. This script configures following to stop macOS from installing updates automatically: 1. `/Library/Preferences/com....

Disable automatic updates

This category contains scripts to disable automatic operating system updates. Disabling automatic updates gives users full control over when and which updates are applied to their system. It improves privacy by preventing unwanted data collection, new vulnerabilities and unapproved changes to system settings.

Disable captive portal detection

This script enhances your privacy and security by disabling automatic detection of captive portals, preventing unintended network connections. However, this change requires users to manually open a web browser to access such networks. Overview of captive portals - Captive portals are also known as subscription or Wi-Fi Hotspot networks. These are common in public places like coffee shops, hotels, and airports. These portals redirect users to specific webpages where they must log in. Typicall...

Disable Firefox telemetry

This script configures macOS using Bash (Shell script).It can be restored. It runs "# Enable Firefox policies so the telemetry can...".

Disable Gatekeeper

This script configures macOS using Bash (Shell script).It can be restored. It runs "osmajorver=$(sw_vers -productVersion | awk...".

Disable insecure telnet protocol

This script configures macOS using Bash (Shell script).It can be restored. It runs "sudo launchctl disable system/com.apple.telnetd".

Disable NET Core CLI telemetry

This script configures macOS using Bash (Shell script).It can be restored. It runs "command='export DOTNETCLITELEMETRY_OPTOUT=1'...".

Disable Parallels Desktop advertisements

Parallels Desktop in-product notifications to show ads from Parallels or other third party companies. The main setting is "ProductPromo.ForcePromoOff" that you can check using: 1. "defaults read 'com.parallels.Parallels Desktop' 'ProductPromo.ForcePromoOff'" 2. "defaults read 'com.parallels.Parallels Desktop' 'WelcomeScreenPromo.PromoOff'" By default, on clean installations the value is "0" which is equivalent of "no". There is also "WelcomeScreenPromo.PromoOff" setting that's pre-configured to ...

Disable personalized advertisements and identifier tracking

This script enhances your privacy by deactivating Personalized Ads and disabling the collection of identifiers related to your device. The process involves modifying certain key configurations, which prevents Apple's advertising platform from using your personal information to deliver targeted ads. When Personalized Ads is enabled, your information may be used to provide ads that closely align with your interests. You might occasionally encounter such targeted ads in Apple News, Stocks, and the ...

Disable PowerShell Core telemetry

This script configures macOS using Bash (Shell script).It can be restored. It runs "command='export POWERSHELLTELEMETRYOPTOUT=1'...".

Disable remote Apple events

This script configures macOS using Bash (Shell script).It can be restored. It runs "sudo systemsetup -setremoteappleevents off".

Disable Siri

This category configures macOS using 4 scripts. The category includes 4 subscripts.

Disable Siri voice feedback

This script configures macOS using Bash (Shell script).It can be restored. It runs "defaults write com.apple.assistant.backedup...".

Disable Spotlight indexing

This script configures macOS using Bash (Shell script).It can be restored. It runs "sudo mdutil -i off -d /".

Disable the insecure TFTP service

This script configures macOS using Bash (Shell script).It can be restored. It runs "sudo launchctl disable 'system/com.apple.tftpd'".

Empty trash on all volumes

This script configures macOS using Bash (Shell script). It runs "# on all mounted volumes sudo rm -rfv...".

Enable application firewall

This script configures macOS using Bash (Shell script).It can be restored. It runs "/usr/libexec/ApplicationFirewall/socketfilterfw...".

Enable firewall logging

This script configures macOS using Bash (Shell script).It can be restored. It runs "/usr/libexec/ApplicationFirewall/socketfilterfw...".

Enable stealth mode

This script configures macOS using Bash (Shell script).It can be restored. It runs "/usr/libexec/ApplicationFirewall/socketfilterfw...".

macos

Scripts to improve privacy in macOS. They are written using Bash (Shell script) language.

Privacy cleanup

This category configures macOS using 85 scripts. These scripts are organized in 12 categories. The category includes 6 subscripts and 6 subcategories that include more scripts and categories.

Privacy over security

This category configures macOS using 14 scripts. These scripts are organized in 5 categories. The category includes 1 subscripts and 3 subcategories that include more scripts and categories.

Remove Siri from menu bar

This script configures macOS using Bash (Shell script).It can be restored. It runs "defaults write com.apple.systemuiserver...".

Remove Siri from status menu

This script configures macOS using Bash (Shell script).It can be restored. It runs "defaults write com.apple.Siri...".

Security improvements

This category configures macOS using 18 scripts. These scripts are organized in 6 categories. The category includes 1 subscripts and 5 subcategories that include more scripts and categories.