- esxi host
- dns or ip for both - esx and vcenter
- correct time settings (ntp automates this, can be enabled on the esx-host)
- use vcsa-cli installer (the iso contains vcsa-cli for win/lin/mac os)
- "skipManifestCheck": "true" because of reasons (the installer repeatedly failed to verify integrity hashes of the created vm)
- "os.password" and "sso.password" HAVE to pass vmware's pw rules PLUS their dictionary! (verification will pass with a pw in their dictionary but setup will not be able to complete! - we stumbled across this by pure chance after trying for 2 whole days!)
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
location /api { | |
# enable SNI | |
proxy_ssl_server_name on; | |
# you MUST set the host header seperately for SNI to work | |
proxy_set_header Host my-api.example.com; | |
# proxy requests to upstream server | |
proxy_pass https://my-api.example.com; | |
} |
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
# create a user service for our ssh-agent | |
mkdir -p .config/systemd/user/ | |
cat > .config/systemd/user/ssh-agent.service <<EOF | |
[Unit] | |
Description=SSH key agent | |
[Service] | |
Type=simple | |
Environment=SSH_AUTH_SOCK=%t/ssh-agent.socket | |
ExecStart=/usr/bin/ssh-agent -D -a $SSH_AUTH_SOCK |
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
#!/bin/bash | |
set -e | |
SCREENSHOT_PATH="~/Pictures/Screenshots" | |
printf "save screenshots in $SCREENSHOT_PATH\n" | |
mkdir $SCREENSHOT_PATH && cd $SCREENSHOT_PATH && defaults write com.apple.screencapture location $(pwd) | |
printf "install homebrew!\n" | |
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" |
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
#!/bin/sh | |
cd $(mktemp -d) && \ | |
wget http://download.redis.io/redis-stable.tar.gz && \ | |
tar -xvzf redis-stable.tar.gz && \ | |
cd redis-stable && \ | |
make && \ | |
sudo cp src/redis-cli /usr/local/bin |
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
TARBALL=caddy.tar.gz | |
TARGET=/opt/caddy | |
echo "downloading caddy" | |
wget -O $TARBALL "https://caddyserver.com/download/linux/amd64?plugins=http.cors,http.expires,http.filter,http.ipfilter,http.minify,http.ratelimit" | |
echo "creating target directory" | |
sudo mkdir -p $TARGET | |
echo "extracting caddy" |
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
/* | |
PoC WhatsApp enumeration of phonenumbers, profile pics, about texts and online statuses | |
Floated div edition | |
01-05-2017 | |
(c) 2017 - Loran Kloeze - [email protected] | |
This script creates a UI on top of the WhatsApp Web interface. It enumerates certain kinds | |
of information from a range of phonenumbers. It doesn't matter if these numbers are part | |
of your contact list. At the end a table is displayed containing phonenumbers, profile pics, | |
about texts and online statuses. The online statuses are being updated every |
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
# Configuration file for runtime kernel parameters. | |
# See sysctl.conf(5) for more information. | |
# See also http://www.nateware.com/linux-network-tuning-for-2013.html for | |
# an explanation about some of these parameters, and instructions for | |
# a few other tweaks outside this file. | |
# Protection from SYN flood attack. | |
net.ipv4.tcp_syncookies = 1 |