NAME log -- Access system wide log messages created by os_log, os_trace and other logging systems. DESCRIPTION log is used to access system wide log messages created by os_log, os_trace…
check whether Firewall is started /usr/libexec/ApplicationFirewall/socketfilterfw --getglobalstate https://krypted.com/mac-security/command-line-firewall-management-in-os-x-10-10/
json feed of all apple related things. https://services.nvd.nist.gov/rest/json/cves/1.0?cpeMatchString=cpe:2.3:*:apple curl -s "https://services.nvd.nist.gov/rest/json/cves/1.0?cpeMatchString=cpe:2.3:*:apple" curl -s "https://services.nvd.nist.gov/rest/json/cves/1.0?cpeMatchString=cpe:2.3:*:apple:macOS:catalina" https://csrc.nist.gov/CSRC/media/Projects/National-Vulnerability-Database/documents/web%20service%20documentation/Automation%20Support%20for%20CVE%20Retrieval.pdf this is the documentation. of how to use their CVE feed hope this link works…
stat -f '%u %Su' /dev/console who NAME w – display who is logged in and what they are doing w SEE ALSO finger(1), ps(1), uptime(1), who(1) Link https://superuser.com/questions/180819/how-can-you-find-out-the-currently-logged-in-user-in-the-os-x-gui https://osxdaily.com/2014/03/25/see-users-who-connected-to-mac/