This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"categories": [ | |
{ | |
"id": 1741824624073, | |
"name": "Discover", | |
"color": "b1653d" | |
} | |
], | |
"categoryOrder": null, | |
"notes": [ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -u | |
set -x # Print commands and their arguments as they are executed. | |
# find path to liblzma used by sshd | |
path="$(ldd $(which sshd) | grep liblzma | grep -o '/[^ ]*')" || echo "liblzma not found for sshd" | |
# If the path is empty, the script will now continue instead of exiting due to set -e being removed. | |
if [ "$path" == "" ] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<# | |
.SYNOPSIS | |
Create realistic-looking Active Directory accounts. | |
Written by Tyler Applebaum. | |
Version 0.2 | |
Last Updated Jun 17 2020 | |
.LINK | |
https://gist.github.com/tylerapplebaum/d692d9d2e1335b8b111927c8292c5dac | |
https://randomuser.me/ |