Schnell mal eine Festplatte löschen, shreddern oder wipen: openssl enc -aes-256-ctr -pass pass:"$(dd if=/dev/urandom bs=128 count=1 2>/dev/null | base64)" -nosalt
-
-
Some Nmap Commands
Turn on OS and version detection scanning script (IPv4) nmap -A 192.168.1.254 nmap -v -A 192.168.1.1 nmap -A -iL /tmp/scanlist.txt Find out if a host/network is protected by a firewall nmap -sA…
-
How to Clear DNS Cache in MacOS Sierra
Open the Terminal application, found in the Utilities folder within Applications Enter the following command syntax exactly (use copy and paste if in doubt about syntax accuracy): sudo killall -HUP mDNSResponder;say DNS…
-
CLI: General OpenSSL Commands
Generate a new private key and Certificate Signing Request openssl req -out CSR.csr -new -newkey rsa:2048 -nodes -keyout privateKey.key Remove a passphrase from a private key openssl rsa -in privateKey.pem -out newPrivateKey.pem
-
CLI: Converting Using OpenSSL
Convert a DER file (.crt, .cer, .der) to PEM openssl x509 -inform der -in certificate.cer -out certificate.pem Convert a PEM file to DER openssl x509 -outform der -in certificate.pem -out certificate.der Convert…
-
CLI: Live dmesg output in human readable format (colors, timing)
Live dmesg output in human readable format (colors, timing) dmesg -wH