The intent is to define terse, standards-supported names for AWS regions.
This file contains 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
#/usr/bin/env bash | |
echo "####### UPDATING #######" | |
sudo apt-get update -yq | |
sudo apt-get upgrade -yq | |
sudo apt-get autoclean -yq | |
sudo apt-get autoremove -yq | |
echo "####### INSTALLING zsh curl wget bat #######" | |
sudo apt-get install -yq zsh curl wget bat |
This file contains 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
# Boot USB | |
DiskUtil -> View -> show all devices | |
Erize USB Drive -> Scheme GUID partition map + exFat | |
## Terminal | |
diskutil list | |
hdiutil convert -format UDRW -o ~/Yandex.Disk.localized/Downloads/kali-linux-lxde-2019-3-amd64-iso/kali-linux-lxde-2019.3-amd64 ~/Yandex.Disk.localized/Downloads/kali-linux-lxde-2019-3-amd64-iso/kali-linux-lxde-2019.3-amd64.iso | |
diskutil unmountDisk /dev/disk3 | |
sudo dd if=~/Yandex.Disk.localized/Downloads/kali-linux-lxde-2019-3-amd64-iso/kali-linux-lxde-2019.3-amd64.dmg of=/dev/disk3 bs=1m |
This file contains 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
Error in prod with running /lib/systemd/system/yeti_uwsgi.service | |
https://github.com/yeti-platform/yeti/issues/82 | |
In all /lib/systemd/system/yeti_* service files change "ExecStart=/usr/local/bin/celery" to "ExecStart=/sbin/celery" |
This file contains 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
*server* | |
useradd username | |
passwd username | |
su username | |
*host* | |
cat ~/.ssh/id_rsa.pub | ssh username@remote_host "mkdir -p ~/.ssh && touch ~/.ssh/authorized_keys && chmod -R go= ~/.ssh && cat >> ~/.ssh/authorized_keys" | |
*Disable Password Authentication on your Server* | |
sudo vi /etc/ssh/sshd_config | |
... |
This file contains 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
ImportError: No module named magic | |
sudo apt-get install python3-magic | |
import sys | |
sys.path.append('/opt/splunk/bin/scripts/TheHive4py/') | |
Windows needs | |
libmagic |
NewerOlder