michael@slashetc:~$

  • Check if your desired password is already available in haveibeenpwnd database.

    $ function hibp() { sha1=$(echo -n "$1"|sha1sum|awk '{print toupper($0)}'|tr -d 'n'); curl -s -H $'Referer: https://haveibeenpwned.com/' https://api.pwnedpasswords.com/range/$(echo -n $sha1|cut -c1-5)|grep -i $(echo -n $sha1|cut -c6-40); }</p> View this command to comment, vote or add to favourites View all commands by zmonkey Diff your entire server config at ScriptRock.com </div> Read...

  • Process command output line by line in a while loop

    $ while read -r line; do echo $line; done < <(YOUR COMMAND HERE);</p> This snippet allows to process the output of any bash command line by line. View this command to comment, vote or add to favourites View all commands by paulera Diff your entire server config at ScriptRock.com </div>...

  • 5 Tools to Scan a Linux Server for Malware and Rootkits

    There are constant level of high attacks and port scans on Linux servers all the time, while a properly configured firewall and regular security system updates adds a extra layer to keep the system... [[ This is a content summary only. Visit my website for full links, other content, and...