Various ramblings, mostly security
9.3.20
I’ve recently been playing with my dotfiles configuration in an attempt to have some cohesiveness between workstations, especially with Kali 2020.4 officially moving to zsh. In the process, I created a handfull of scripts and “features’ for my tmux status bar. Along the way, I discovered a handy script to display the colors that terminal supports, along with the color code, to make things look the exact way I want.
A post about the dotfiles journey and what I learned will come at a later time :) For now, here’s that color script.
#!/bin/zsh
# Simple loop to display text color and number values for tmux.conf
for i in {0..255}; do
printf "\x1b[38;5;${i}mcolour${i}\x1b[0m\n"
done
Sample output:

Have fun, and happy hacking!
9.2.20
I’ve consistently tried running VMs of Kali for various testing purposes or education, usually being satisfied to sticking to remote SSH connections for what I do. Having recently upgraded my UnRAID server, I decided it was a good opportunity to have a more persistent VM in that environment, rather than on multiple VirtualBox instances on multiple machines.
This time, wanting to focus on some Hack the Box challenges with friends, I decided that being able to have a remote GUI would be beneficial. Not being a fan of VNC, I prefer to use Remote Desktop (despite infrequently using Windows). However, this provides it’s own challenge, as RDP to Kali is rife with it’s own issues, ranging from no screens, to error screens, to black screens.
I’ve researched these issues multiple times, never finding a valid solution, so here’s how I was finally able to get it to work (until an update breaks it again :) )
Setup:
Host OS: UnRAID
Guest OS: Kali 2020.3
Workstation OS: macOS 10.15.6
sudo apt-get purge xserver-xorg-legacysudo apt-get purge xrdpsudo reboot nowsudo apt-get install xrdpsudo systemctl start xrdp
sudo systemctl enable xrdpIf you still have display issues, a number of other articles/forums/etc suggest changing the max_bpp value in xrdp.ini
sudo vim /etc/xrdp/xrdp.inimax_bpp=32 to max_bpp=16Happy hacking!
8.28.20
This is a newly started work in progress. Stay tuned for more!