$ tar -xvf vmName.ova
$ vi vmName.ovf
#!/bin/bash | |
#Setup | |
SQS_MAX_NUMBER_OF_MESSAGES=1 # Mensagens extraídas da fila por vez | |
SQS_WAIT_TIME_SECONDS=20 # Esperar quanto tempo por uma mensagem na fila | |
#Obtain queue URL | |
QUEUE_URL=$(aws sqs get-queue-url --queue-name "dreis-rampup-queue" --output text) | |
#Send message |
Setting up xrdp on Kali Linux 2016.2 on AWS | |
AWS has an AMI for Kali 2016.2, but being remote, you need VNC or RDP to access the graphical tools. | |
VNC is easy to set up but very restrictive. RDP is harder to set up, but easier to use. These are the instructions I use to set up xrdp. | |
I use this config so that I connect to the Kali VM through an Apache Guacamole RDP proxy. This keeps Kali behind the firewall and in my pentesting lab. Guacamole also allows me to access the Kali box on SSH or RDP via a web interface from anywhere and any device. | |
OS: Kali Linux 2016.2 | |
AMI: Updated 19 Oct 2016 |