To enable SSH debug, run the SSH command with the -v, -vv, or -vvv option: ssh -vvv user@host.com Link: https://www.ibm.com/support/pages/qradar-enable-debugging-mode-ssh-troubleshoot-connectivity-issues#:~:text=To%20enable%20SSH%20debug%2C%20run,forth%20communication%20between%20the%20hosts.
NAME dmesg – display the system message buffer SYNOPSIS dmesg [-M core] [-N system] DESCRIPTION Dmesg displays the contents of the system message buffer. This command needs to be run…
Some of these work with Mac, some Do not... please note some of these do not work on Mac Link: https://blog.devops.dev/linux-commands-cheatsheet-cac3c70845e2
Step 1: create SHA-256 hash value from the downloaded file: General Guidance shasum -a 256 /path/to/downloaded.pkg Specific Guidance check Firefox Browser 102.1.0esr Example: shasum -a 256 /Users/USERNAME_HERE/Downloads/Firefox\ 102.1.0esr.pkg Link to…
Search for something in a file grep something file Search for something in multiple files grep something file file1 file2 file 3 Search for something everywhere in the current directory…
NAME tcpdump - dump traffic on a network DESCRIPTION Tcpdump prints out a description of the contents of packets on a network interface that match the boolean expression; the description…
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…