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
Kategorie: CLI
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 192.168.1.254 Scan a host when protected by the firewall nmap -PN 192.168.1.1 Scan a network and find out which servers and devices are...
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 cache has been flushed Hit the Return/Enter key and enter the admin password when requested (this is necessary because of sudo privileges) Wait...
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 a PKCS#12 file (.pfx, .p12) containing a private key and certificates to PEM openssl pkcs12 -in keyStore.pfx -out keyStore.pem -nodes You can add...
CLI: Live dmesg output in human readable format (colors, timing)
Live dmesg output in human readable format (colors, timing) dmesg -wH